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); }