1
Some checks failed
Build / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
build / Build (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitee (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitlab (push) Has been cancelled
Issue Close Require / issue-close-require (push) Has been cancelled
Issue Check Inactive / issue-check-inactive (push) Has been cancelled
Some checks failed
Build / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
build / Build (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitee (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitlab (push) Has been cancelled
Issue Close Require / issue-close-require (push) Has been cancelled
Issue Check Inactive / issue-check-inactive (push) Has been cancelled
This commit is contained in:
6
common/redis_key/sys_config.go
Normal file
6
common/redis_key/sys_config.go
Normal file
@ -0,0 +1,6 @@
|
||||
package rediskey
|
||||
|
||||
const (
|
||||
//配置参数详情 {key}
|
||||
SYS_CONFIG_KEY = "sys_config:%s"
|
||||
)
|
||||
10
common/redis_key/sys_dict.go
Normal file
10
common/redis_key/sys_dict.go
Normal file
@ -0,0 +1,10 @@
|
||||
package rediskey
|
||||
|
||||
const (
|
||||
//字典 {dictKey}
|
||||
SysDictKey = "sys_dict:%s"
|
||||
//字典数据 {dictKey}
|
||||
SysDictDataList = "sys_dict_data_list:%s"
|
||||
//字典数据详情 {dictValue}
|
||||
SysDictData = "sys_dict_data:%s"
|
||||
)
|
||||
14
common/redis_key/tm_member.go
Normal file
14
common/redis_key/tm_member.go
Normal file
@ -0,0 +1,14 @@
|
||||
package rediskey
|
||||
|
||||
const (
|
||||
//用户翻译详情 {key}
|
||||
TM_MEMBER_BY_KEY = "tm_member_by_key:%s"
|
||||
//用户每日翻译字符数 {date(yyyyMMdd),key,plateformCode}
|
||||
TM_MEMBER_DAILY_COUNT = "tm_member_daily_count:%s:%s:%s"
|
||||
//用户每日翻译字符数 {date(yyyyMMdd)} 只有前缀
|
||||
TM_MEMBER_DAILY_COUNT_PURE = "tm_member_daily_count"
|
||||
//用户剩余翻译字符数 {key,plateformCode}
|
||||
TM_MEMBER_REMAIN_COUNT = "tm_member_remain_count:%s:%s"
|
||||
//用户剩余翻译字符数 {key} 只有前缀
|
||||
TM_MEMBER_REMAIN_COUNT_PURE = "tm_member_remain_count"
|
||||
)
|
||||
14
common/redis_key/tm_platform.go
Normal file
14
common/redis_key/tm_platform.go
Normal file
@ -0,0 +1,14 @@
|
||||
package rediskey
|
||||
|
||||
const (
|
||||
//详情
|
||||
TM_PLATFORM_KEY = "tm_platform:%s"
|
||||
//列表
|
||||
TM_PLATFORM_LIST_KEY = "tm_platform_list"
|
||||
|
||||
//平台账号列表 {platformCode}
|
||||
TM_PLATFORM_ACCOUNT_LIST_KEY = "tm_platform_account_list:%s"
|
||||
|
||||
//平台账号剩余字符 {platformCode,apikey}
|
||||
TM_PLATEFORM_ACCOUNT_REMAIN_KEY = "tm_platform_account_remain:%s:%s"
|
||||
)
|
||||
Reference in New Issue
Block a user