Просмотр исходного кода

Merge branch 'zengjun' of ssh://was.baoshi56.com:10022/var/git/bswas

LD 5 лет назад
Родитель
Сommit
95ac0bd7c2

+ 1 - 0
app/Http/Controllers/api/thirdPart/hengli/PackageController.php

@@ -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);
     }
 

+ 2 - 0
app/Http/Controllers/api/thirdPart/weight/WeightBaseController.php

@@ -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);

+ 1 - 1
tests/webApi/thirdPart/hengli/PackageController.http

@@ -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}
 ###