const http = uni.$u.http // get请求 获取门店所有服务列表 export const storeAllServiceList = (params, config = {}) => http.get('/business/wechat/sp/all/'+params.data.storeId, params, config) // get请求 获取门店列表 export const storeList = (params, config = {}) => http.get('/store/uniapp/store-list/distance', params, config) // get请求 获取门店工作人员列表 关联岗位、工作时段、服务项目 export const workPersonList = (params, config = {}) => http.get('/store/uniapp/work-person-ist/'+params.data.storeId, params, config) // get请求 根据服务日期及服务时段查询排班人员 export const serviceWorkPersonList = (params, config = {}) => http.get('/business/wechat/scheduling/crewPageList', params, config) // get请求 根据门店查询排班日期 export const selectDate = (params, config = {}) => http.post('/business/wechat/scheduling/selectDate', params, config) // get请求 根据门店、排班日期查询可用时段 export const selectPeriodByDate = (params, config = {}) => http.post('/business/wechat/scheduling/selectPeriodByDate', params, config)