11 lines
259 B
TypeScript
11 lines
259 B
TypeScript
|
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}`)
|
||
|
}
|