import http from '../common/axios.js' // 发布内容 function activity_add(data) { let url = '/dnseyeapi/Activity/add' return http.post(url, data).then(res => { return res; }) } // 查看内容 function activity_index(data) { let url = '/dnseyeapi/Activity/index' return http.post(url,data).then(res => { return res; }) } // 查看详情内容 function coninfo(data) { let url = '/dnseyeapi/Activity/coninfo' return http.post(url,data).then(res => { return res; }) } // 查看内容 function activity_like(data) { let url = '/dnseyeapi/Activity/like' return http.post(url,data).then(res => { return res; }) } // 我的页面计数 function mycount(data) { let url = '/dnseyeapi/Activity/mycount' return http.post(url,data).then(res => { return res; }) } // 收藏页面 function mycollect(data) { let url = '/dnseyeapi/Activity/mycollect' return http.post(url,data).then(res => { return res; }) } // 获取用户信息 function getuserinfo(data) { let url = '/dnseyeapi/Myinfo/getuserinfo' return http.post(url,data).then(res => { return res; }) } // 修改用户信息 function updateinfo(data) { let url = '/dnseyeapi/Myinfo/updateinfo' return http.post(url,data).then(res => { return res; }) } // 修改用户通知状态 function updatestatus(data) { let url = '/dnseyeapi/Myinfo/updatestatus' return http.post(url,data).then(res => { return res; }) } // 帮助中心 function helplist() { let url = '/dnseyeapi/Activity/helplist' return http.post(url).then(res => { return res; }) } //图片验证码 function verify() { let url = '/dnseyeapi/Login/verify' return http.post(url).then(res => { return res; }) } //图片验证码 function forgot(data) { let url = '/dnseyeapi/Login/forgot' return http.post(url,data).then(res => { return res; }) } //评论 function comment(data) { let url = '/dnseyeapi/Activity/comment' return http.post(url,data).then(res => { return res; }) } //评论详情 function comment_list(data) { let url = '/dnseyeapi/Activity/comment_list' return http.post(url,data).then(res => { return res; }) } //子评论 function comments(data) { let url = '/dnseyeapi/Activity/comments' return http.post(url,data).then(res => { return res; }) } //子评论 function comments_list(data) { let url = '/dnseyeapi/Activity/comments_list' return http.post(url,data).then(res => { return res; }) } //获取城市信息 function locate_information(data) { let url = '/dnseyeapi/Activity/locate_information' return http.post(url,data).then(res => { return res; }) } //查看用户是否关注公众号 function is_interest(data) { let url = '/dnseyeapi/Myinfo/is_interest' return http.post(url,data).then(res => { return res; }) } //获取公众号二维码及文字 function gzhconfig(data) { let url = '/dnseyeapi/Myinfo/gzhconfig' return http.post(url,data).then(res => { return res; }) } export default { activity_add, activity_index, activity_like, mycount, mycollect, getuserinfo, helplist, verify, forgot, updateinfo, updatestatus, coninfo, comments, comment_list, comment, comments_list, locate_information, is_interest, gzhconfig }