feat(trade): connect WeChat refund API and callback flow

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-03 21:45:33 +08:00
parent e93e4b8f84
commit ab10431001
20 changed files with 455 additions and 61 deletions
+1
View File
@@ -28,6 +28,7 @@ async function bootstrap() {
verify: (req, _res, buf) => {
if (
req.url?.includes('/callbacks/wechat/pay') ||
req.url?.includes('/callbacks/wechat/refund') ||
req.url?.includes('/callbacks/wechat/message')
) {
(req as { rawBody?: Buffer }).rawBody = buf;