diff --git a/app/api/controller/User.php b/app/api/controller/User.php index 1b86e5b..513804a 100644 --- a/app/api/controller/User.php +++ b/app/api/controller/User.php @@ -494,10 +494,10 @@ class User extends BaseController }else{ $data['pwd'] = '密码已改'; } + $this->apiSuccess('获取成功',$data); }else{ $this->apiError('没有后台权限','没有后台权限'); } - $this->apiSuccess('获取成功',$data); }