Prechádzať zdrojové kódy

白熊微信token不取缓存

nan.zhang 4 rokov pred
rodič
commit
1456875646

+ 1 - 1
application/expand/controller/WechatJs.php

@@ -61,7 +61,7 @@ class WechatJs extends BaseAuth
     public function getToken(){
 
         $cacheToken = Cache::get('access_token_'.$this->_apiCode);
-        if(!empty($cacheToken)){
+        if(!empty($cacheToken) && $this->_apiCode!="43F7299CE14DBF34879F080126666GF9"){//白熊
             HelperService::returnJson(['code'=>200,'msg'=>'cache','data'=>"$cacheToken"]);
         }