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