/*
	接口统一管理
*/
const apiurl = {
	/** 案例 */
	login: {
		url: '/member/auth/personsLogin',
		type: 'post'
	},
	loginOut: {
		url: '/member/auth/personsLogout',
		type: 'post'
	},
	/** 首页 */
	retailIndex: {
		url: '/system/client/retailIndex',
		type: 'get'
	},
	/** 用户信息 */
	getInfo: {
		url: '/member/marketPersons/getInfo',
		type: 'get'
	},
	getRetailQrcode: {
		url: '/member/marketPersons/getRetailQrcode',
		type: 'get'
	},
	getRetailStatistics: {
		url: '/member/marketPersons/getRetailStatistics',
		type: 'get'
	},
	getRetailInfo: {
		url: '/member/marketPersons/getRetailInfo',
		type: 'get'
	},
	payset: {
		url: '/member/marketPersons/payset',
		type: 'post'
	},
	marketPersonsSerial: {
		url: '/member/marketPersonsSerial/detailList',
		type: 'get'
	},
	withdrawInfo: {
		url: '/member/marketPersons/withdrawInfo',
		type: 'get'
	},
	orderWithdraw: {
		url: '/order/orderWithdraw/submit',
		type: 'post'
	},
	marketPersons: {
		url: '/member/marketPersons/paysetCheck',
		type: 'post'
	},
	getRetailInfo: {
		url: '/member/marketPersons/getRetailInfo',
		type: 'get'
	},
	orderWithdrawList: {
		url: '/order/orderWithdraw/pageList',
		type: 'get'
	},
	orderWithdrawSelectById: {
		url: '/order/orderWithdraw/selectById',
		type: 'get'
	},
	marketPersonsUpdatePwd: {
		url: '/member/marketPersons/updatePwd',
		type: 'post'
	},
	// 待提现人员列表
	distributorList: {
		url: '/member/marketPersons/withdrawPageList',
		type: 'get'
	},
	// 获取提现结算信息（新）
	getSettlement: {
		url: '/member/marketPersons/getSettlement',
		type: 'post'
	}, 
	// 获取提现结算信息 （新）
	withdrawApply: {
		url: '/member/marketPersons/withdrawApply',
		type: 'post'
	},
	/**
	 * @author ygh
	 * @date 2023-12-14
	 * 公众号获取openid
	 * 
	 * */
	wxinfoH5: {
		url: '/member/wechat/h5/code/',
		type: 'get',
		addUrl: true
	},
	personsLoginCheck: {
		url: '/member/auth/personsLoginCheck',
		type: 'get'
	},
	// 银联签约入网地址
	getUnionAccessUrl: {
		url: '/member/marketPersons/getUnionAccessUrl',
		type: 'get'
	},
	// 添加修改银行卡号
	insertOrUpdateApi: {
		url: '/member/marketPersonsBank/insertOrUpdate',
		type: 'post'
	},
	// 获取用户绑定银行卡
	getPersonsBankApi: {
		url: '/member/marketPersonsBank/getPersonsBank',
		type: 'get'
	},
}


/*
* 特殊处理接口
*/ 
const otherApiUrl = {
	// 文件上传
	uploadFile: '/file/upload/single/minio',
}

export {
	apiurl,
	otherApiUrl
}