🎨 修改消息通知跳转页面

This commit is contained in:
loser 2024-03-31 03:52:36 +08:00
parent 6178edc9d0
commit 1bd7ead544

View File

@ -78,7 +78,7 @@ func MiniappSendMsg(userId string, utId string) {
msgData := msg.SendRequest{ msgData := msg.SendRequest{
ToUser: user.WechatOpenId, ToUser: user.WechatOpenId,
TemplateID: "PgxoZOOSDgBcmIGd_EVLDnYUmL3eu6NQTAZCsHQeuWY", TemplateID: "PgxoZOOSDgBcmIGd_EVLDnYUmL3eu6NQTAZCsHQeuWY",
Page: "/page/index/todo", Page: "/pages/index/done",
MiniprogramState: msg.MiniprogramStateTrial, MiniprogramState: msg.MiniprogramStateTrial,
Data: msg.SendData{ Data: msg.SendData{
"thing1": msg.SendValue{Value: text[i]}, "thing1": msg.SendValue{Value: text[i]},
@ -94,7 +94,7 @@ func MiniappSendMsg(userId string, utId string) {
msgData := msg.SendRequest{ msgData := msg.SendRequest{
ToUser: user.WechatOpenId, ToUser: user.WechatOpenId,
TemplateID: "PgxoZOOSDgBcmIGd_EVLDnYUmL3eu6NQTAZCsHQeuWY", TemplateID: "PgxoZOOSDgBcmIGd_EVLDnYUmL3eu6NQTAZCsHQeuWY",
Page: "/page/index/todo", Page: "/pages/index/done",
MiniprogramState: msg.MiniprogramStateTrial, MiniprogramState: msg.MiniprogramStateTrial,
Data: msg.SendData{ Data: msg.SendData{
"thing1": msg.SendValue{Value: ut.Content}, "thing1": msg.SendValue{Value: ut.Content},