Skip to content

Commit 7df9674

Browse files
authored
Merge pull request #114 from TTWShell/fix/response-message
fix default message of 200/400
2 parents 1c46e3e + 07c29fc commit 7df9674

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hobbit_core/response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
from werkzeug import Response
66

77
RESP_MSGS = {
8+
200: 'ok',
9+
400: 'failed',
810
401: '未登录',
911
403: '未授权',
1012
404: '不正确的链接地址',

0 commit comments

Comments
 (0)