q-koa 12.9.1 → 12.9.2

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.
@@ -1203,6 +1203,7 @@ exports.notify = async (ctx) => {
1203
1203
  // console.log(order_id, '微信支付回调-----', model, order_price, transactionid)
1204
1204
  if (app.service[model] && app.service[model].notify) {
1205
1205
  await app.service[model].notify({
1206
+ ctx,
1206
1207
  app,
1207
1208
  order_id,
1208
1209
  order: model,
@@ -496,7 +496,7 @@ exports.handleUserMessage = async ({ app, result }) => {
496
496
  }
497
497
  }
498
498
 
499
- exports.funds_order_pay = async ({ app, result }) => {
499
+ exports.funds_order_pay = async ({ ctx, app, result }) => {
500
500
  const appConfig = getConfig(app)
501
501
 
502
502
  if (result.ToUserName) {
@@ -546,7 +546,7 @@ exports.funds_order_pay = async ({ app, result }) => {
546
546
  }
547
547
  }
548
548
 
549
- exports.funds_order_refund = async ({ app, result }) => {
549
+ exports.funds_order_refund = async ({ ctx, app, result }) => {
550
550
  const appConfig = getConfig(app)
551
551
 
552
552
  if (result.ToUserName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "12.9.1",
3
+ "version": "12.9.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {