修复扩展状态码异常处理问题、添加了查询短信发送记录、空间和域名操作 相关方法 #379
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1、修复http.py 文件中 ResponseInfo 对象对 扩展码错误处理问题,主要用于兼容dora侧text信息中没有error字段的问题
示例:dora侧response中的text内容为
{"similarity": 24.813754610801773, "errorcode": 0, "errormsg": "OK", "session_id": "20200401083910JsougkqMNw"}
2、sms.py 文件中添加了查询短信发送记录方法:get_messages_info
3、bucket.py 文件中添加了 批量解冻 build_batch_restoreAr 方法、获取空间列表 bucket_domain 方法 和 修改空间访问权限 change_bucket_permission 方法
4、manager.py 文件中添加了 上线域名 domain_online 方法、下线域名 domain_offline 方法 和 删除域名 delete_domain 方法