APPLE 3 лет назад
Родитель
Сommit
9a55933864
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      app/Services/Common/MemberService.php

+ 3 - 1
app/Services/Common/MemberService.php

@@ -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;