feat:完善信息

This commit is contained in:
henry
2021-10-13 14:35:24 +08:00
parent 21dc62ba8e
commit 8866b83cfb
16 changed files with 4728 additions and 46 deletions

View File

@ -3,6 +3,7 @@ package config
var (
SettingInfo = new(Setting)
RPCServerSettingInfo = new(RPCServerSetting)
SettingAreaInfo = make(map[string]map[string]string, 0)
)
// Mysql 配置

View File

@ -14,13 +14,16 @@ const (
const (
TokenForUID string = "uid"
TokenForSession string = "session"
ContentForLocal string = "local"
)
const (
APIRequestToken string = "x-token"
)
const (
ContentForLocal string = "local"
)
const (
EventForRedisHashProduce string = "redis_hash_produce"
EventForRedisHashDestroy string = "redis_hash_destroy"
@ -31,3 +34,7 @@ const (
EventForAccountLoginProduce string = "account_login_produce"
EventForSysLogProduce string = "sys_log_produce"
)
const (
DefaultChinaAreaCode string = "86"
)