cmc-web/packages/common/components/select-icon/services.ts

11 lines
259 B
TypeScript
Raw Permalink Normal View History

2024-08-20 12:11:31 +00:00
import request from 'utils/request'
export const baseUrl = '/sms/v1/icon'
export function getIcon(params: Base.IListParams) {
return request.get(baseUrl, { params })
}
export function removeIcon(id: number) {
return request.delete(`${baseUrl}/${id}`)
}