mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-21 10:46:39 +08:00
26 lines
410 B
TypeScript
26 lines
410 B
TypeScript
import http from "@/http/config";
|
|
|
|
export const getConfig = (params) => {
|
|
return http({
|
|
url: "/api/admin/config/get",
|
|
method: "get",
|
|
params
|
|
})
|
|
}
|
|
|
|
export const save = (data) => {
|
|
return http({
|
|
url: "/api/admin/config/update",
|
|
method: "post",
|
|
data
|
|
})
|
|
}
|
|
|
|
export const modelList = (params) => {
|
|
return http({
|
|
url: "/api/admin/model/list",
|
|
method: "get",
|
|
params
|
|
})
|
|
}
|