分享码有效期,支持表达式

This commit is contained in:
eafonyang
2026-06-15 20:02:43 +08:00
parent fc4ec2c030
commit b5560ca702
9 changed files with 130 additions and 9 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ func NewShareCodeHandler(shareCache *cache.ShareCodeCache, log *zap.Logger, maxP
// ExportShareCode 导出分享码
//
// @Summary 创建 EQ 分享码
// @Description 将用户的 EQ 数据生成一个 5 位分享码,有效期 30 分钟
// @Description 将用户的 EQ 数据生成一个 5 位分享码,有效期由 SHARE_CODE_TTL_MIN 配置决定(支持 30、30m、24h、30d 等格式)
// @Tags ShareCode
// @Accept json
// @Produce json