diff --git a/hchyun-ui/src/api/tool/apiclass.js b/hchyun-ui/src/api/tool/apiclass.js
index b5342b8..6383c1e 100644
--- a/hchyun-ui/src/api/tool/apiclass.js
+++ b/hchyun-ui/src/api/tool/apiclass.js
@@ -12,11 +12,10 @@ export function listApiclass(query) {
// 获取模块管理选项列表
export function queryListApiclass() {
return request({
- url: '/tool/module/querylist',
+ url: '/tool/apiclass/querylist',
method: 'get',
})
}
-
// 查询接口类名详细
export function getApiclass(id) {
return request({
diff --git a/hchyun-ui/src/api/tool/interTable.js b/hchyun-ui/src/api/tool/interTable.js
new file mode 100644
index 0000000..6aa1820
--- /dev/null
+++ b/hchyun-ui/src/api/tool/interTable.js
@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询接口信息列表
+export function listIntertable(query) {
+ return request({
+ url: '/generator/intertable/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询接口信息详细
+export function getIntertable(id) {
+ return request({
+ url: '/generator/intertable/' + id,
+ method: 'get'
+ })
+}
+
+// 新增接口信息
+export function addIntertable(data) {
+ return request({
+ url: '/generator/intertable',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改接口信息
+export function updateIntertable(data) {
+ return request({
+ url: '/generator/intertable',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除接口信息
+export function delIntertable(id) {
+ return request({
+ url: '/generator/intertable/' + id,
+ method: 'delete'
+ })
+}
+
+// 导出接口信息
+export function exportIntertable(query) {
+ return request({
+ url: '/generator/intertable/export',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/hchyun-ui/src/api/tool/module.js b/hchyun-ui/src/api/tool/module.js
index 34648ce..3d2dcc1 100644
--- a/hchyun-ui/src/api/tool/module.js
+++ b/hchyun-ui/src/api/tool/module.js
@@ -19,6 +19,7 @@ export function queryListModule() {
})
}
+
// 查询模块管理详细
export function getModule(id) {
return request({
diff --git a/hchyun-ui/src/utils/request.js b/hchyun-ui/src/utils/request.js
index 96aaac7..77fe3d1 100644
--- a/hchyun-ui/src/utils/request.js
+++ b/hchyun-ui/src/utils/request.js
@@ -50,7 +50,7 @@ service.interceptors.response.use(res => {
return Promise.reject(new Error(msg))
}else if (code == 199){
Message({
- message: msg,
+ message: "查询结果为空!",
type: 'info'
})
return res.data
diff --git a/hchyun-ui/src/views/tool/apiclass/editTable.vue b/hchyun-ui/src/views/tool/apiclass/editTable.vue
index 522a3a5..b7d5850 100644
--- a/hchyun-ui/src/views/tool/apiclass/editTable.vue
+++ b/hchyun-ui/src/views/tool/apiclass/editTable.vue
@@ -4,126 +4,73 @@
-
+
+
+
+ 新增
+
+
+
-
-
-
-
+
+
+
-
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ dict.dictName }}
- {{ dict.dictType }}
-
-
+ 删除
+
-
-
-
+
+
+
@@ -135,70 +82,125 @@