diff --git a/src/common/api/comment.js b/src/common/api/comment.js
index 5cc5c6e..db2f951 100644
--- a/src/common/api/comment.js
+++ b/src/common/api/comment.js
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-06-20 11:38:48
* @LastEditors: ch
- * @LastEditTime: 2022-06-22 20:53:16
+ * @LastEditTime: 2022-06-24 11:15:09
* @Description: file content
*/
@@ -48,3 +48,11 @@ export const ApiPostComment = (data) =>
ToAsyncAwait(MsbRequestTk.post(`${BASE_URL}/app/comment`, data));
+/**
+ * 更新评论有用数
+ * @param {*} param0
+ */
+export const ApiPutCommentUseful = (data) =>
+ToAsyncAwait(MsbRequestTk.put(`${BASE_URL}/app/comment/updateUsefulCount`,data));
+
+
diff --git a/src/components/BsCommentThumbup.vue b/src/components/BsCommentThumbup.vue
index 45b64c5..a028ed0 100644
--- a/src/components/BsCommentThumbup.vue
+++ b/src/components/BsCommentThumbup.vue
@@ -2,14 +2,15 @@
* @Author: ch
* @Date: 2022-06-21 16:01:19
* @LastEditors: ch
- * @LastEditTime: 2022-06-22 16:05:27
+ * @LastEditTime: 2022-06-24 11:14:52
* @Description: file content
-->
-
-
- 2
+
+
+
+ {{usefulCount}}
@@ -18,6 +19,8 @@
diff --git a/src/pages/goods/comment/list.vue b/src/pages/goods/comment/list.vue
index f9ea08a..3122546 100644
--- a/src/pages/goods/comment/list.vue
+++ b/src/pages/goods/comment/list.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-06-21 16:51:03
* @LastEditors: ch
- * @LastEditTime: 2022-06-23 11:14:27
+ * @LastEditTime: 2022-06-24 11:12:05
* @Description: file content
-->
@@ -19,10 +19,12 @@
-