import { ResPage, StoreUser } from "@/api/interface/index"; import { PORT_NONE } from "@/api/config/servicePort"; import http from "@/api"; export const getThaliList = params => { return http.get>(PORT_NONE + `/PcGroupBuy/getThaliList`, params); }; export const getCpList = params => { return http.get>(PORT_NONE + `/PcGroupBuy/getCpList`, params); }; export const deleteThali = (params: { id: string }) => { return http.delete(PORT_NONE + `/PcGroupBuy/deleteThali`, params); }; export const sjxj = params => { return http.get(PORT_NONE + `/PcGroupBuy/sjxj`, params); }; export const xgkc = params => { return http.get(PORT_NONE + `/PcGroupBuy/xgkc`, params); }; export const saveDraft = params => { return http.post(PORT_NONE + `/PcGroupBuy/saveDraft`, params); }; export const getUserByPhone = params => { return http.get(PORT_NONE + `/store/user/getUserByPhone`, params); }; export const getDetail = params => { return http.get(PORT_NONE + `/store/info/getDetail`, params); }; export const getMenuByStoreId = params => { return http.get(PORT_NONE + `/menuPlatform/getMenuByStoreId`, params); }; export const getHolidayList = (params: any) => { return http.get(PORT_NONE + `/couponPlatform/getHolidayList`, params); }; export const getStoreDetail = (params: StoreUser.ReqUserParams) => { return http.get(PORT_NONE + `/store/info/getStoreDetail`, params); };