You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

9 lines
476 B

import http from 'libs/http'
export const getcolorList = (params: System.Page = { pageNum: 1, pageSize: 999 }): Promise<System.PageResponse<Color.ColorItem>> => http.post(`/color/list`, params)
export const saveColor = (params: Color.ColorItem): Promise<null> => http.post(`/color`, params)
export const editColor = (params: Color.ColorItem): Promise<null> => http.put(`/color`, params)
export const delColor = (ids: string): Promise<null> => http.delete(`/color/${ids}`)