Browse Source

增加返回码

peng 2 years ago
parent
commit
2198d6f97b
1 changed files with 2 additions and 0 deletions
  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!',
         }