oak-pay-business 1.0.8 → 1.0.9
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.
|
@@ -120,10 +120,7 @@ export default class WechatPay {
|
|
|
120
120
|
getState: omit(result, ['mchid', 'appid', 'out_trade_no']),
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
|
-
return [iState,
|
|
124
|
-
...updateData,
|
|
125
|
-
iState,
|
|
126
|
-
}];
|
|
123
|
+
return [iState, updateData];
|
|
127
124
|
}
|
|
128
125
|
async close(pay) {
|
|
129
126
|
const outTradeNo = compressTo32(pay.id);
|
|
@@ -123,10 +123,7 @@ class WechatPay {
|
|
|
123
123
|
getState: (0, lodash_1.omit)(result, ['mchid', 'appid', 'out_trade_no']),
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
|
-
return [iState,
|
|
127
|
-
...updateData,
|
|
128
|
-
iState,
|
|
129
|
-
}];
|
|
126
|
+
return [iState, updateData];
|
|
130
127
|
}
|
|
131
128
|
async close(pay) {
|
|
132
129
|
const outTradeNo = (0, uuid_1.compressTo32)(pay.id);
|