def modify_domain(self, action, request_domain=(), wsrequest_domain=(), upload_domain=(), download_domain=()):
return self._post(<EOL>'<STR_LIT>',<EOL>data={<EOL>'<STR_LIT:action>': action,<EOL>'<STR_LIT>': request_domain,<EOL>'<STR_LIT>': wsrequest_domain,<EOL>'<STR_LIT>': upload_domain,<EOL>'<STR_LIT>': download_domain,<EOL>}<EOL>)<EOL>
修改小程序服务器授权域名
详情请参考
https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&id=open1489138143_WPbOO

:param action: 增删改查的操作类型，仅支持 'add', 'delete', 'set', 'get'
:param request_domain: request 合法域名
:param wsrequest_domain: socket 合法域名
:param upload_domain: upload file 合法域名
:param download_domain: download file 合法域名