|
|
@ -227,8 +227,6 @@ class Server |
|
|
|
$url = 'https://api.weixin.qq.com/wxa/getversioninfo?access_token=' . $access_token; |
|
|
|
$url = 'https://api.weixin.qq.com/wxa/getversioninfo?access_token=' . $access_token; |
|
|
|
$result = $this->curlPost($url, '{}'); |
|
|
|
$result = $this->curlPost($url, '{}'); |
|
|
|
$result = json_decode($result, true); |
|
|
|
$result = json_decode($result, true); |
|
|
|
dump($result); |
|
|
|
|
|
|
|
exit(); |
|
|
|
|
|
|
|
if ($result && !empty($result['errmsg']) && $result['errmsg'] == 'ok') { |
|
|
|
if ($result && !empty($result['errmsg']) && $result['errmsg'] == 'ok') { |
|
|
|
$up = []; |
|
|
|
$up = []; |
|
|
|
if (!empty($result['exp_info'])) { |
|
|
|
if (!empty($result['exp_info'])) { |
|
|
|