修改充值功能
This commit is contained in:
@@ -396,6 +396,8 @@
|
||||
|
||||
ApiClient.post(ApiClient.API.walletRechargeOrder, {
|
||||
rechargeId: selectedConfigId,
|
||||
payType: "NATIVE",
|
||||
returnUrl: window.location.href,
|
||||
})
|
||||
.then(function (res) {
|
||||
$btn.text("\u7acb\u5373\u5145\u503c").prop("disabled", false);
|
||||
|
||||
+9
-1
@@ -580,7 +580,15 @@ const ApiClient = {
|
||||
'/api/web/user/signIn/getPageList': { url: '/api/web/mine/sign-in/list', method: 'GET', data: pageParams },
|
||||
'/api/web/capitalFlow/getPageList': { url: '/api/web/wallet/flow/list', method: 'GET', data: pageParams },
|
||||
'/api/web/payment/getConfigList': { url: '/api/web/wallet/recharge/config/list', method: 'GET', data: null },
|
||||
'/api/web/payment/charge/native': { url: '/api/web/wallet/recharge/order', method: 'POST', data },
|
||||
'/api/web/payment/charge/native': {
|
||||
url: '/api/web/wallet/recharge/order',
|
||||
method: 'POST',
|
||||
data: Object.assign({}, data || {}, {
|
||||
rechargeId: data && (data.rechargeId || data.configId),
|
||||
payType: 'NATIVE',
|
||||
returnUrl: typeof window !== 'undefined' ? window.location.href : ''
|
||||
})
|
||||
},
|
||||
'/api/web/freeArticle/getPageListByUser': { url: '/api/web/mine/free-article/list', method: 'GET', data: pageParams },
|
||||
'/api/web/freeArticle/push': { url: '/api/web/free-article/publish', method: 'POST', data },
|
||||
'/api/web/payArticle/push': {
|
||||
|
||||
Reference in New Issue
Block a user