q-koa 13.8.13 → 13.8.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1411,11 +1411,6 @@ exports.union_notify = async (ctx) => {
1411
1411
  try {
1412
1412
  const notifyData = ctx.request.body
1413
1413
 
1414
- app.service.log.push({
1415
- app,
1416
- message: JSON.stringify(notifyData),
1417
- })
1418
-
1419
1414
  const {
1420
1415
  trxcode,
1421
1416
  trxstatus,
@@ -1488,6 +1483,11 @@ exports.union_notify = async (ctx) => {
1488
1483
  refundid: trxid,
1489
1484
  })
1490
1485
  }
1486
+ } else {
1487
+ app.service.log.push({
1488
+ app,
1489
+ message: JSON.stringify(notifyData),
1490
+ })
1491
1491
  }
1492
1492
  } else {
1493
1493
  app.service.log.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "13.8.13",
3
+ "version": "13.8.15",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {