diff --git a/src/frontend/admin/src/api/sys/job.js b/src/frontend/admin/src/api/sys/job.js index 8df4cb5e..611c8cdc 100644 --- a/src/frontend/admin/src/api/sys/job.js +++ b/src/frontend/admin/src/api/sys/job.js @@ -82,17 +82,6 @@ export default { }, }, - /** - * 计划作业是否存在 - */ - exist: { - url: `${config.API_URL}/api/sys/job/exist`, - name: `计划作业是否存在`, - post: async function (data = {}, config = {}) { - return await http.post(this.url, data, config) - }, - }, - /** * 导出计划作业 */ diff --git a/src/frontend/admin/src/api/sys/loginlog.js b/src/frontend/admin/src/api/sys/loginlog.js index fb82c38a..4a978f8b 100644 --- a/src/frontend/admin/src/api/sys/loginlog.js +++ b/src/frontend/admin/src/api/sys/loginlog.js @@ -49,17 +49,6 @@ export default { }, }, - /** - * 登录日志是否存在 - */ - exist: { - url: `${config.API_URL}/api/sys/login.log/exist`, - name: `登录日志是否存在`, - post: async function (data = {}, config = {}) { - return await http.post(this.url, data, config) - }, - }, - /** * 导出登录日志 */ diff --git a/src/frontend/admin/src/api/sys/sitemsg.js b/src/frontend/admin/src/api/sys/sitemsg.js index bfbebdef..9abe04f9 100644 --- a/src/frontend/admin/src/api/sys/sitemsg.js +++ b/src/frontend/admin/src/api/sys/sitemsg.js @@ -60,17 +60,6 @@ export default { }, }, - /** - * 站内信是否存在 - */ - exist: { - url: `${config.API_URL}/api/sys/site.msg/exist`, - name: `站内信是否存在`, - post: async function (data = {}, config = {}) { - return await http.post(this.url, data, config) - }, - }, - /** * 导出站内信 */ diff --git a/src/frontend/admin/src/api/tpl/example.js b/src/frontend/admin/src/api/tpl/example.js index 384888a9..22829ade 100644 --- a/src/frontend/admin/src/api/tpl/example.js +++ b/src/frontend/admin/src/api/tpl/example.js @@ -49,6 +49,17 @@ export default { }, }, + /** + * 编辑示例 + */ + edit: { + url: `${config.API_URL}/api/tpl/example/edit`, + name: `编辑示例`, + post: async function (data = {}, config = {}) { + return await http.post(this.url, data, config) + }, + }, + /** * 获取单个示例 */