| 
									
										
										
										
											2025-04-24 10:06:53 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  | const http = uni.$u.http | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | //支付配置
 | 
					
						
							|  |  |  | export const payConfig = (params) => http.get('/pay/config', { params }) | 
					
						
							|  |  |  | //查询订单明细
 | 
					
						
							|  |  |  | export const orderInfo = (params) => http.post('/sale/api/order/query-order', params) | 
					
						
							|  |  |  | //订单状态
 | 
					
						
							|  |  |  | export const orderStatus = (params) => http.get('/system/pub/enums/order-status-api', { params }) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | //计算邮费
 | 
					
						
							|  |  |  | export const pickPostAge = (params) => http.get('/activity/api/pick/postage', { params }) | 
					
						
							|  |  |  | //订单列表
 | 
					
						
							|  |  |  | export const orderList = (params) => http.get('/sale/api/my-order/list', { params }) | 
					
						
							|  |  |  | //订单详情
 | 
					
						
							|  |  |  | export const orderDetails = (orderCode) => http.get('/sale/api/my-order/detail/' + orderCode) | 
					
						
							|  |  |  | //订单取消
 | 
					
						
							|  |  |  | export const cancelOrder = (orderCode) => http.delete('/sale/api/my-order/cancel/' + orderCode) | 
					
						
							|  |  |  | //物流状态
 | 
					
						
							|  |  |  | export const expressList = (id) => http.get('/sale/api/my-order/express/' + id,) | 
					
						
							|  |  |  | //校验订单状态
 | 
					
						
							|  |  |  | export const payCheck = (id) => http.get('/sale/api/my-order/pay-check/' + id,) | 
					
						
							|  |  |  | //订单类型
 | 
					
						
							|  |  |  | export const orderType = (params) => http.get('/sale/api/my-order/order-type', { params }) | 
					
						
							|  |  |  | //提货卡详情
 | 
					
						
							|  |  |  | export const pickDetails = (params) => http.get('/activity/api/pick/detail', { params }) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | //自助撤单列表
 | 
					
						
							|  |  |  | export const selfRevokeList = (params) => http.get('/sale/api/my-order/selfRevokeList', { params }) | 
					
						
							|  |  |  | //自助撤单参数校验
 | 
					
						
							|  |  |  | export const selfRevokeListCheck = (params) => http.post('/sale/api/my-order/check-self-revoke-order', params) | 
					
						
							|  |  |  | //自助撤单
 | 
					
						
							|  |  |  | export const selfRevokeOrder = (params) => http.post('/sale/api/my-order/self-revoke-order', params) |