作者 郭盛
1 个管道 的构建 通过 耗费 1 秒

调试

@@ -52,7 +52,7 @@ class User extends Api @@ -52,7 +52,7 @@ class User extends Api
52 $raw_data = $this->request->post(); 52 $raw_data = $this->request->post();
53 //验证表数据 53 //验证表数据
54 $rule = config('verify.user'); 54 $rule = config('verify.user');
55 - $validate = new Validate($rule['rule'],$rule['msg']); 55 + $validate = new Validate($rule['rule'],$rule['msg']);//
56 if (!$validate->check($raw_data)) { 56 if (!$validate->check($raw_data)) {
57 $this->error($validate->getError()); 57 $this->error($validate->getError());
58 } 58 }