|
|
@ -229,6 +229,8 @@ class Server |
|
|
|
$url = 'https://api.weixin.qq.com/wxa/commit?access_token=' . $access_token; |
|
|
|
$url = 'https://api.weixin.qq.com/wxa/commit?access_token=' . $access_token; |
|
|
|
$result = $this->curlPost($url, json_encode($data)); |
|
|
|
$result = $this->curlPost($url, json_encode($data)); |
|
|
|
$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') { |
|
|
|
//体验码 |
|
|
|
//体验码 |
|
|
|
$qr_code = $this->getQrcode($appid); |
|
|
|
$qr_code = $this->getQrcode($appid); |
|
|
|