征信小程序
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.
 
 
 
zhengxinApplets/api/index.js

300 lines
4.9 KiB

import { request } from './request'
const api = {
//支付记录
getorderlist(data) {
return request({
url: 'api/user/getorderlist',
method: 'post',
data
})
},
//收藏、浏览列表
getreadcontentlist(data) {
return request({
url: 'api/content/getreadcontentlist',
method: 'post',
data
})
},
//关注好友列表
getguanzhu(data) {
return request({
url: 'api/user/getguanzhu',
method: 'post',
data
})
},
//关注好友
guanzhu(data) {
return request({
url: 'api/user/guanzhu',
method: 'post',
data
})
},
//重新发起申请接口
reapply(data) {
return request({
url: 'api/Content/reapply',
method: 'post',
data
})
},
//订单预支付接口
beforePay(data) {
return request({
url: 'api/order/beforePay',
method: 'post',
data
})
},
//创建订单
createOrder(data) {
return request({
url: 'api/order/createOrder',
method: 'post',
data
})
},
//事件操作接口
operaContent(data) {
return request({
url: 'api/content/operaContent',
method: 'post',
data
})
},
//发表评论
setpinglun(data) {
return request({
url: 'api/content/setpinglun',
method: 'post',
data
})
},
//获取评论列表
getpinglun(data) {
return request({
url: 'api/content/getpinglun',
method: 'post',
data
})
},
//获取关联事件列表
getJoinContentList(data) {
return request({
url: 'api/Content/getJoinContentList',
method: 'post',
data
})
},
//获取关联事件列表
getJoinContentList(data) {
return request({
url: 'api/Content/getJoinContentList',
method: 'post',
data
})
},
//获取获取事件证人接口
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