-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
修复扩展状态码异常处理问题、添加了查询短信发送记录、空间和域名操作 相关方法 #379
Conversation
Codecov Report
@@ Coverage Diff @@
## master #379 +/- ##
==========================================
- Coverage 66.58% 66.16% -0.43%
==========================================
Files 20 20
Lines 1691 1720 +29
==========================================
+ Hits 1126 1138 +12
- Misses 565 582 +17
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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 方法