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