切换主体

This commit is contained in:
ziming 2026-03-27 16:16:08 +08:00
parent 737216ee05
commit 0e1ed3b426
1 changed files with 3 additions and 2 deletions

View File

@ -312,8 +312,9 @@ func SetCallback(bc *conf.Bootstrap) {
svc := cashcoupons.CallBackUrlApiService{Client: client}
response, _, err := svc.SetCallback(ctx, cashcoupons.SetCallbackRequest{
Mchid: core.String(bc.Wechat.MchID),
NotifyUrl: core.String("https://gateway.dev.cdlsxd.cn/voucher/v1/notify/" + bc.Wechat.MchID),
Mchid: core.String(bc.Wechat.MchID),
//NotifyUrl: core.String("https://gateway.dev.cdlsxd.cn/voucher/v1/notify/" + bc.Wechat.MchID),
NotifyUrl: core.String("https://voucher.86698.cn/voucher/v1/notify/" + bc.Wechat.MchID),
Switch: core.Bool(true),
})
if err != nil {