This commit is contained in:
liangzai 2025-06-03 22:10:33 +08:00
parent 0bc383eba4
commit 97e50d11d6
2 changed files with 5 additions and 5 deletions

View File

@ -11,11 +11,11 @@ JwtAuth:
AccessExpire: 2592000 AccessExpire: 2592000
RefreshAfter: 1296000 RefreshAfter: 1296000
VerifyCode: VerifyCode:
AccessKeyID: "LTAI5tHKcV1RbC8t68UfsATy" AccessKeyID: "LTAI5tKGB3TVJbMHSoZN3yr9"
AccessKeySecret: "wLWjMBnAlchFMa9gC8B7ZVBKaew4t5" AccessKeySecret: "OCQ30GWp4yENMjmfOAaagksE18bp65"
EndpointURL: "dysmsapi.aliyuncs.com" EndpointURL: "dysmsapi.aliyuncs.com"
SignName: "天远查" SignName: "全能查"
TemplateCode: "SMS_468895843" TemplateCode: "SMS_302641455"
ValidTime: 300 ValidTime: 300
Encrypt: Encrypt:
SecretKey: "ff83609b2b24fc73196aac3d3dfb874f" SecretKey: "ff83609b2b24fc73196aac3d3dfb874f"

View File

@ -57,7 +57,7 @@ func (l *PaySuccessNotifyUserHandler) ProcessTask(ctx context.Context, t *asynq.
if cacheErr != nil { if cacheErr != nil {
return fmt.Errorf("获取缓存内容失败: %+v", cacheErr) return fmt.Errorf("获取缓存内容失败: %+v", cacheErr)
} }
logx.Infof("获取缓存内容成功: %s", cache)
secretKey := l.svcCtx.Config.Encrypt.SecretKey secretKey := l.svcCtx.Config.Encrypt.SecretKey
key, decodeErr := hex.DecodeString(secretKey) key, decodeErr := hex.DecodeString(secretKey)
if decodeErr != nil { if decodeErr != nil {