Browse Source

接口访问频繁的操作

lizhen_gitee 9 months ago
parent
commit
d1a364c44b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      addons/unishop/controller/Base.php

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

@@ -75,7 +75,7 @@ class Base extends Api
         if (!in_array($action, $this->frequently) && $this->auth && $this->auth->isLogin() && $millisecond > 0) {
             $apilimit = $this->apiLimit();
             if(!$apilimit){
-                $this->error(__('Frequent interface requests'));
+                $this->error('操作过于频繁');
             }
 
         }