import request from '@/utils/requester.js'

export default {
	login: (params = {}) => request.post("/wxmpapi/sysuser/login", params),
	wxBindMobile: (params = {}) => request.post("/lpkcustomer/wxBindMobile", params),
	sayhello: (params = {}) => request.get("/sayb", params),
	getSalesReport: (params = {}) => request.get("/system/reportCenter/getSalesReport", params),
	getGoodsOnWay: (params = {}) => request.get("/system/reportCenter/getGoodsOnWay", params),
	getThresholdAnalysis: (params = {}) => request.get("/system/risk/getThresholdAnalysis", params),

	// 查看预警信息
	selectBusinessRiskInfo: (params = {}) => request.post("/wxmpapi/v1/businessData/selectBusinessRiskInfo", params),

	// 获取审核报告内容
	getReportInfo: (params = {}) => request.post("/reportwxmpapi/v1/csmcashreport/getCsmReportByComSid", params),
	// 获取今日回款明细
	getCsmReportTodayByComSid: (params = {}) => request.post(
		"/reportwxmpapi/v1/csmcashreportcashed/getCsmReportTodayByComSid",
		params),
	// 获取昨日销售报表
	getCsmReportYesterdayByComSid: (params = {}) => request.post(
		"/reportwxmpapi/v1/csmcashreportsales/getCsmReportYesterdayByComSid",
		params),

	// 库存汇总表
	getReportInventoryDayGather: (params = {}) => request.get("/reportwxmpapi/reportinventory/getReportInventoryDayGather/" +
		params,
		params),
	// 仓库库存明细表
	getReportInventoryDayStore: (params = {}) => request.get(
		"/reportwxmpapi/reportinventory/getReportInventoryDayStore/" + params, params),
	// 烟草仓库库存明细表
	getReportInventoryDayToStore: (params = {}) => request.get(
		"/reportwxmpapi/reportinventory/getReportInventoryDayToStore/" + params, params)

}