|
@@ -8,8 +8,8 @@ export const getThaliList = params => {
|
|
|
export const delThaliById = (params: { id: string }) => {
|
|
export const delThaliById = (params: { id: string }) => {
|
|
|
return http.get(PORT_NONE + `/PcGroupBuy/delThaliById`, params);
|
|
return http.get(PORT_NONE + `/PcGroupBuy/delThaliById`, params);
|
|
|
};
|
|
};
|
|
|
-export const sjxj = params => {
|
|
|
|
|
- return http.get(PORT_NONE + `/PcGroupBuy/sjxj`, params);
|
|
|
|
|
|
|
+export const updateStatus = params => {
|
|
|
|
|
+ return http.get(PORT_NONE + `/PcGroupBuy/updateStatus`, params);
|
|
|
};
|
|
};
|
|
|
export const updateNum = params => {
|
|
export const updateNum = params => {
|
|
|
return http.get(PORT_NONE + `/PcGroupBuy/updateNum`, params);
|
|
return http.get(PORT_NONE + `/PcGroupBuy/updateNum`, params);
|
|
@@ -20,12 +20,6 @@ export const saveDraft = params => {
|
|
|
export const saveThali = params => {
|
|
export const saveThali = params => {
|
|
|
return http.post(PORT_NONE + `/PcGroupBuy/saveThali`, params);
|
|
return http.post(PORT_NONE + `/PcGroupBuy/saveThali`, 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 => {
|
|
export const getMenuByStoreId = params => {
|
|
|
return http.get(PORT_NONE + `/menuPlatform/getMenuByStoreId`, params);
|
|
return http.get(PORT_NONE + `/menuPlatform/getMenuByStoreId`, params);
|
|
|
};
|
|
};
|
|
@@ -35,3 +29,9 @@ export const getHolidayList = (params: any) => {
|
|
|
export const getThaliById = params => {
|
|
export const getThaliById = params => {
|
|
|
return http.get(PORT_NONE + `/PcGroupBuy/getThaliById`, params);
|
|
return http.get(PORT_NONE + `/PcGroupBuy/getThaliById`, 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);
|
|
|
|
|
+};
|