فهرست منبع

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'];