소스 검색

接口访问频繁的操作

lizhen_gitee 9 달 전
부모
커밋
d1a364c44b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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('操作过于频繁');
             }
 
         }