diff --git a/mining-pool/dist.zip b/mining-pool/dist.zip index 8fb5a34..599ffba 100644 Binary files a/mining-pool/dist.zip and b/mining-pool/dist.zip differ diff --git a/mining-pool/src/App.vue b/mining-pool/src/App.vue index 805b156..3226c15 100644 --- a/mining-pool/src/App.vue +++ b/mining-pool/src/App.vue @@ -1,82 +1,120 @@ diff --git a/mining-pool/src/api/broadcast.js b/mining-pool/src/api/broadcast.js new file mode 100644 index 0000000..cae81ee --- /dev/null +++ b/mining-pool/src/api/broadcast.js @@ -0,0 +1,54 @@ +import request from '../utils/request' + +//用于获取m2pool广播数据 主页循环播放 +export function getBroadcast(data) { + return request({ + url: `manage/broadcast/find/data/by/id`, + method: 'post', + data + }) +} +//新增广播 +export function getAddBroadcast(data) { + return request({ + url: `manage/broadcast/add`, + method: 'post', + data + }) + } + + //删除广播 +export function DeleteBroadcast(data) { + return request({ + url: `manage/broadcast/delete`, + method: 'post', + data + }) + } + + //分页查询所有广播信息 +export function listBroadcast(data) { + return request({ + url: `manage/broadcast/get/list/by/page`, + method: 'post', + data + }) + } + + //修改广播内容 +export function updateBroadcast(data) { + return request({ + url: `manage/broadcast/update`, + method: 'post', + data + }) + } + +//修改查看通知详情 +export function dataInfo(data) { + return request({ + url: `manage/broadcast/find/data/info`, + method: 'post', + data + }) +} \ No newline at end of file diff --git a/mining-pool/src/api/userManagement.js b/mining-pool/src/api/userManagement.js new file mode 100644 index 0000000..1d92ddf --- /dev/null +++ b/mining-pool/src/api/userManagement.js @@ -0,0 +1,30 @@ +import request from '../utils/request' + +//根据条件 查询注册用户列表 +export function getUserList(data) { + return request({ + url: `manage/user/list/info`, + method: 'post', + data + }) +} + + +//发送邮件给用户 +export function sendMail(data) { + return request({ + url: `manage/user/send/text/mail/message`, + method: 'post', + data + }) + } + + +// //发送邮件给用户 +// export function sendMail(data) { +// return request({ +// url: `manage/user/get/user/info`, +// method: 'post', +// data +// }) +// } \ No newline at end of file diff --git a/mining-pool/src/components/BackAdminLayout.vue b/mining-pool/src/components/BackAdminLayout.vue new file mode 100644 index 0000000..a50097c --- /dev/null +++ b/mining-pool/src/components/BackAdminLayout.vue @@ -0,0 +1,255 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/src/components/ChatWidget.vue b/mining-pool/src/components/ChatWidget.vue index 11deabe..5df67b1 100644 --- a/mining-pool/src/components/ChatWidget.vue +++ b/mining-pool/src/components/ChatWidget.vue @@ -1,7 +1,7 @@