瀏覽代碼

wesmiler 抢表商城

APPLE 3 年之前
父節點
當前提交
766488a348
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      app/Services/Common/MemberService.php

+ 6 - 0
app/Services/Common/MemberService.php

@@ -226,6 +226,12 @@ class MemberService extends BaseService
             return false;
             return false;
         }
         }
 
 
+        $loginShopId = isset($info['login_shop_id'])? $info['login_shop_id'] : 0;
+        if($loginShopId && $loginShopId != $shopId){
+            $this->error = 2022;
+            return false;
+        }
+
         // 密码校验
         // 密码校验
         $password = get_password($password);
         $password = get_password($password);
         if ($password != $info['password']) {
         if ($password != $info['password']) {