修复:goctl api 生成的代码没有在路由中加入Ipa模式
Build docker and publish / build (20.15.1) (push) Successful in 7m48s
Build docker and publish / build (20.15.1) (push) Successful in 7m48s
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user