张延森 4 years ago
parent
commit
97cb37935b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/pages/WuYe/BaoXiuFeiYong/index.jsx

+ 1
- 1
src/pages/WuYe/BaoXiuFeiYong/index.jsx View File

@@ -54,7 +54,7 @@ export default function BaoXiuFeiYong () {
54 54
       request({ ...apis.wxStartPay, data: { type: 'bill', idArray } }).then((res) => {
55 55
         const outTradeNo = res.outTradeNo
56 56
         // 下单
57
-        request({ ...apis.wxUnifiedOrder, args: { outTradeNo }, params: { type: 'bill' } }).then(() => {
57
+        request({ ...apis.wxUnifiedOrder, args: { outTradeNo }, params: { type: 'bill' } }).then((res) => {
58 58
           Taro.requestPayment({
59 59
             timeStamp: res.timeStamp,
60 60
             nonceStr: res.nonceStr,