2025-03-26

This commit is contained in:
2025-03-26 11:00:21 +08:00
parent 927d7381b8
commit b45f4950d3
468 changed files with 54473 additions and 124 deletions

View File

@@ -0,0 +1,23 @@
import http from "@/api";
const BC = `/banner`;
//分页
export const getBannerClassListApi = (params: any) => {
return http.get<any>(`${BC}/index`, params);
};
//新增
export const getBannerClassListSaveApi = (params: any) => {
return http.post<any>(`${BC}/save`, params);
};
//更新
export const getBannerClassListUpApi = (params: any) => {
const { id } = params;
return http.put<any>(`${BC}/update/${id}`, params);
};
//详情
export const getBannerClassListReadApi = (params: any) => {
return http.get<any>(`${BC}/read/${params}`);
};
//删除
export const getBannerClassListDelApi = (params: any) => {
return http.delete<any>(`${BC}/delete/${params}`);
};