...
|
...
|
@@ -110,7 +110,7 @@ class UserneedController extends CommonController |
|
|
// 判空,处理
|
|
|
$validate = Loader::validate('UserNeed');
|
|
|
if(!$validate->check($_POST)){
|
|
|
return json(array('code'=>0,'msg'=>$validate->getError()));
|
|
|
return json(array('code'=>0,'message'=>$validate->getError()));
|
|
|
}
|
|
|
// 加数据库
|
|
|
$data = $request->Post();
|
...
|
...
|
|