浏览代码

请求频繁

lizhen_gitee 6 月之前
父节点
当前提交
76939b76eb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      addons/unishop/controller/Order.php

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

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