Explorar el Código

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

LD hace 5 años
padre
commit
f746513c8e

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

@@ -20,6 +20,7 @@ class PackageController extends WeightBaseController
 
     public function new_(Request $request)
     {
+        app('LogService')->log(__METHOD__, $this->name, "记录上传日志:" . json_encode($request->all()) , null);
         return $this->new($request);
     }
 

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

@@ -30,9 +30,10 @@ class WeightBaseController
 
     public function new(Request $request)
     {
-        app('LogService')->log(__METHOD__, $this->name, "记录上传日志:" . json_encode($request->all()) . '||' , null);
+//        app('LogService')->log(__METHOD__, $this->name, "记录上传日志:" . json_encode($request->all()) . '||' , null);
         $errors = $this->validator($request);
         if(count($errors)){
+            app('LogService')->log(__METHOD__, $this->name, "上传校验Error:" . json_encode($request->all()) , null);
             return $this->validatorErrors($errors);
         }
         return $this->weightOrderPackage($request);