-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
小程序消息推送 #713
小程序消息推送 #713
Conversation
please fix ci ,可以参考 |
差一个,实在找不到了 |
if _, rawMsgBytes, err := util.DecryptMsg(receiver.AppID, reqData.Encrypt, receiver.AesKey); err != nil {
return nil, err
} else {
return rawMsgBytes, nil
} 修改: var rawMsgBytes []byte
if _, rawMsgBytes, err := util.DecryptMsg(receiver.AppID, reqData.Encrypt, receiver.AesKey); err != nil {
return nil, err
}
return rawMsgBytes, nil |
@ccfish86 辛苦处理一下冲突,是不是还有配置信息需要加进去,可以参考一下这个同学的 pr #429 以及这里还有新的消息推送类型: 虚拟支付: 道具发货推送xpay_goods_deliver_notify 代币支付推送xpay_coin_pay_notify |
麻烦解决一下冲突 |
miniprogram/message/message.go
Outdated
// 小程序完成账期授权时/小程序产生第一笔交易时/已产生交易但从未发货的小程序,每天一次 | ||
EventTypeTradeManageRemindAccessAPI EventType = "trade_manage_remind_access_api" | ||
// EventTypeTradeManageRemindShipping 提醒需要上传发货信息 | ||
// 曾经发过货的小程序,订单超过48小时未发货时 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个注释完善一下
@ccfish86 辛苦解决一下冲突 |
在外边,晚会 修复下冲突 |
目前最多 40 语句,把上面的 40 改成 50,不然就需要优化一下代码了。 @ccfish86 |
问题是还有一些事件没有写完,后面还是得优化一下,等加xml支持时一起做吧。 |
小程序消息推送(服务器端)