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