fix: 🧩 修复bug
This commit is contained in:
@@ -6,7 +6,6 @@ export const getBannerListApi = (params: any) => {
|
||||
};
|
||||
//新增
|
||||
export const getBannerListSaveApi = (params: any) => {
|
||||
console.log("1232323");
|
||||
return http.post<any>(`${B}/save`, params, {
|
||||
headers: {
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
@@ -37,3 +36,7 @@ export const getBannerListExportApi = (params: any) => {
|
||||
responseType: "arraybuffer"
|
||||
});
|
||||
};
|
||||
//分类
|
||||
export const getBannerClassListApi = () => {
|
||||
return http.get<any>(`/banner/list`); //v1/banner/list
|
||||
};
|
||||
|
||||
@@ -26,5 +26,9 @@ export const getProductBuypassUpdateApi = (params: any) => {
|
||||
|
||||
//新增
|
||||
export const getProductBuypassListSaveApi = (params: any) => {
|
||||
return http.post<any>(`${PRODUCT_BUYPASS}/save`, params);
|
||||
return http.post<any>(`${PRODUCT_BUYPASS}/save`, params, {
|
||||
headers: {
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -26,3 +26,7 @@ export const getVideoListExportApi = (params: any) => {
|
||||
responseType: "arraybuffer"
|
||||
});
|
||||
};
|
||||
//视频分类
|
||||
export const getVideoClassListApi = () => {
|
||||
return http.get<any>(`/video/categorys`);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user