wang hou sheng 8 months ago
parent c7f03676c7
commit 23ff3139d6
  1. 6
      app/common/library/wxserver/Server.php

@ -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;

Loading…
Cancel
Save