请求方式: POST(请使用https协议)
https://api.weixin.qq.com/wxa/modify_domain?access_token=TOKEN
例子1
原始数据:
{
"requestdomain":[],
"wsrequestdomain":[],
"uploaddomain":[],
"downloaddomain":[],
}
改动后的数据:
{
"requestdomain":["https://www.qq.com","https://www.qq.com"],
"wsrequestdomain":["wss://www.qq.com","wss://www.qq.com"],
"uploaddomain":["https://www.qq.com","https://www.qq.com"],
"downloaddomain":["https://www.qq.com","https://www.qq.com"],
}
例子2
原始数据:
{
"requestdomain":["https://www.qq.com","https://www.qq.com"],
"wsrequestdomain":["https://www.qq.com","https://www.qq.com"],
"uploaddomain":["https://www.qq.com","https://www.qq.com"],
"downloaddomain":["https://www.qq.com","https://www.qq.com"],
}
改动后的数据:
{
"requestdomain":["https://www.qq.com","https://www.qq.com"],
"wsrequestdomain":["wss://www.qq.com","wss://www.qq.com"],
"uploaddomain":["https://www.qq.com","https://www.qq.com"],
"downloaddomain":["https://www.qq.com","https://www.qq.com","https://www.qq.com"],
}
请问这两个例子中action分别传递什么数据过去呢?有知道的帮忙解答一下,谢谢~
文档中有说明的:
文档地址:https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1489138143_WPbOO&token=&lang=zh_CN
看过官网文档,就是有些疑惑,例如,我同时删一个uploaddomain地址和添加一个downloaddomain地址,这种场景的话,action需要填写什么值?和对应的uploaddomain和downloaddomain需要传入 全部参数 还是只需药 修改的参数?