diff --git a/src/api/modules/dynamics.ts b/src/api/modules/dynamics.ts index 7ebf4e3..2f27c01 100644 --- a/src/api/modules/dynamics.ts +++ b/src/api/modules/dynamics.ts @@ -40,6 +40,18 @@ export const deleteDynamics = data => { data }); } +// 删除评论 +export const deleComment = data => { + return http.request("post", "/adminapi/UserZone/del_comment", { + data + }); +} +// 回复评论 +export const replyCommentData = data => { + return http.request("post", "/adminapi/UserZone/comment_zone", { + data + }); +} export const updateSataus = data => { return http.request("post", "/adminapi/UserZone/zone_top_or_show", { data diff --git a/src/utils/http/config.ts b/src/utils/http/config.ts index b24268f..87679bb 100644 --- a/src/utils/http/config.ts +++ b/src/utils/http/config.ts @@ -1,4 +1,4 @@ -export const URL = "https://qixinghuishen.qxhs.xyz"; +export const URL = "https://yushengapi.qxyushen.top"; // export const URL = "https://test.vespa.qxyushen.top"; // 声网appId 在这里换 export const appIdBySw = '02f7339ec98947deaeab173599891932'; \ No newline at end of file diff --git a/src/views/dynamics/dynamicsList/detail.vue b/src/views/dynamics/dynamicsList/detail.vue index 4ddc05f..304b01b 100644 --- a/src/views/dynamics/dynamicsList/detail.vue +++ b/src/views/dynamics/dynamicsList/detail.vue @@ -1,10 +1,66 @@