连云港陪玩陪聊
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.
 
 
 
 
 
 
chunwan/api/index.js

379 lines
6.2 KiB

import { request } from './request'
const api = {
//套餐下单
mealsetRechargeCreateOrder(data) {
return request({
url: 'api/user/mealsetRechargeCreateOrder',
method: 'post',
data
})
},
mealsetList(data){
return request({
url: 'api/mealsetList',
method: 'get',
data
})
},
//我的钱包
userWallet(data){
return request({
url: 'api/user/userWallet',
method: 'post',
data
})
},
//首页-获取陪玩服务列表
sitterList(data){
return request({
url: 'api/sitterList',
method: 'post',
data
})
},
//我的好友
friendList(data){
return request({
url: 'api/user/friendList',
method: 'post',
data
})
},
//即购 - 获取token
findZegoToken(data){
return request({
url: 'api/user/findZegoToken',
method: 'post',
data
})
},
//预下订单
preCreateOrder(data){
return request({
url: 'api/user/preCreateOrder',
method: 'post',
data
})
},
//会员权益
membershipBenefits(data){
return request({
url: 'api/user/membershipBenefits',
method: 'post',
data
})
},
//关注
careOrCancel(data){
return request({
url: 'api/user/careOrCancel',
method: 'post',
data
})
},
//其他人主页信息
findOtherUserInfo(data){
return request({
url: 'api/user/findOtherUserInfo',
method: 'post',
data
})
},
//首页附近
nearbyCustomerList(data){
return request({
url: 'api/user/nearbyCustomerList',
method: 'post',
data
})
},
//首页推荐
customerRecommendList(data){
return request({
url: 'api/user/customerRecommendList',
method: 'post',
data
})
},
//社交消费-文字/语音/视频结算
socialConsumption(data){
return request({
url: 'api/user/socialConsumption',
method: 'post',
data
})
},
//发送-文字/语音/视频
chat(data){
return request({
url: 'api/user/chat',
method: 'post',
data
})
},
//查询用户余额-(用于判断余额是否足够)
userBalance(data){
return request({
url: 'api/user/userBalance',
method: 'post',
data
})
},
//设置搭讪列表
setAccostDefault(data){
return request({
url: 'api/user/setAccostDefault',
method: 'post',
data
})
},
//搭讪列表
findAccost(data){
return request({
url: 'api/user/findAccost',
method: 'post',
data
})
},
//举报
report(data){
return request({
url: 'api/user/report',
method: 'post',
data
})
},
//文章-点赞
zan(data){
return request({
url: 'api/user/zan',
method: 'post',
data
})
},
//评论或者回复
commentReply(data){
return request({
url: 'api/user/commentReply',
method: 'post',
data
})
},
//动态详情
articleDetail(data){
return request({
url: 'api/user/articleDetail',
method: 'post',
data
})
},
//删除动态
userArticleList(data){
return request({
url: 'api/user/userArticleList',
method: 'post',
data
})
},
//用户动态列表-分页
userArticleList(data){
return request({
url: 'api/user/userArticleList',
method: 'post',
data
})
},
//用户陪玩服务列表
userSellerServiceList(data){
return request({
url: 'api/user/userSellerServiceList',
method: 'post',
data
})
},
//支付订单
paymentOrder(data){
return request({
url: 'api/user/paymentOrder',
method: 'get',
data
})
},
//会员充值-预下单(拿着单号调用-支付订单)
memberCreateOrder(data){
return request({
url: 'api/user/memberCreateOrder',
method: 'post',
data
})
},
//会员协议
getConfigData(data){
return request({
url: 'api/getConfigData',
method: 'get',
data
})
},
//会员列表
memberList(data) {
return request({
url: 'api/memberList',
method: 'get',
data
})
},
//签到
sign(data) {
return request({
url: 'api/user/sign',
method: 'post',
data
})
},
//动态详情
articleDetailt(data) {
return request({
url: 'api/user/articleDetailt',
method: 'post',
data
})
},
//发布动态
publishArticle(data) {
return request({
url: 'api/user/publishArticle',
method: 'post',
data
})
},
//动态列表
articleList(data) {
return request({
url: 'api/user/articleList',
method: 'post',
data
})
},
//我的相册
myAlbums(data) {
return request({
url: 'api/user/myAlbums',
method: 'post',
data
})
},
//保存个人资料
editUser(data) {
return request({
url: 'api/user/editUser',
method: 'post',
data
})
},
//保存语音签名
voiceSign(data) {
return request({
url: 'api/user/voiceSign',
method: 'post',
data
})
},
//根据字典类型获取字典 支付方式:CONFIG_PAY_STATUS 1 开启 0关闭 学历 education_type 薪资 salary_type 婚姻 marriage_type 居住 live_type 异性-女标签 sex_type_2 星座 constellation_type 异性-男标签 sex_type_1
getDictDataByType(data) {
return request({
url: 'api/getDictDataByType',
method: 'get',
data
})
},
//真人认证
detectLivingFace(data) {
return request({
url: 'api/user/detectLivingFace',
method: 'post',
data
})
},
//实名认证
realNameAuth(data) {
return request({
url: 'api/user/realNameAuth',
method: 'post',
data
})
},
//手机认证
phoneAuth(data) {
return request({
url: 'api/user/phoneAuth',
method: 'post',
data
})
},
//查询个人信息
findUserInfo(data) {
return request({
url: 'api/user/findUserInfo',
method: 'post',
data
})
},
//忘记密码/修改密码
forgetPsw(data) {
return request({
url: 'api/forgetPsw',
method: 'post',
data
})
},
//发送验证码
sendSmsCode(data) {
return request({
url: 'api/sendSmsCode',
method: 'post',
data
})
},
//短信登录
toLogin(data) {
return request({
url: 'api/loginByCode',
method: 'post',
data
})
},
//注册账号
regByCode(data) {
return request({
url: 'api/regByCode',
method: 'post',
data
})
},
//账号登录
loginForPsw(data) {
return request({
url: '/api/loginForPsw',
method: 'post',
data
})
},
//修改用户信息
registerEditUser(data) {
return request({
url: 'api/user/registerEditUser',
method: 'post',
data
})
},
//用户信息
getMemberInfo(data) {
return request({
url: 'api/user/getinfo',
method: 'post',
data
})
}
}
export default api