新增bannert图显示状态tag

This commit is contained in:
zlong committed 2024-11-21 10:58:33 +08:00
1 parent 9e7e7215e9
commit b3ae608daa
3 files changed
+32 -14

No files matched your search

+2 -2
View File
@@ -20,10 +20,10 @@ export const deleteCarousal = (id:number) => {
return httpClient.delete(`/carousals/${id}`)
}
export const activeCarousal = (id:number) => {
export const activeCarousal = (id: { id: string | number }) => {
return httpClient.put(`/carousals/${id}/active`)
}
export const inactiveCarousal = (id:number) => {
export const inactiveCarousal = (id: { id: string | number }) => {
return httpClient.put(`/carousals/${id}/inactive`)
}