6.10
This commit is contained in:
+25
-3
@@ -94,9 +94,12 @@ const api = {
|
||||
getExchangeStaticUser(id){
|
||||
return request('/exchange/stats/user/'+id,{}, 'get', false);
|
||||
},
|
||||
searchExchage(){
|
||||
searchExchage(data){
|
||||
return request('/exchange/search', data, 'post',true,'application/json');
|
||||
},
|
||||
searchExchageGood(data){
|
||||
return request('/exchange/list', data, 'post',true,'application/json');
|
||||
},
|
||||
getExchangeDetail(id){
|
||||
return request('/exchange/'+id,{}, 'get', false);
|
||||
},
|
||||
@@ -122,10 +125,22 @@ const api = {
|
||||
return request('/exchange/comment/top/'+id, {}, 'delete',false);
|
||||
},
|
||||
getExchangeComment(data){
|
||||
return request('/exchange/comment/page', data, 'post',false);
|
||||
return request('/exchange/comment/page', data, 'post',false,'application/json');
|
||||
},
|
||||
getExchangeCommentUser(data){
|
||||
return request('/exchange/user/comment/page', data, 'post',false);
|
||||
return request('/exchange/user/comment/page', data, 'post',false,'application/json');
|
||||
},
|
||||
addExchange(data){
|
||||
return request('/exchange', data, 'post',false,'application/json');
|
||||
},
|
||||
getDraftList(data){
|
||||
return request('/exchange/draft/search', data, 'post',false,'application/json');
|
||||
},
|
||||
getVideoCommentUser(data){
|
||||
return request('/clinical/video/user/comment/page', data, 'post',false,'application/json');
|
||||
},
|
||||
getArticleCommentUser(data){
|
||||
return request('/clinical/article/user/comment/page', data, 'post',false,'application/json');
|
||||
},
|
||||
getMyCollect(data){
|
||||
return request('/user/collect/search',data, 'post',false,'application/json');
|
||||
@@ -133,6 +148,13 @@ const api = {
|
||||
getMyRead(data){
|
||||
return request('/user/case/read/search',data, 'post',false,'application/json');
|
||||
},
|
||||
getOss(data){
|
||||
return request('/sign/oss',data, 'get', false);
|
||||
},
|
||||
|
||||
ossUpload(url,data){
|
||||
return request(url,data,'post','multipart/form-data')
|
||||
},
|
||||
queryList(data) {
|
||||
const listCount = 24;
|
||||
return _queryList(data, listCount);
|
||||
|
||||
Reference in New Issue
Block a user