Przeglądaj źródła

wesmiler 抢表商城

APPLE 3 lat temu
rodzic
commit
9a55933864
1 zmienionych plików z 3 dodań i 1 usunięć
  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;