You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

46 lines
724 B

import request from '@/utils/request'
export function getIndexData(q){
return request.get('index', q, {login: false})
}
/*
* 文章列表
* */
export function getArticle(q) {
return request.get("/article/list", q, {
login: false
});
}
/*
* 文章详情
* */
export function getArticleDetail(q) {
return request.get("/article/details/" + q.id);
}
/*
* 活动列表
* */
export function getActivityList(data) {
return request.post("/activity/activityList",data);
}
/*
* 活动列表
* */
export function getActivityInfo(data) {
return request.get("/activity/activityInfo/" + data);
}
/*
* 专家列表
* */
export function getListExperts(data) {
return request.get("/expert/listExperts", data);
}