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