Parcourir la source

白熊微信token不取缓存

nan.zhang il y a 4 ans
Parent
commit
1456875646
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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"]);
         }