|
@@ -43,6 +43,8 @@ const app = new OpenAPIHono()
|
|
|
|
|
|
|
|
// 获取微信支付回调头信息
|
|
// 获取微信支付回调头信息
|
|
|
const headers = {
|
|
const headers = {
|
|
|
|
|
+ // 开发环境配置成 租户2 'X-Tenant-Id': '2'
|
|
|
|
|
+ 'X-Tenant-Id': c.req.header('X-Tenant-Id') || '2',
|
|
|
'wechatpay-timestamp': c.req.header('wechatpay-timestamp') || '',
|
|
'wechatpay-timestamp': c.req.header('wechatpay-timestamp') || '',
|
|
|
'wechatpay-nonce': c.req.header('wechatpay-nonce') || '',
|
|
'wechatpay-nonce': c.req.header('wechatpay-nonce') || '',
|
|
|
'wechatpay-signature': c.req.header('wechatpay-signature') || '',
|
|
'wechatpay-signature': c.req.header('wechatpay-signature') || '',
|