浏览代码

fix bug

master
Anna Ho 1年前
父节点
当前提交
d5257a68d4
共有 1 个文件被更改,包括 2 次插入12 次删除
  1. +2
    -12
      src/pages/Payment/Card/index.js

+ 2
- 12
src/pages/Payment/Card/index.js 查看文件

@@ -90,7 +90,7 @@ const Index = () => {
},
// "locale":"<locale>",
// "eserviceid":"<eserviceid>",
"returnurl": window.location.hostname+"/paymentPage/success"
"returnurl": "http://"+window.location.hostname+"/paymentPage/success"
},
onSuccess: function(responseData){
/*
@@ -105,17 +105,7 @@ const Index = () => {
}

const cancelPayment = () => {
HttpUtils.post({
url: paymentPath + cancelPaymentUrl,
params: {
"transactionid": paymentData.transactionid,
"webtoken": paymentData.webtoken,
"paymentid": paymentid
},
onSuccess: function () {
navigate("/dashboard");
}
});
navigate("/dashboard");
}

const getIcon = () => {


正在加载...
取消
保存