From 113ff1aa0d62549730f1413fe5ffcadcf3a14f11 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 23 八月 2022 11:37:24 +0800
Subject: [PATCH] 2022-08-23

---
 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