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