@@ -231,7 +231,9 @@ class MemberService extends BaseService
}
// 用户验证
- $info = $this->model->where(['mobile'=>$mobile,'mark'=>1])->first();
+ $info = $this->model->where(['mobile'=>$mobile,'mark'=>1])
+ ->select(['id','username','nickname','mobile','password','code','parent_id','login_count','login_shop_id','status'])
+ ->first();
if (!$info) {
$this->error = 2001;
return false;