|
|
@ -475,11 +475,11 @@ class Server |
|
|
|
$url = "https://api.weixin.qq.com/wxa/modify_domain_directly?access_token=$token"; |
|
|
|
$url = "https://api.weixin.qq.com/wxa/modify_domain_directly?access_token=$token"; |
|
|
|
$data['action'] = 'set'; |
|
|
|
$data['action'] = 'set'; |
|
|
|
$data['requestdomain'] = $domain; |
|
|
|
$data['requestdomain'] = $domain; |
|
|
|
$data['wsrequestdomain'] = 'ws://www.royaum.com.cn'; |
|
|
|
// $data['wsrequestdomain'] = ''; |
|
|
|
$data['uploaddomain'] = $domain; |
|
|
|
$data['uploaddomain'] = $domain; |
|
|
|
$data['downloaddomain'] = $domain; |
|
|
|
$data['downloaddomain'] = $domain; |
|
|
|
$data['udpdomain'] = 'udp://www.royaum.com.cn'; |
|
|
|
// $data['udpdomain'] = ''; |
|
|
|
$data['tcpdomain'] = 'tcp://www.royaum.com.cn'; |
|
|
|
// $data['tcpdomain'] = ''; |
|
|
|
$result = $this->curlPost($url, json_encode($data)); |
|
|
|
$result = $this->curlPost($url, json_encode($data)); |
|
|
|
$result = json_decode($result, true); |
|
|
|
$result = json_decode($result, true); |
|
|
|
return $result; |
|
|
|
return $result; |
|
|
|