q-koa 13.8.17 → 13.8.18

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.
@@ -52,7 +52,13 @@ exports.push = async ({ app, appName = '通知', url, message }) => {
52
52
  }
53
53
 
54
54
  const queryObject = {
55
- ...(is_dev ? {} : { url: encodeURIComponent(url) }),
55
+ ...(is_dev
56
+ ? {}
57
+ : {
58
+ url: encodeURIComponent(
59
+ url || `${app.appConfig.ip}:${app.appConfig.port}`
60
+ ),
61
+ }),
56
62
  ...(logo_image || logo_img
57
63
  ? {
58
64
  icon: encodeURIComponent(
@@ -1483,7 +1483,7 @@ exports.union_notify = async (ctx) => {
1483
1483
  refundid: trxid,
1484
1484
  })
1485
1485
  }
1486
- } else {
1486
+ } else if (trxcode !== 'VSP683') {
1487
1487
  app.service.log.push({
1488
1488
  app,
1489
1489
  message: JSON.stringify(notifyData),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "13.8.17",
3
+ "version": "13.8.18",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {