111117.29
This commit is contained in:
+9
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user