This commit is contained in:
zoujiandong
2025-07-16 17:16:16 +08:00
parent 9a45c7aa03
commit b09524e012
6 changed files with 19 additions and 19 deletions
+6 -6
View File
@@ -20,10 +20,10 @@ const api = {
},
getArticleDetail(id) { //获取详情
return request('/clinical/article/'+id,{}, 'get', false);
return request('/clinical/article/'+id,{}, 'get', true);
},
getVideoDetail(id) { //获取详情
return request('/clinical/video/'+id,{}, 'get', false);
return request('/clinical/video/'+id,{}, 'get', true);
},
collectArticle(id){
return request('/clinical/article/collect/'+id, {}, 'post',false);
@@ -105,7 +105,7 @@ const api = {
return request('/exchange/list', data, 'post',true,'application/json');
},
getExchangeDetail(id){
return request('/exchange/'+id,{}, 'get', false);
return request('/exchange/'+id,{}, 'get', true);
},
getExchangeVote(id){
return request('/exchange/vote/'+id,{}, 'get', false);
@@ -141,7 +141,7 @@ const api = {
return request('/exchange/draft/search', data, 'post',false,'application/json');
},
saveDraft(data){
return request('/exchange/draft', data, 'post',false,'application/json');
return request('/exchange/draft', data, 'post',true,'application/json');
},
delDraft(id){
return request('/exchange/draft/'+id, {}, 'delete',false);
@@ -179,8 +179,8 @@ const api = {
givePoint(data){
return request('/reward',data,'post',true);
},
h5Login(data){
return request('/login/hcp',data,'post');
h5Login(data){
return request('/login/hcp',data,'post',true);
},
readRecord(data){
return request('/user/case/read',data,'post',false,'application/json');