feat: management && notify
This commit is contained in:
@@ -35,10 +35,11 @@ func GetHttpClient(key string) (*http.Client, error) {
|
||||
}
|
||||
|
||||
const (
|
||||
CHINA_NCOV_STATISTIC_URL = "https://api.inews.qq.com/newsqa/v1/query/inner/publish/modules/list?modules=statisGradeCityDetail,diseaseh5Shelf"
|
||||
ENV_NOLOG = "nolog"
|
||||
TOKEN_EXPIRE_DAYS = 15
|
||||
FACKER_HOST = "http://myhost.fallen-angle.com:5000/"
|
||||
CHINA_NCOV_STATISTIC_URL = "https://api.inews.qq.com/newsqa/v1/query/inner/publish/modules/list?modules=statisGradeCityDetail,diseaseh5Shelf"
|
||||
CHINA_NCOV_STATISTIC_TREND_URL = "https://api.inews.qq.com/newsqa/v1/query/inner/publish/modules/list?modules=chinaDayList,chinaDayAddList"
|
||||
ENV_NOLOG = "nolog"
|
||||
TOKEN_EXPIRE_DAYS = 15
|
||||
FACKER_HOST = "http://myhost.fallen-angle.com:5000/"
|
||||
|
||||
REGISTER_REDIS_KEY = "register_key"
|
||||
CHANGEPWD_REDIS_KEY = "changepwd_key"
|
||||
@@ -57,4 +58,22 @@ var (
|
||||
"WORKER": 8,
|
||||
"ADMIN": 12,
|
||||
}
|
||||
HEALTH_SITUATION_ID_MAP = map[string]int{
|
||||
"OTHER": 0,
|
||||
"PATIENT": 1,
|
||||
"CONTACT": 2,
|
||||
"SUB_CONTACT": 3,
|
||||
}
|
||||
MEASURE_SITUATION_ID_MAP = map[string]int{
|
||||
"NO_MEASURE": 0,
|
||||
"NO_RISK": 1,
|
||||
"TREATING": 2,
|
||||
"CENTRALIZED": 3,
|
||||
"HOME": 4,
|
||||
}
|
||||
PCR_RESULT_ID_MAP = map[string]int{
|
||||
"NONE": 0,
|
||||
"NEGATIVE": 1,
|
||||
"POSITIVE": 2,
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user