新增bannert图显示状态tag
This commit is contained in:
1 parent
9e7e7215e9
commit
b3ae608daa
3 files changed
+32
-14
No files matched your search
+2
-2
@@ -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`)
|
||||
}
|
||||
Reference in new issue
Block a user