| 12345678910111213141516171819202122232425262728293031323334353637 |
- 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<ResPage<StoreUser.ResStoreUserList>>(PORT_NONE + `/PcGroupBuy/getThaliList`, params);
- };
- export const getCpList = params => {
- return http.get<ResPage<StoreUser.ResStoreUserList>>(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<StoreUser.ResStoreUserList>(PORT_NONE + `/couponPlatform/getHolidayList`, params);
- };
- export const getStoreDetail = (params: StoreUser.ReqUserParams) => {
- return http.get<StoreUser.ResStoreUserList>(PORT_NONE + `/store/info/getStoreDetail`, params);
- };
|