wupengfei 2 jaren geleden
bovenliggende
commit
596ce159ab
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      .idea/workspace.xml
  2. 1 1
      application/api/controller/Base.php

+ 1 - 1
.idea/workspace.xml

@@ -218,7 +218,7 @@
       <workItem from="1673399011843" duration="19253000" />
       <workItem from="1673485061294" duration="18259000" />
       <workItem from="1673571454158" duration="9346000" />
-      <workItem from="1674867530758" duration="20792000" />
+      <workItem from="1674867530758" duration="20866000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/api/controller/Base.php

@@ -52,7 +52,7 @@ class Base extends Controller
         if(!empty($this->need_login) && in_array(end($path),$this->need_login)) $this->checkLogin();
         //if($this->user_id == 97) $this->user_id = 83;
         // 钩子注册
-        $tags = config('tags.tags');
+        $tags = config('tags.');
         if(!empty($tags)) {
             foreach ($tags as $tag => $behavior) {
                 // 数组反转 保证最上面的行为优先级最高