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

修改 WeightBaseController 日志记录

ajun 5 лет назад
Родитель
Сommit
b31bc6e964

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

@@ -29,7 +29,7 @@ class WeightBaseController
 
     public function new(Request $request)
     {
-        app('LogService')->log(__METHOD__, $this->name, "记录上传日志:" . json_encode($request->getContent()) . '||' , null);
+        app('LogService')->log(__METHOD__, $this->name, "记录上传日志:" . json_encode($request->all()) . '||' , null);
         $errors = $this->validator($request);
         if(count($errors)){
             return $this->validatorErrors($errors);