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";
$data['action'] = 'set';
$data['requestdomain'] = $domain;
$data['wsrequestdomain'] = 'ws://www.royaum.com.cn';
// $data['wsrequestdomain'] = '';
$data['uploaddomain'] = $domain;
$data['downloaddomain'] = $domain;
$data['udpdomain'] = 'udp://www.royaum.com.cn';
$data['tcpdomain'] = 'tcp://www.royaum.com.cn';
// $data['udpdomain'] = '';
// $data['tcpdomain'] = '';
$result = $this->curlPost($url, json_encode($data));
$result = json_decode($result, true);
return $result;

Loading…
Cancel
Save