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.
132 lines
2.1 KiB
132 lines
2.1 KiB
import { request } from './request'
|
|
const api = {
|
|
//我的页面信息接口
|
|
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 |