entmicroApi.js 841 Bytes
const url = '/rop-scrm-entmicro/router'
// const url = 'http://192.168.1.163:8080/rop-scrm-entmicro/router'
export default {
	/**全部活码接口 */
	getAllEntmicroChannelCodeList (data) {
		data.method = 'entmicro.api.code.listEntmicroChannelCodeList'
		return window.$HTTP({
			url,
			data,
			returnAll: true
		})
	},
	/**引流获客列表 */
	getEntmicroChannelCodeList (data) {
		data.method = 'entmicro.api.code.listStaffEntmicroChannelCodeList'
		return window.$HTTP({
			url,
			data,
			returnAll: true
		})
	},
	/**变更客户信息   */
	editCustomer (data) {
		data.method = 'entmicro.api.customer.editcustomer'
		return window.$HTTP({
			url,
			data
		})
	},
	/**变更客户车牌号信息   */
	editplatCustomer (data) {
		data.method = 'entmicro.api.customer.editdata'
		return window.$HTTP({
			url,
			data
		})
	},
}