70 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
		
		
			
		
	
	
			70 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
| 
								 | 
							
								const http = uni.$u.http
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// 修改收货地址列表
							 | 
						||
| 
								 | 
							
								export const getOderSelfList = (params) => http.get('/sale/api/my-order/selflist', {
							 | 
						||
| 
								 | 
							
									params
							 | 
						||
| 
								 | 
							
								})
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// 获取地址列表
							 | 
						||
| 
								 | 
							
								export const addressList = (params) => http.get('/member/api/member-address/list', {
							 | 
						||
| 
								 | 
							
									params
							 | 
						||
| 
								 | 
							
								})
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// 修改地址查询邮费
							 | 
						||
| 
								 | 
							
								export const queryAdressPostage = (params) => http.post('/sale/api/order/self-order-postage', params)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								//提交修改地址
							 | 
						||
| 
								 | 
							
								export const saveSelfAddress = (params) => http.post('/member/api/self-modify-address/putin', params)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								//户籍变更-可申请信息
							 | 
						||
| 
								 | 
							
								export const getApplicationInfoList = (params) => http.get('/member/api/change-domicile/application-info-list', {
							 | 
						||
| 
								 | 
							
									params
							 | 
						||
| 
								 | 
							
								})
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								//户籍变更-已申请信息
							 | 
						||
| 
								 | 
							
								export const getAppliedInfoList = (params) => http.get('/member/api/change-domicile/applied-info-list', {
							 | 
						||
| 
								 | 
							
									params
							 | 
						||
| 
								 | 
							
								})
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								//显示户籍变更信息
							 | 
						||
| 
								 | 
							
								export const showChangeDomicile = (params) => http.get('/member/api/change-domicile/show-change-domicile', {
							 | 
						||
| 
								 | 
							
									params
							 | 
						||
| 
								 | 
							
								})
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								//保存户籍变更
							 | 
						||
| 
								 | 
							
								export const saveChangeDomicile = (params) => http.post('/member/api/change-domicile/change-domicile', params)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								//订单自提列表
							 | 
						||
| 
								 | 
							
								export const getOrderSelfList = (params) => http.get('/sale/api/my-order/self-list', {
							 | 
						||
| 
								 | 
							
									params
							 | 
						||
| 
								 | 
							
								})
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								//订单自提
							 | 
						||
| 
								 | 
							
								export const saveSelfPick = (params) => http.post('/sale/api/order/self-pick-up', params)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								//月度历史累计列表
							 | 
						||
| 
								 | 
							
								export const getMonthAchieve = (params) => http.post('/member/api/achieve/month-achieve?pageNum='+ params.pageNum + '&pageSize=' + params.pageSize, params)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								//月度历史累计明细列表
							 | 
						||
| 
								 | 
							
								export const getMonthAchieveDetail = (params) => http.post('/member/api/achieve/month-achieve-detail?pageNum='+ params.pageNum + '&pageSize=' + params.pageSize, params)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								//自助服务权限
							 | 
						||
| 
								 | 
							
								export const checkIfShow = (params) => http.get('/member/api/self/authority', {
							 | 
						||
| 
								 | 
							
									params
							 | 
						||
| 
								 | 
							
								})
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								//真实奖衔下拉选
							 | 
						||
| 
								 | 
							
								export const getAwardsList = (params) => http.get('/system/pub/enums/award?pkCountry=26', {
							 | 
						||
| 
								 | 
							
									params
							 | 
						||
| 
								 | 
							
								})
							 |