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
@@ -20,10 +20,10 @@ const api = {
},
getArticleDetail(id) { //获取详情
return request('/clinical/article/'+id,{}, 'get', true);
return request('/clinical/article/'+id,{}, 'get', false);
},
getVideoDetail(id) { //获取详情
return request('/clinical/video/'+id,{}, 'get', true);
return request('/clinical/video/'+id,{}, 'get', false);
},
collectArticle(id){
return request('/clinical/article/collect/'+id, {}, 'post',false);
@@ -36,6 +36,12 @@ const api = {
},
cancelCollectVideo(id){
return request('/clinical/video/collect/'+id,{}, 'delete',false);
},
collectExchange(id){
return request('/exchange/collect/'+id, {}, 'post',false);
},
cancelCollectExchange(id){
return request('/exchange/collect/'+id,{}, 'delete',false);
},
addVideoComment(id,data){
return request('/clinical/video/comment/'+id,data, 'post',false,'application/json');
@@ -105,7 +111,7 @@ const api = {
return request('/exchange/list', data, 'post',true,'application/json');
},
getExchangeDetail(id){
return request('/exchange/'+id,{}, 'get', true);
return request('/exchange/'+id,{}, 'get', false);
},
getExchangeVote(id){
return request('/exchange/vote/'+id,{}, 'get', false);