浏览代码

wesmiler 抢表商城

APPLE 3 年之前
父节点
当前提交
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) {
         if (!$info) {
             $this->error = 2001;
             $this->error = 2001;
             return false;
             return false;