111117.29

This commit is contained in:
zoujiandong
2025-07-29 15:39:33 +08:00
parent 071ab8de73
commit 4ca1b9cf42
71 changed files with 4259 additions and 652 deletions
+9 -3
View File
@@ -17,10 +17,10 @@ const api = {
return utils_request.request("/clinical/stats", data, "get", true);
},
getArticleDetail(id) {
return utils_request.request("/clinical/article/" + id, {}, "get", true);
return utils_request.request("/clinical/article/" + id, {}, "get", false);
},
getVideoDetail(id) {
return utils_request.request("/clinical/video/" + id, {}, "get", true);
return utils_request.request("/clinical/video/" + id, {}, "get", false);
},
collectArticle(id) {
return utils_request.request("/clinical/article/collect/" + id, {}, "post", false);
@@ -34,6 +34,12 @@ const api = {
cancelCollectVideo(id) {
return utils_request.request("/clinical/video/collect/" + id, {}, "delete", false);
},
collectExchange(id) {
return utils_request.request("/exchange/collect/" + id, {}, "post", false);
},
cancelCollectExchange(id) {
return utils_request.request("/exchange/collect/" + id, {}, "delete", false);
},
addVideoComment(id, data) {
return utils_request.request("/clinical/video/comment/" + id, data, "post", false, "application/json");
},
@@ -101,7 +107,7 @@ const api = {
return utils_request.request("/exchange/list", data, "post", true, "application/json");
},
getExchangeDetail(id) {
return utils_request.request("/exchange/" + id, {}, "get", true);
return utils_request.request("/exchange/" + id, {}, "get", false);
},
getExchangeVote(id) {
return utils_request.request("/exchange/vote/" + id, {}, "get", false);