mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-24 05:26:58 +00:00
refactor(module): 重构模块结构,将示例模块和AI模块迁移至应用模块
- 删除原有的示例模块(module_example)和AI模块(module_ai) - 在应用模块(module_application)下新增AI子模块和示例子模块 - 更新相关路由配置,移除不再使用的模块路由 - 调整定时任务模块从监控模块迁移至应用模块 - 更新前端API路径和组件文件结构 - 修正数据库表名前缀,统一使用'app_'作为应用模块表前缀
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
const API_PATH = "/monitor/job";
|
||||
const API_PATH = "/application/job";
|
||||
|
||||
const JobAPI = {
|
||||
getJobList(query: JobPageQuery) {
|
||||
@@ -1,6 +1,6 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
const API_PATH = "/example/demo";
|
||||
const API_PATH = "/generator/demo";
|
||||
|
||||
const ExampleAPI = {
|
||||
getExampleList(query: ExamplePageQuery) {
|
||||
@@ -48,11 +48,11 @@ const GencodeAPI = {
|
||||
},
|
||||
|
||||
// 修改代码生成信息
|
||||
updateGenTable(table_id: number, data: GenTableUpdateSchema) {
|
||||
updateGenTable(table_id: number, body: GenTableUpdateSchema) {
|
||||
return request<ApiResponse>({
|
||||
url: `${API_PATH}/update/${table_id}`,
|
||||
method: 'put',
|
||||
data: data
|
||||
data: body,
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user