From 7e081cadeda2d7b5d3cc3f6055b4ee2799d19c00 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期四, 08 八月 2024 15:11:54 +0800
Subject: [PATCH] feat(支付): 云闪付
---
common/api/index.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/common/api/index.js b/common/api/index.js
index 5b1d247..8f73bc6 100644
--- a/common/api/index.js
+++ b/common/api/index.js
@@ -20,12 +20,15 @@
export const getOpenIdBase = (params, config = {}) => http.get(URL +
'/payfour-merchant/v1/web/aggregatePayAllin/getOpenIdBase', params, config = {});
-/*缁熶竴鐧诲綍*/
+/*缁熶竴鎺堟潈*/
export const userLogin = (params, config = {}) => {
- let path = '/payfour-merchant/v1/web/aggregatePayAllin/getOpenId'
+ let path = '/payfour-merchant/v1/web/aggregatePayAllin/getOpenId' //寰俊鎺堟潈
if(params.platform==5){ //鏀粯瀹濇巿鏉�
path = '/payfour-merchant/v1/web/h5PayAli/getUserIdByCode'
}
+ if (params.platform == 15) { //浜戦棯浠樻巿鏉�
+ path = '/payfour-merchant/v1/web/h5PayUnionPay/getUserIdByCode'
+ }
return http.get(URL + path,
params, config = {})
};
--
Gitblit v1.9.1