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
491 B
9 lines
491 B
import http from 'libs/http'
|
|
|
|
export const getSolsList = (params: System.Page = { pageNum: 1, pageSize: 999 }): Promise<System.PageResponse<Solution.SolutionItem>> => http.get(`/sols/list`, { params })
|
|
|
|
export const saveSols = (params: { name: string }): Promise<null> => http.post(`/sols`, params)
|
|
|
|
export const editSols = (params: { id: number, name: string }): Promise<null> => http.put(`/sols`, params)
|
|
|
|
export const delSols = (ids: string): Promise<null> => http.delete(`/sols/${ids}`)
|