瀏覽代碼

修改状态码

locky 4 年之前
父節點
當前提交
89a0b9fca1
共有 1 個文件被更改,包括 5 次插入15 次删除
  1. 5 15
      Object/ResponseObject.py

+ 5 - 15
Object/ResponseObject.py

@@ -82,11 +82,6 @@ class ResponseObject(object):
             10012: 'Experience packages cannot be transferred',
             10013: 'Original equipment package has expired and cannot be transferred',
             10014: 'Accept transfer of equipment packages that have not expired and cannot be transferred',
-            10030: 'No purchase of cloud storage',
-            10031: 'The cloud storage has expired',
-            10032: 'The switched cloud storage package ID cannot be the same as the one in use',
-            10033: 'The primary user of the device cannot purchase it',
-            10034: 'Non device primary users cannot view cloud storage',
         }
         data_cn = {
             0: '成功',
@@ -159,16 +154,11 @@ class ResponseObject(object):
             10008: '用户没有此设备,无法转移',
             10009: '用户已拥有此设备,无法转移',
             10010: '不是同一账户下的设备,无法转移',
-            10011: '原设备正在正常使用云存储服务,无法转移',
-            # 10012: '接受转移设备未开通过云存储服务,无法转移',
-            10013: '接受转移设备套餐未过期,无法转移',
-            10014: '体验套餐无法转移',
-            10015: '原设备套餐已过期,无法转移',
-            10030: '未购买云存',
-            10031: '云存已过期',
-            10032: '切换的云存套餐ID不能与正在使用中的相同',
-            10033: '非设备主用户无法购买',
-            10034: '非设备主用户无法查看云存',
+            10011: '接受转移设备不存在,无法转移',
+            10012: '体验套餐无法转移',
+            10013: '原设备套餐已过期,无法转移',
+            10014: '接受转移设备套餐未过期,无法转移' ,
+
         }
         if self.lang == 'cn':
             msg = data_cn