This commit is contained in:
zoujiandong
2025-06-13 19:09:30 +08:00
parent 518a5d1b47
commit a31fc3c1e6
40 changed files with 4210 additions and 532 deletions
+17 -3
View File
@@ -18,6 +18,7 @@ const api = {
getHomeStatics(data) { //首页统计数据
return request('/clinical/stats', data, 'get', true);
},
getArticleDetail(id) { //获取详情
return request('/clinical/article/'+id,{}, 'get', false);
},
@@ -82,6 +83,9 @@ const api = {
getStaticDoctor(id){
return request('/clinical/stats/doctor/'+id,{}, 'get',false);
},
getStaticSick(data) { //首页统计数据
return request('/clinical/stats/label', data, 'get', false);
},
getStaticHospital(id){
return request('/clinical/stats/hospital/'+id, {}, 'get',false);
},
@@ -152,7 +156,7 @@ const api = {
return request('/user/collect/search',data, 'post',false,'application/json');
},
getMyRead(data){
return request('/user/case/read/search',data, 'post',false,'application/json');
return request('/user/case/read/search',data, 'post',true,'application/json');
},
getOss(data){
return request('/sign/oss',data, 'get', false);
@@ -160,11 +164,21 @@ const api = {
getCaseLabel(data){
return request('/case/label',data,'get', false);
},
getSearchLabel(data){
return request('/clinical/label/search',data,'post', true,'application/json');
},
addVote(id,data){
return request('/exchange/vote/'+id,data,'post',true,'application/json');
},
ossUpload(url,data){
return request(url,data,'post','multipart/form-data')
},
getUserPoint(data){
return request('/user/point',data,'get');
},
givePoint(data){
return request('/reward',data,'post',true);
}
}