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