修复:goctl api 生成的代码没有在路由中加入Ipa模式
Build docker and publish / build (20.15.1) (push) Successful in 7m48s

This commit is contained in:
2026-03-06 00:15:35 -08:00
parent 6e13e67dc8
commit b625dda4c9
9 changed files with 420 additions and 180 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ func (r *InviteLinkResolver) cacheShortLink(referCode, shortLink string) {
}
cacheKey := inviteShortLinkCachePrefix + referCode
_ = r.svcCtx.Redis.Set(r.ctx, cacheKey, shortLink, 0).Err()
_ = r.svcCtx.Redis.Set(r.ctx, cacheKey, shortLink, 7*24*time.Hour).Err()
}
func uniqueReferCodes(referCodes []string) []string {