소스 검색

会员升级

Kirin 1 년 전
부모
커밋
91c7cffbed
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/controller/supplier/AuthController.php

+ 1 - 0
app/controller/supplier/AuthController.php

@@ -51,6 +51,7 @@ class AuthController extends BaseController
         $this->supplierId = $this->request->hasMacro('supplierId') ? $this->request->supplierId() : 0;
         $this->supplierInfo = $this->request->hasMacro('supplierInfo') ? $this->request->supplierInfo() : [];
         $this->auth = $this->supplierInfo['rule'] ?? [];
+        var_dump($this->supplierInfo);
         if ($this->supplierId && !$this->supplierInfo['status'] || !$this->supplierInfo['is_show']) {
             throw new AdminException('您已被禁止登录!');
         }