王大坤 1 년 전
부모
커밋
76d1142744
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      app/libs/wechat/auth/Gateways/General.php

+ 3 - 3
app/libs/wechat/auth/Gateways/General.php

xqd
@@ -177,9 +177,9 @@ class General extends Base
                 $token = Db::table('configs')->where('c_key',$key)->where('c_expired',' > ',time())->value('c_value');
                 break;
         }
-        if ($token) {
-            return $token;
-        }
+//        if ($token) {
+//            return $token;
+//        }
 
         $url = 'https://api.weixin.qq.com/cgi-bin/token';
         $res = Curl::requestCurl($url, 'GET', [], http_build_query([