mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-04 21:47:28 +08:00
+ new character + new byd map + new items + some new configs + two new operations in background + record email while registering + record ip while logging in + checking something before running and updating database automatically building something about API fix bugs: about purchasing system about hiding ptt about login different accounts with same device about some details This is only a pre updating. Many things have been changed. It takes time to find some ways.
16 lines
413 B
Python
16 lines
413 B
Python
def code_get_msg(code):
|
||
# api接口code获取msg,返回字符串
|
||
msg = {
|
||
'0': '',
|
||
'-1': 'See status code',
|
||
'-2': 'No data',
|
||
'-3': 'No data or user',
|
||
'-4': 'No user_id',
|
||
'-101': 'Wrong data type',
|
||
'-102': 'Wrong query parameter',
|
||
'-103': 'Wrong sort parameter',
|
||
'-104': 'Wrong sort order parameter'
|
||
}
|
||
|
||
return msg[str(code)]
|