This commit is contained in:
2026-01-22 16:04:12 +08:00
commit 864c4168b9
605 changed files with 64539 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package globalkey
/**
global constant key
*/
//软删除
var DelStateNo int64 = 0 //未删除
var DelStateYes int64 = 1 //已删除
//时间格式化模版
var DateTimeFormatTplStandardDateTime = "Y-m-d H:i:s"
var DateTimeFormatTplStandardDate = "Y-m-d"
var DateTimeFormatTplStandardTime = "H:i:s"

View File

@@ -0,0 +1,9 @@
package globalkey
/**
redis key except "model cache key" in here,
but "model cache key" in model
*/
// CacheUserTokenKey /** 用户登陆的token
const CacheUserTokenKey = "user_token:%d"