works的app

This commit is contained in:
shineahead
2022-05-05 22:00:31 +08:00
parent dd14308c35
commit c5874e8f6a
8 changed files with 90 additions and 80 deletions
+5
View File
@@ -5,5 +5,10 @@ def get_error_msg(code="20000"):
"50403": "Forbidden",
"40000": "请求方法错误",
"40001": "JSON解析错误",
"40002": "非法字符",
"40003": "弹幕过长",
"40004": "输入不能为空",
"40005": "返回评论数为0",
"40006": "",
}
return error_set.get(str(code))