|
@@ -21,6 +21,7 @@ class ResponseObject(object):
|
|
|
15: 'Device has been bound',
|
|
|
16: 'WeChat has been bound, please log in and unbind using WeChat',
|
|
|
17: 'No email or mobile phone login',
|
|
|
+ 18: 'User not logged in',
|
|
|
44: 'System error! Can not send email',
|
|
|
48: 'System object error!',
|
|
|
89: 'Already send the code, please check it or get it again after 10m',
|
|
@@ -119,7 +120,9 @@ class ResponseObject(object):
|
|
|
10055: 'The AI does not recognize any labels',
|
|
|
10056: 'The device has enabled automatic renewal of cloud storage package and cannot be transferred for the time being',
|
|
|
10057: "Can't delete",
|
|
|
- 10058: 'Default family cannot be deleted'
|
|
|
+ 10058: 'Default family cannot be deleted',
|
|
|
+ 10059: 'Order deactivation failure',
|
|
|
+ 10060: 'This device has purchased foreign cloud storage package, so it cannot buy domestic cloud storage package',
|
|
|
}
|
|
|
data_cn = {
|
|
|
0: '成功',
|
|
@@ -131,6 +134,7 @@ class ResponseObject(object):
|
|
|
15: '设备已被绑定',
|
|
|
16: '微信已被绑定,请使用微信登录并解绑',
|
|
|
17: '未绑定邮箱或者手机登录方式',
|
|
|
+ 18: '用户未登录',
|
|
|
44: '系统错误!无法发送电子邮件',
|
|
|
48: '系统对象错误',
|
|
|
89: '已发验证码,请检测或10分钟后重新获取。',
|
|
@@ -229,7 +233,9 @@ class ResponseObject(object):
|
|
|
10055: 'AI没有识别到任何标签',
|
|
|
10056: '该设备已开通云存套餐自动续费,暂时无法转移',
|
|
|
10057: '不能删除',
|
|
|
- 10058: '默认家庭不能删除'
|
|
|
+ 10058: '默认家庭不能删除',
|
|
|
+ 10059: '订单停用失败',
|
|
|
+ 10060: '此设备已购买过国外云存套餐,无法购买国内云存套餐',
|
|
|
}
|
|
|
|
|
|
msg = data_cn if self.lang == 'cn' or self.lang == 'zh-Hans' or self.lang == 'zh-Hant' else data_en
|