1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- import {request} from "@/util/index.js";
- const req = {
- /**
- * 登录
- */
- login: {
- call4VeriCode: (params) => request("/unified/call4VeriCode",'POST',params), // 获取验证码
- login: (params) => request("/unified/login",'POST', params), // 登录
- wxLogin: (params) => request("/unified/login",'POST', params), // 微信手机号登录
- saveSex:(params) => request("/saveData1",'POST', params), // 保存性别
- saveFigure:(params) => request("/saveData2",'POST', params), // 保存社交形象
- saveDatum:(params) => request("/saveData3",'POST', params), // 保存社交资料
- saveCity:(params) => request("/saveData4",'POST', params), // 保存城市
- saveWechat:(params) => request("/saveData5",'POST', params), // 保存微信
- popularCities:(params) => request("/popularCities",'POST', params), // 热门城市
- upload:(params) => request("/faceImage/upload",'POST', params), //图片上传
- randNick:(params) => request("/rdk",'POST', params), //随机昵称
- editPersonal:(params) => request("/editPersonal",'POST', params),//个人资料编辑
- labelsConfig:(params) => request("/txmqgetUserWantedLabels",'POST', params),//个人标签配置
- editHead:(params) => request("/editHeadIcon",'POST', params),//更新头像
- },
- /**
- * 通用
- */
- public:{
- aliossToken:(params) => request("/alioss/token",'POST', params), //阿里云直传token获取
- aliossCdn:(params) => request("/cdnConfig",'POST', params), //获取阿里云上传cdn
- videoProcess:(params) => request("/txmqpersonalPageHomeVideoProcessing",'POST', params), //获取阿里云上传cdn
- config:(params) => request("/lcds",'POST', params), //通用字典查询字典-dicts,可用值:Careers,Hobbys,Hopes
- ranking:(params) => request("/txmqhotRanking",'POST', params),//排行榜
- friends:(params) => request("/loadFriendsListByIndex",'POST', params),//排行榜
- mine:(params) => request("/lmtf",'POST', params),//我的-个人资料
- album:(params) => request("/auls",'POST', params),//我的-个人相册
- albumSort:(params) => request("/resetMediaSeqs",'POST', params),//相册排序
- albumDelete:(params) => request("/rmvMedia",'POST', params),//相册删除
- albumAdd:(params) => request("/addMediaBatch",'POST', params),//相册添加
- cover:(params) => request("/tpvp",'POST', params),//我的-个人封面
- mineDetail:(params) => request("/loadUserDetailSelf",'POST', params),//自己用户详情
- userDetail:(params) => request("/loadUserDetailOther",'POST', params),//他人用户详情
- isLike:(params) => request("/juur",'POST', params),//喜欢和拉黑
- userData:(params) => request("/txmqloadUsersByType",'POST', params),//获取用户相关列表数字(个人中心[我喜欢,黑名单,喜欢我,我浏览,访客])(糖果公园专用接口)
- guestor:(params) => request("/loadUsersByType",'POST', params),//异性访客
- priceBySceneConfigs:(params) => request("/loadPriceBySceneConfigs",'POST', params),//糖果、会员套餐基本配置
- vipPromotions:(params) => request("/listPromotionsPay",'POST', params),//vip跑马灯
- heartBeat:(params) => request("/heartbeat",'POST', params),//心跳汇报
- seeMaleDetail:(params) => request("/vfdmo",'POST', params),//女性看男性主页
- seeFamaleDetail:(params) => request("/vmdfo",'POST', params),//男性看女性主页
- notifyActive:(params) => request("/activeNotifyOverview",'POST', params),//互动通知最后一条消息以及总未读数
- loadSystemMsgs:(params) => request("/loadSystemMsgs",'POST', params),//系统消息列表
- search:(params) => request("/loadUsersByIndex",'POST', params),//搜索
- friendsNoAuth:(params) => request("/loadUsersByIndexFirstNoAuth",'POST', params),//无登录体验数据
- },
- pay:{
- creatWxOrder:(params) => request("/createWxpayOrderByMiniProgram",'POST', params),//创建微信订单
- },
- IM:{
- loadSig:(params) => request("/loadSig",'POST', params),//创建微信订单
- },
- /**
- * 提现
- */
- bag:{
- loadMyWithdrawalInfo: (params) => request("/bag/loadMyWithdrawalInfo",'POST', params), // 提现相关信息
- my: (params) => request("/bag/my",'POST', params), // 我的提现详情
- incomeList: (params) => request("/bag/incomeList", params), // 收益明细
- loadMyWithdrawRecords: (params) => request("/bag/loadMyWithdrawRecords",'POST','POST', params), // 提现记录
- coinList: (params) => request("/bag/coinList",'POST', params), // 颜豆明细
- editAlipay: (params) => request("/bag/editAlipay",'POST', params), // 绑定支付宝账号
- createWithdrawalOrder: (params) => request("/bag/createWithdrawalOrder",'POST', params), // 创建提现订单
- isEffectiveWithdrawalOrder: (params) => request("/bag/isEffectiveWithdrawalOrder",'POST', params), // 检查提现订单是否有效
- submitWithdrawalOrder: (params) => request("/bag/submitWithdrawalOrder",'POST', params), // 提交提现订单
- createIncomeOrder: (params) => request("/bag/createIncomeOrder",'POST', params), //创建收益兑换颜豆订单
- submitIncomeOrder: (params) => request("/bag/submitIncomeOrder",'POST', params), // 提交收益兑换颜豆订单
- editAlipay: (params) => request("/bag/editAlipay",'POST', params), // 绑定支付宝
- loadMyWithdrawDetail: (params) => request("/bag/loadMyWithdrawDetail",'POST', params), // 查询单笔提现订单
- },
- };
- export default req;
|