diff --git a/src/api/cai/sysPush.js b/src/api/cai/sysPush.js new file mode 100644 index 0000000..0e181cf --- /dev/null +++ b/src/api/cai/sysPush.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询推送系统消息列表 +export function listSysPush(query) { + return request({ + url: '/cai/sysPush/list', + method: 'get', + params: query + }) +} + +// 查询推送系统消息详细 +export function getSysPush(id) { + return request({ + url: '/cai/sysPush/' + id, + method: 'get' + }) +} + +// 新增推送系统消息 +export function addSysPush(data) { + return request({ + url: '/cai/sysPush', + method: 'post', + data: data + }) +} + +// 修改推送系统消息 +export function updateSysPush(data) { + return request({ + url: '/cai/sysPush', + method: 'put', + data: data + }) +} + +// 删除推送系统消息 +export function delSysPush(id) { + return request({ + url: '/cai/sysPush/' + id, + method: 'delete' + }) +} diff --git a/src/api/cai/sysPushLog.js b/src/api/cai/sysPushLog.js new file mode 100644 index 0000000..99b33b1 --- /dev/null +++ b/src/api/cai/sysPushLog.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询推送系统消息记录列表 +export function listSysPushLog(query) { + return request({ + url: '/cai/sysPushLog/list', + method: 'get', + params: query + }) +} + +// 查询推送系统消息记录详细 +export function getSysPushLog(id) { + return request({ + url: '/cai/sysPushLog/' + id, + method: 'get' + }) +} + +// 新增推送系统消息记录 +export function addSysPushLog(data) { + return request({ + url: '/cai/sysPushLog', + method: 'post', + data: data + }) +} + +// 修改推送系统消息记录 +export function updateSysPushLog(data) { + return request({ + url: '/cai/sysPushLog', + method: 'put', + data: data + }) +} + +// 删除推送系统消息记录 +export function delSysPushLog(id) { + return request({ + url: '/cai/sysPushLog/' + id, + method: 'delete' + }) +} diff --git a/src/views/cai/sysPush/index.vue b/src/views/cai/sysPush/index.vue new file mode 100644 index 0000000..132ef41 --- /dev/null +++ b/src/views/cai/sysPush/index.vue @@ -0,0 +1,461 @@ + + + diff --git a/src/views/cai/sysPushLog/index.vue b/src/views/cai/sysPushLog/index.vue new file mode 100644 index 0000000..d571ec1 --- /dev/null +++ b/src/views/cai/sysPushLog/index.vue @@ -0,0 +1,432 @@ + + +