@@ -21,6 +21,7 @@ class PackageController extends WeightBaseController
public function new_(Request $request)
{
+ app('LogService')->log(__METHOD__, $this->name, "上传信息:". json_encode($request->getContent()));
return $this->new($request);
}
@@ -29,6 +29,8 @@ class WeightBaseController
public function new(Request $request)
+ app('LogService')->log(__METHOD__, 'WeightBaseController', "记录上传日志:" . json_encode($request->getContent()) . '||' , null);
+
$errors = $this->validator($request);
if(count($errors)){
return $this->validatorErrors($errors);
@@ -8,7 +8,7 @@
GET http://bswas/api/thirdPart/hengli/weight/new
Content-Type: application/json
-{"hengli0012,75451542409790,0_12,2021\/04\/01_10:29:17":null}
+{"hengli0012,75453499307751,0_12,2021\/04\/01_10:29:17":null}
###