mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-10-31 18:28:44 +08:00 
			
		
		
		
	REVIEW 支付应用、支付订单
This commit is contained in:
		| @@ -39,9 +39,9 @@ export const getMerchant = (id: number) => { | ||||
| } | ||||
|  | ||||
| // 根据商户名称搜索商户列表 | ||||
| export const getMerchantListByName = (name: string) => { | ||||
| export const getMerchantListByName = (name?: string) => { | ||||
|   return request.get({ | ||||
|     url: '/pay/merchant/list-by-name?id=', | ||||
|     url: '/pay/merchant/list-by-name', | ||||
|     params: { | ||||
|       name: name | ||||
|     } | ||||
|   | ||||
| @@ -88,6 +88,11 @@ export const getOrder = async (id: number) => { | ||||
|   return await request.get({ url: '/pay/order/get?id=' + id }) | ||||
| } | ||||
|  | ||||
| // 获得支付订单的明细 | ||||
| export const getOrderDetail = async (id: number) => { | ||||
|   return await request.get({ url: '/pay/order/get-detail?id=' + id }) | ||||
| } | ||||
|  | ||||
| // 新增支付订单 | ||||
| export const createOrder = async (data: OrderVO) => { | ||||
|   return await request.post({ url: '/pay/order/create', data }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV