Create const.py

This commit is contained in:
qiaofeng1227 2023-03-06 07:11:27 +08:00 committed by GitHub
parent 1d5bdd3dc7
commit d7ba4098e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,20 @@
# 所有常量统一定义区
# 接口返回值定义
# 成功
RETURN_SUCCESS = 0
# 失败
RETURN_FAIL = -1
# 应用状态定义
# 应用正在启动
RETURN_RUNNING = 0
# 应用正在运行中
RETURN_RUNNING = 1
# 应用已经停止
RETURN_STOP = 2
# 应用错误或不存在
RETURN_STOP = -1