فهرست منبع

优化序列号解绑uid程序-响应数据

locky 3 سال پیش
والد
کامیت
a0bd82566c
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      Object/uidManageResponseObject.py

+ 4 - 0
Object/uidManageResponseObject.py

@@ -50,12 +50,14 @@ class uidManageResponseObject(object):
             376: 'uid数据有误',
             377: 'uid已使用',
             378: '更新序列号状态失败',
+            379: '序列号不存在',
             404: '没有访问权限!',
             444: '请确认参数的正确性!',
             1112: '您输入的两次密码不一致!',
             208: '只能预定当天的或者以后的!',
             10041: '已超出序列号剩余可绑定数',
             10042: '序列号已被占用',
+            10043: '无法解绑,序列号的状态为被占用',
         }
         data_en = {
             0: 'Success',
@@ -99,11 +101,13 @@ class uidManageResponseObject(object):
             376: 'wrong uid data',
             377: 'uid used',
             378: 'Failed to update serial number status',
+            379: 'Serial number does not exist',
             404: 'You don not have permission to access this!',
             444: 'Please confirm the correctness of the parameters!',
             1112: 'The two passwords you entered do not match!',
             10041: 'The remaining number of serial numbers that can be bound has exceeded',
             10042: 'Serial number is already occupied',
+            10043: 'Unable to unbind, the status of the serial number is occupied',
         }
 
         if self.lang == 'cn':