public function request($url, $method = 'GET', $options = []): ResponseInterface
{
$method = strtoupper($method);
$options = array_merge(self::$defaults, $options, ['handler' => $this->getHandlerStack()]);
$options = $this->fixJsonIssue($options);
if (property_exists($this, 'baseUri') && !is_null($this->baseUri)) {
$options['base_uri'] = $this->baseUri;
}
$response = $this->getHttpClient()->request($method, $url, $options);
$response->getBody()->rewind();
print_r($response->getBody()->getContents());//我加这一行就打印出来86069,否则就是85301
return $response;
}
我正常报错返回的是no domain to modify after filtered, please confirm the domain has been set in miniprogram or open, and follows the rule of domains
在请求获取rid的时候 怎么提示是这个呢
{"errcode":86069,"errmsg":"owner_setting必填字段字段缺失 rid: 6705f121-60a13778-26d24fd1"}
你好,报错{"errcode":86069,"errmsg":"owner_setting必填字段字段缺失 rid: 6705f121-60a13778-26d24fd1"}------------非设置业务域名接口,实际调用的是 /cgi-bin/component/setprivacysetting 设置小程序用户隐私保护指引接口,请求包
联系方式至少选择1种
Array
(
[action] => set
[requestdomain] => Array
(
[0] => https://card.itv6.cn
)
[wsrequestdomain] => Array
(
)
[uploaddomain] => Array
(
[0] => https://card.itv6.cn
)
[downloaddomain] => Array
(
[0] => https://card.itv6.cn
[1] => https://vipcdar.oss-cn-guangzhou.aliyuncs.com
)
[udpdomain] => Array
(
)
[tcpdomain] => Array
(
)
)
请求wxa/modify_domain
回提示报错
{"errcode":85301,"errmsg":"no domain to modify after filtered, please confirm the domain has been set in miniprogram or open, and follows the rule of domains","requestdomain":[],"wsrequestdomain":[],"uploaddomain":[],"downloaddomain":[],"udpdomain":[],"tcpdomain":[],"invalid_requestdomain":["https:\/\/card.itv6.cn"],"invalid_wsrequestdomain":[],"invalid_uploaddomain":["https:\/\/card.itv6.cn"],"invalid_downloaddomain":["https:\/\/card.itv6.cn","https:\/\/vipcdar.oss-cn-guangzhou.aliyuncs.com"],"invalid_udpdomain":[],"invalid_tcpdomain":[],"no_icp_domain":[]}