x1ongzhu 1 سال پیش
والد
کامیت
09ef0eeb43
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/Controllers/Http/UserBalancesController.ts

+ 2 - 2
app/Controllers/Http/UserBalancesController.ts

@@ -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) {