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.
27 lines
494 B
27 lines
494 B
import request from "@/api/request"; |
|
|
|
export function listDictContentTree() { |
|
return request.get({ |
|
url: `/dict/content/tree` |
|
}); |
|
} |
|
|
|
export function addDictContent(body) { |
|
return request.post({ |
|
url: `/dict/content`, |
|
body |
|
}); |
|
} |
|
|
|
export function updateDictContent(body) { |
|
return request.put({ |
|
url: `/dict/content`, |
|
body |
|
}); |
|
} |
|
|
|
export function delDictContent(id) { |
|
return request.del({ |
|
url: `/dict/content/${id}` |
|
}); |
|
} |