Ver Fonte

增加返回码

peng há 2 anos atrás
pai
commit
2198d6f97b
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      Object/ResponseObject.py

+ 2 - 0
Object/ResponseObject.py

@@ -50,6 +50,7 @@ class ResponseObject(object):
             309: '你没有权限访问',
             404: 'You don not have permission to access this!',
             444: '请确认参数的正确性!',
+            500: '内部错误!',
             1112: '您输入的两次密码不一致!',
             208: '只能预定当天的或者以后的!',
         }
@@ -92,6 +93,7 @@ class ResponseObject(object):
             309: 'You have no access',
             404: 'You don not have permission to access this!',
             444: 'Please confirm the correctness of the parameters!',
+            500: 'Internal error!',
             1112: 'The two passwords you entered do not match!',
         }