feat(config): update subscribe path in global config response
This commit is contained in:
parent
e8084e9d2c
commit
532a5ab009
@ -51,6 +51,8 @@ func (l *GetGlobalConfigLogic) GetGlobalConfig() (resp *types.GetGlobalConfigRes
|
|||||||
tool.SystemConfigSliceReflectToStruct(currencyCfg, &resp.Currency)
|
tool.SystemConfigSliceReflectToStruct(currencyCfg, &resp.Currency)
|
||||||
tool.SystemConfigSliceReflectToStruct(verifyCodeCfg, &resp.VerifyCode)
|
tool.SystemConfigSliceReflectToStruct(verifyCodeCfg, &resp.VerifyCode)
|
||||||
|
|
||||||
|
resp.Subscribe.SubscribePath = "/sub" + l.svcCtx.Config.Subscribe.SubscribePath
|
||||||
|
|
||||||
resp.Verify = types.VeifyConfig{
|
resp.Verify = types.VeifyConfig{
|
||||||
TurnstileSiteKey: l.svcCtx.Config.Verify.TurnstileSiteKey,
|
TurnstileSiteKey: l.svcCtx.Config.Verify.TurnstileSiteKey,
|
||||||
EnableLoginVerify: l.svcCtx.Config.Verify.LoginVerify,
|
EnableLoginVerify: l.svcCtx.Config.Verify.LoginVerify,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user