feat(trade): connect WeChat refund API and callback flow
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user