feat(trade): WeChat trade-manage push + delay shipping upload
Receive trade_manage_order_settlement to sync confirm-receive/settle; wait ~65s and retry on 10060001 before upload_shipping_info. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -25,7 +25,10 @@ async function bootstrap() {
|
||||
app.use(
|
||||
json({
|
||||
verify: (req, _res, buf) => {
|
||||
if (req.url?.includes('/callbacks/wechat/pay')) {
|
||||
if (
|
||||
req.url?.includes('/callbacks/wechat/pay') ||
|
||||
req.url?.includes('/callbacks/wechat/message')
|
||||
) {
|
||||
(req as { rawBody?: Buffer }).rawBody = buf;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user