diff --git a/src/api/ApiService.js b/src/api/ApiService.js
index 767998ac47f58b0f06c650f95a4d4f403043994e..751637635281e5ff8de002860695ddae791744ce 100644
--- a/src/api/ApiService.js
+++ b/src/api/ApiService.js
@@ -1,4 +1,5 @@
import axios from 'axios'
+
const BASE_URL = 'http://localhost:80'
// 创建一个名为 ApiService 的对象,包含您的异步方法
const ApiService = {
@@ -107,19 +108,26 @@ const ApiService = {
return await axios.get(BASE_URL + '/csdn/followFans/deleteFollow')
},
//我的图片
- async queryPic(currentPage, pageSize, picType) {
- return await axios.get(BASE_URL + '/picInfo/page', {
- params: {
- page: currentPage,
- pageSize: pageSize,
- picType: picType,
- },
+ async queryPic(currentPage, pageSize, formInline) {
+ return await axios.post(BASE_URL + '/picInfo/page', {
+ page: currentPage,
+ pageSize: pageSize,
+ type: formInline.type == '全部' ? '' : formInline.type,
+ picName: formInline.picName,
})
},
- async editPicConfirm(currentRowId, type) {
+ async editPicConfirm(currentRowId, type, picName) {
return await axios.post(BASE_URL + '/picInfo/update', {
id: currentRowId,
type: type,
+ picName: picName,
+ })
+ },
+
+ async batchUpdatePic(ids, type) {
+ return await axios.post(BASE_URL + '/picInfo/batchUpdatePic', {
+ ids: ids,
+ type: type,
})
},
//余额管理
@@ -149,5 +157,38 @@ const ApiService = {
endDate: formInline.accountDate != null ? formInline.accountDate[1] : '',
})
},
+ //用户管理
+ async multiTriplet(userNames) {
+ return await axios.post(BASE_URL + '/csdn/multiTriplet', userNames)
+ },
+ async autoReply() {
+ return await axios.get(BASE_URL + '/csdn/autoReply')
+ },
+ async singleTriplet(userName) {
+ return await axios.get(BASE_URL + '/csdn/singleTriplet?username=' + userName)
+ },
+
+ //私信管理
+ async dealMessageOne(userName) {
+ return await axios.get(BASE_URL + '/csdn/message/dealMessageOne?userName=' + userName)
+ },
+ async dealMessage() {
+ return await axios.get(BASE_URL + '/csdn/message/dealMessage')
+ },
+ async dealLikeCollect() {
+ return await axios.get(BASE_URL + '/csdn/likeCollect/dealLikeCollect')
+ },
+ async acquireMessage() {
+ return await axios.get(BASE_URL + '/csdn/message/acquireMessage')
+ },
+ async messagePage(currentPage, pageSize, formInline) {
+ return await axios.post('http://localhost:80/csdn/message/page', {
+ page: currentPage,
+ pageSize: pageSize,
+ userName: formInline.userName,
+ nickName: formInline.nickName,
+ hasReplied: formInline.hasRepliedInfo == -1 ? null : formInline.hasRepliedInfo,
+ })
+ },
}
export default ApiService
diff --git a/src/components/MyLogin.vue b/src/components/MyLogin.vue
index 3cd1fe75a022d15607fec6ffcc75b0409d276fe0..210a7d559bb1689cf1724074fe6cbfca78e64352 100644
--- a/src/components/MyLogin.vue
+++ b/src/components/MyLogin.vue
@@ -1,109 +1,113 @@
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/src/components/menus/MyAlgorithmic.vue b/src/components/menus/MyAlgorithmic.vue
index f24c96dadb69e3368f70db179f1fd8a178b2b96c..5b68f56af8c7413df0d485f52065c55f8542dafd 100644
--- a/src/components/menus/MyAlgorithmic.vue
+++ b/src/components/menus/MyAlgorithmic.vue
@@ -2,73 +2,14 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 批量新增算法问题(多个问题换行填写)
-
-
-
-
-
-
-
-
-
-
- 题目名称
- {{ randomAlgorithmic.questionName }}
-
-
- 力扣题号
- {{ randomAlgorithmic.leetcodeNumber }}
-
-
- 力扣链接
- {{ randomAlgorithmic.leetcodeLink }}
-
-
-
-
-
+
+
+
+
@@ -76,12 +17,79 @@
随机一题
+
+
+
+ 题目名称
+ {{ randomAlgorithmic.questionName }}
+
+
+ 力扣题号
+ {{ randomAlgorithmic.leetcodeNumber }}
+
+
+ 力扣链接
+ {{ randomAlgorithmic.leetcodeLink }}
+
+
+
+
新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
批量新增
+
+ 批量新增算法问题(多个问题换行填写)
+
+
+
+
+
+
+
@@ -92,11 +100,23 @@
-
+
+
+
+
+
+
+
+
+
@@ -108,17 +128,25 @@
- 编辑
+ 编辑
-
-
+
+
+
+
+
+
+
+
+
+
@@ -161,326 +189,358 @@
@@ -499,6 +559,7 @@ export default {
margin-top: 16px;
text-align: right;
}
+
.header-button-item {
margin-right: 15px;
font-size: 20px;
@@ -524,11 +585,19 @@ export default {
cursor: pointer;
z-index: 999;
}
+
.custom-textarea {
width: 100%;
text-align: left;
}
+
.backtop:hover {
background-color: #0050a0;
}
+
+.tag-flex {
+ display: flex;
+ width: 150px;
+ flex-wrap: wrap;
+}
\ No newline at end of file
diff --git a/src/components/menus/MyArticleInfo.vue b/src/components/menus/MyArticleInfo.vue
index 6fc34082d83adce56fb41eb3067555de0e0ad9d0..a9c3ed2aec5cd8f633bac0b2691efb5592450c6c 100644
--- a/src/components/menus/MyArticleInfo.vue
+++ b/src/components/menus/MyArticleInfo.vue
@@ -124,7 +124,7 @@
-
+
@@ -282,7 +282,7 @@ export default {
{ type: 2, name: '评论已满' },
{ type: 3, name: '禁言' },
{ type: 4, name: '评论太快' },
- { type: 5, name: '评论已经到了40条' },
+ { type: 5, name: '评论已到40条' },
{ type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' },
],
@@ -605,7 +605,7 @@ export default {
return 'info'
} else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {
return 'success'
- } else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了40条') {
+ } else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已到40条') {
return 'danger'
} else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {
return 'success'
diff --git a/src/components/menus/MyCsdnUser.vue b/src/components/menus/MyCsdnUser.vue
index 36e691f5b4568db71f62740266297682919ed30e..ba9a7d1f5d704b818f7e8f2a0a3d3b8a1810f694 100644
--- a/src/components/menus/MyCsdnUser.vue
+++ b/src/components/menus/MyCsdnUser.vue
@@ -80,18 +80,9 @@
-
- 三连
-
- 确认三连吗?
-
-
+ 三连
-
核验状态
@@ -104,17 +95,10 @@
- 自动评论
-
- 确认自动评论吗?
-
-
+ 自动评论
-
+
@@ -143,7 +127,12 @@
-
+
+
+ {{ scope.row.articleType }}
+
+
+
{{ props.row.updateTime | dateFormat }}
@@ -151,22 +140,8 @@
- 三连
-
- 确认三连?
-
-
- 重置
-
- 确认重置?
-
-
+ 三连
+ 重置
编辑
@@ -209,7 +184,7 @@
-
+
@@ -218,419 +193,416 @@
diff --git a/src/components/menus/MyMessage.vue b/src/components/menus/MyMessage.vue
index e3108a3535e76fed4d1f14cc966b97241348d6f2..d31ae78e7c034afe80adbfff5f965f1a6c237f39 100644
--- a/src/components/menus/MyMessage.vue
+++ b/src/components/menus/MyMessage.vue
@@ -1,332 +1,288 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
-
- 刷新私信列表
-
- 确认刷新私信列表吗?
-
+
-
- 私信点赞收藏
-
- 确认处理私信点赞收藏吗?
-
-
-
-
-
-
-
-
-
- {{ scope.row.nickName }}
-
-
+
+ 私信点赞收藏
+
+
+
+
+
+
+
+ {{ scope.row.nickName }}
+
+
-
-
- {{ scope.row.hasRepliedName }}
-
-
+
+
+ {{ scope.row.hasRepliedName }}
+
+
-
+
-
-
- {{ props.row.updateTime | dateFormat }}
-
-
-
-
- 私信
-
- 确认私信吗?
-
-
- 删除
-
- 确认删除?
-
-
-
-
-
-
-
-
-
-
+
+
+ {{ props.row.updateTime | dateFormat }}
+
+
+
+
+ 私信
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/menus/MyPic.vue b/src/components/menus/MyPic.vue
index b48a258eed163d4b924a2675f03f2467155ea6aa..30fbf94d5c6e0f91f3ba328f7e2f9d26e30f260a 100644
--- a/src/components/menus/MyPic.vue
+++ b/src/components/menus/MyPic.vue
@@ -4,8 +4,11 @@
-
-
+
+
+
+
+
@@ -14,22 +17,44 @@
新增图片
-
+
+
+
+
选择图片
上传到服务器
-
-
+
+ 批量修改
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ props.row.createTime | dateFormat }}
@@ -38,18 +63,20 @@
- 编辑
+ 编辑
-
-
+
+
+
+