From 18b45638fe3aac07e65aeb5b1da337d4e4bdc87c Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期日, 30 十一月 2025 18:24:36 +0800
Subject: [PATCH] fix(pay): 更新支付页面文案及逻辑
---
common/api/index.js | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/common/api/index.js b/common/api/index.js
index acb54f9..f2f48b0 100644
--- a/common/api/index.js
+++ b/common/api/index.js
@@ -33,10 +33,14 @@
/* 鏀粯瀹濇櫘閫氭巿鏉冪櫥褰� */
export const getUserId = (params, config = {}) => http.get(URL + '/service-merchant/v1/web/h5PayAli/getUserIdByCode',
params, config = {});
+
export const userLogin = (params, config = {}) => {
let path = '/service-merchant/v1/web/aggregatePayAllin/getOpenId'
- if(params.platform==5){
+ if (params.platform == 5) {
path = '/service-merchant/v1/web/h5PayAli/getUserIdByCode'
+ }
+ if (params.platform == 15) {
+ path = '/service-merchant/v1/web/h5PayUnionPay/getUserIdByCode'
}
return http.get(URL + path,
params, config = {})
@@ -116,4 +120,4 @@
/* 鑾峰彇棣栫粦鏈夌ぜ */
export const headBand = (params, config = {}) => http.get(URL +
'/service-shop/v1/shop/wechat/activity/headBand/detail',
- params, config = {});
+ params, config = {});
\ No newline at end of file
--
Gitblit v1.9.1