|
|
|
import { request } from './request'
|
|
|
|
const api = {
|
|
|
|
//获取获取事件证人接口
|
|
|
|
getzhengren(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/Content/getzhengren',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//获取用户事件详情接口
|
|
|
|
getContentdetail(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/Content/getContentdetail',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//获取用户事件接口
|
|
|
|
getUserContentList(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/content/getUserContentList',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//发布事件接口
|
|
|
|
setContent(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/content/setContent',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//获取事件标签
|
|
|
|
getContentTag(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/content/getContentTag',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//用户收入明细
|
|
|
|
getshourulist(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/user/getshourulist',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//联系客服
|
|
|
|
getlianxi(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/Systembasic/getlianxi',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//用户提现记录
|
|
|
|
gettixianlist(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/user/gettixianlist',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//用户提现接口
|
|
|
|
settixianmomey(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/user/settixianmomey',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//我的页面信息接口
|
|
|
|
getHomeInfo(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/user/getHomeInfo',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//获取反馈列表
|
|
|
|
systemfankuiGetList(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/Systemfankui/getlist',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//新增反馈类型
|
|
|
|
systemfankuiSetfankui(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/Systemfankui/setfankui',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//获取反馈类型
|
|
|
|
systemfankuiGettype(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/Systemfankui/gettype',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//获取系统协议类接口
|
|
|
|
systembasicGetInfo(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/Systembasic/getinfo',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//查询实名信息
|
|
|
|
getUsershenhe(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/Usershenhe/getinfo',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//修改实名认证
|
|
|
|
setshenhe(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/Usershenhe/setshenhe',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//修改手机号
|
|
|
|
changemobile(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/user/changemobile',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//获取事件列表
|
|
|
|
getContentList(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/content/getContentList',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//获取广告位接口(轮播图)
|
|
|
|
getadvert(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/Systembasic/getadvert',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//类型推荐
|
|
|
|
getTylelist(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/contenttype/getTylelist',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//发送验证码
|
|
|
|
sendMsm(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/sms/send',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//登录
|
|
|
|
toLogin(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/User/mobilelogin',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//授权登录
|
|
|
|
mnpLogin(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/Login/mnpLogin',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//修改用户信息
|
|
|
|
editMember(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/user/profile',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//用户信息
|
|
|
|
getMemberInfo(data) {
|
|
|
|
return request({
|
|
|
|
url: 'api/user/getinfo',
|
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export default api
|