|
|
@@ -86,7 +86,7 @@ export default class UserBalancesController {
|
|
|
const head = {
|
|
|
mchtId: '2000713000197336',
|
|
|
version: '20',
|
|
|
- biz: 'wp101'
|
|
|
+ biz: 'qr101'
|
|
|
}
|
|
|
const body = {
|
|
|
orderId: order.id.toString(),
|
|
|
@@ -141,7 +141,7 @@ export default class UserBalancesController {
|
|
|
|
|
|
public async rechargeNotify({ request }: HttpContextContract) {
|
|
|
const data = request.all()
|
|
|
- Logger.info('rechargeNotify', data)
|
|
|
+ Logger.info('rechargeNotify: ' + JSON.stringify(data, null, 4))
|
|
|
if (data.head.respCode === '0000') {
|
|
|
const order = await RechargeOrder.findOrFail(parseInt(data.body.orderId))
|
|
|
if (order.status === RechargeOrderStatus.Pending) {
|