From bdfec44c9f3a37dbbe05bf14a252ffec04132a86 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 06 九月 2022 21:24:28 +0800 Subject: [PATCH] Merge branch 'develop' --- src/views/pay/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/pay/index.jsx b/src/views/pay/index.jsx index d4afd08..788a5c5 100644 --- a/src/views/pay/index.jsx +++ b/src/views/pay/index.jsx @@ -74,7 +74,7 @@ param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') param.secretkey = Utils.encrypt(param.LTextOut, param.timestamp) - Api.getLocalConfig(param).then(res => { + Api.genericInterface(param).then(res => { if (res.status) { let _total = res.amount ? parseFloat(res.amount.total) : '' @@ -174,7 +174,7 @@ param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') param.secretkey = Utils.encrypt(param.LTextOut, param.timestamp) - Api.getLocalConfig(param).then(res => { + Api.genericInterface(param).then(res => { if (res.pay_status) { this.setState({ overdone: true -- Gitblit v1.8.0