瀏覽代碼

unishop,允许频繁访问

lizhen_gitee 11 月之前
父節點
當前提交
fe259482e9
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      addons/unishop/controller/Address.php
  2. 1 1
      addons/unishop/controller/Order.php

+ 1 - 1
addons/unishop/controller/Address.php

@@ -25,7 +25,7 @@ class Address extends Base
      * 允许频繁访问的接口
      * @var array
      */
-    protected $frequently = ['area'];
+    protected $frequently = ['area','all','info'];
 
     /**
      * @ApiTitle    (全部收货地址)

+ 1 - 1
addons/unishop/controller/Order.php

@@ -34,7 +34,7 @@ class Order extends Base
      * 允许频繁访问的接口
      * @var array
      */
-    protected $frequently = ['getorders'];
+    protected $frequently = ['getorders','getOrders','detail'];
 
     protected $noNeedLogin = ['count'];