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

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