Kirin hace 1 año
padre
commit
91c7cffbed
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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('您已被禁止登录!');
         }