用户任务记录新增字段记录领取任务账号 id
This commit is contained in:
@ -170,7 +170,7 @@ func (s *gamelifeClient) GetUserKeyIV(ctx context.Context, popenID string) (*mod
|
||||
Token: result.Key,
|
||||
}
|
||||
cacheKey := fmt.Sprintf(consts.GameLifeUserKey, popenID)
|
||||
if err := g.Redis().SetEX(ctx, cacheKey, cache, int64(consts.GameLifeUserExpire+grand.Intn(1000))); err != nil {
|
||||
if err := g.Redis().SetEX(ctx, cacheKey, cache, int64(consts.GameLifeUserExpire-grand.Intn(1000))); err != nil {
|
||||
return nil, ecode.Fail.Sub("设置用户信息失败")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user