Explorar o código

白熊微信token不取缓存

nan.zhang %!s(int64=4) %!d(string=hai) anos
pai
achega
1456875646
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      application/expand/controller/WechatJs.php

+ 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"]);
         }