70 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
		
		
			
		
	
	
			70 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
|  | /* | ||
|  |  * @Descripttion:  | ||
|  |  * @version:  | ||
|  |  * @Author: 王三华 | ||
|  |  * @Date: 2023-05-31 19:18:11 | ||
|  |  */ | ||
|  | const http = uni.$u.http | ||
|  | 
 | ||
|  | //支付配置
 | ||
|  | export const payConfig = (params) => http.get('/pay/config', { params }) | ||
|  | //京东银行列表
 | ||
|  | export const jdBankList = (params) => http.get('/pay/jd-fast/list', { params }) | ||
|  | //汇付银行列表
 | ||
|  | export const hfBankList = (params) => http.get('/pay/ada-fast/list', { params }) | ||
|  | //通联银行列表
 | ||
|  | export const tlBankList = (params) => http.get('/pay/all-in-fast/list', { params }) | ||
|  | //查询订单明细
 | ||
|  | export const orderInfo = (params) => http.post('/sale/api/order/query-order', params) | ||
|  | //查询订单消费明细
 | ||
|  | export const spendDetails = (params) => http.post('/sale/api/order/query-spend-details', params) | ||
|  | //京东绑卡短信
 | ||
|  | export const bindJd = (params) => http.post('/pay/jd-fast/bind', params) | ||
|  | //通联绑卡短信
 | ||
|  | export const bindTl = (params) => http.post('/pay/all-in-fast/bind', params) | ||
|  | //汇付绑卡短信
 | ||
|  | export const bindHf = (params) => http.post('/pay/ada-fast/bind', params) | ||
|  | //京东绑卡
 | ||
|  | export const bindJdConfirm = (params) => http.post('/pay/jd-fast/bind-confirm', params) | ||
|  | //通联绑卡
 | ||
|  | export const bindTlConfirm = (params) => http.post('/pay/all-in-fast/bind-confirm', params) | ||
|  | //汇付绑卡
 | ||
|  | export const bindHfConfirm = (params) => http.post('/pay/ada-fast/bind-confirm', params) | ||
|  | //银行卡支付获取验证码
 | ||
|  | export const unifiedorder = (params) => http.post('/pay/unifiedorder', params) | ||
|  | //汇付银行卡确认
 | ||
|  | export const payConfirmHf = (params) => http.post('/pay/ada-fast/pay-confirm', params) | ||
|  | //京东银行卡确认
 | ||
|  | export const payConfirmJd = (params) => http.post('/pay/jd-fast/pay-confirm', params) | ||
|  | //通联银行卡确认
 | ||
|  | export const payConfirmTl = (params) => http.post('/pay/all-in-fast/pay-confirm', params) | ||
|  | //支付状态
 | ||
|  | export const payStatus = (params) => http.get('/pay/status', { params }) | ||
|  | //幂等性
 | ||
|  | export const generate = (params) => http.get('/system/api/idempotent/generate', { params }) | ||
|  | //支付注册订单
 | ||
|  | export const payRegOrder = (params) => http.post('/sale/api/order/pay-reg-order', params) | ||
|  | //支付其他订单
 | ||
|  | export const payOthOrder = (params) => http.post('/sale/api/order/pay-oth-order', params) | ||
|  | //宝付确认支付h5
 | ||
|  | export const baoFuPay = (params) => http.post('/pay/baofu-code/order', params) | ||
|  | //汇付确认支付h5
 | ||
|  | export const huiFuPay = (params) => http.post('/pay/ada-code/order', params) | ||
|  | 
 | ||
|  | //在线预充值
 | ||
|  | export const preCharge = (params) => http.get('/member/api/recharge/preCharge', { params }) | ||
|  | //海粉注册信息
 | ||
|  | export const fansOrder = (params) => http.get('/member/api/member/fans-order/'+params) | ||
|  | //抽奖下单
 | ||
|  | export const payDrawGift = (params) => http.post('/activity/api/draw/pay-draw-num', params) | ||
|  | //提货下单
 | ||
|  | export const payPickOrder = (params) => http.post('/activity/api/pick/order', params) | ||
|  | //植树查看账户
 | ||
|  | export const deductionAccount = (params) => http.post('activity/api/sa-tree-order/deductionAccount', params) | ||
|  | //植树活动
 | ||
|  | export const shoppingTree = (params) => http.post('activity/api/sa-tree-order/shoppingTree', params) | ||
|  | //解绑银行卡
 | ||
|  | export const unBind = (params) => http.post('/pay/ada-fast/un-bind', params) | ||
|  | 
 | ||
|  | //查询注册信息
 | ||
|  | export const registerInfo = (params) => http.get('/member/api/member/register-order/' + params,) |