302 lines
5.0 KiB
Dart
302 lines
5.0 KiB
Dart
|
|
|
|
class Api {
|
|
// static const baseUrl = 'https://leyuan666.com/zuul-service/';
|
|
|
|
|
|
static const baseUrl = 'http://192.168.3.55:2000/';
|
|
|
|
|
|
// 获取验证码
|
|
static const sendCode = 'msg-service/sms/code/send';
|
|
|
|
// 登录
|
|
static const login = 'user-service/login/smscode';
|
|
// 登录
|
|
static const new_login = 'user-service/login/password';
|
|
|
|
|
|
//获取七牛token
|
|
static const getqiniuToken = 'up-service/oss/token';
|
|
|
|
|
|
|
|
//上传个人资料
|
|
static const UpdataUserInfo = 'user-service/register/user/info';
|
|
|
|
|
|
//获取圈子列表
|
|
static const getCircleList = 'user-service/app/config';
|
|
|
|
|
|
//获取vip价格
|
|
static const getVipPrice = 'mall-service/vips';
|
|
|
|
|
|
//微信解锁配置信息
|
|
static const queryUnlockPrice = '/mall-service/wxNum/unlock/queryUnlockPrice';
|
|
|
|
|
|
|
|
|
|
//支付宝支付
|
|
static const postAliPayOrder = 'mall-service/alipay/order';
|
|
|
|
|
|
|
|
|
|
//微信支付
|
|
static const postWxOrder = 'mall-service/wxpay/order';
|
|
|
|
|
|
|
|
|
|
//vip状态
|
|
static const getVipStatus = 'mall-service/my/vip';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//刷新token
|
|
static const refreshToken = 'user-service/login/token/refresh';
|
|
|
|
|
|
|
|
//圈子列表
|
|
static const getCircleInterests = 'up-service/interest/interests';
|
|
|
|
|
|
|
|
|
|
//版本信息
|
|
static const APP_VERSION = 'user-service/app/version';
|
|
|
|
//入圈出圈
|
|
static const outCrrcle = 'up-service/interest/';
|
|
|
|
|
|
//发布喊话
|
|
static const SendShout = 'up-service/callout';
|
|
|
|
|
|
|
|
//mine 基本信息
|
|
static const getUserMine = 'user-service/my/main';
|
|
|
|
|
|
//发消息是否需要vip弹窗
|
|
static const getIsVips = 'mall-service/vips/show/';
|
|
|
|
|
|
|
|
//发视频图片消息增加计数
|
|
static const getAddTrialCount = 'mall-service/vips/trialCount/';
|
|
|
|
|
|
//个人信息
|
|
static const getUserInfo = 'user-service/my/home';
|
|
|
|
|
|
//他人信息
|
|
static const getUserInfoTA = 'user-service/user/';
|
|
|
|
|
|
//拉黑
|
|
static const setBlock = 'user-service/user/';
|
|
|
|
|
|
//喜欢
|
|
static const setLike = 'user-service/user/';
|
|
|
|
|
|
//注销账号
|
|
static const offAccount = 'user-service/user/destroy';
|
|
|
|
|
|
//绑定新手机号
|
|
static const bindingPhoto = 'user-service/user/phone';
|
|
|
|
|
|
//黑名单列表
|
|
static const blackList = 'user-service/blacklist/users';
|
|
|
|
|
|
|
|
|
|
//我的相册
|
|
static const getMyAlbum = 'up-service/my/albums';
|
|
|
|
|
|
//他的相册
|
|
static const getTaAlbum = 'up-service/user/';
|
|
|
|
|
|
//上传相册照片
|
|
static const updataAlbum = 'up-service/album';
|
|
|
|
|
|
|
|
//删除相册照片
|
|
static const deleteAlbum = 'up-service/album/';
|
|
|
|
|
|
|
|
//催更Ta的相册
|
|
static const urgeAlbum = 'up-service/user/';
|
|
|
|
|
|
|
|
//获取催更状态
|
|
static const getUrgeStatus = 'up-service/user/';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//关注列表
|
|
static const followList = 'user-service/follow/users';
|
|
|
|
|
|
|
|
|
|
//被关注列表
|
|
static const fansList = 'user-service/fans/users';
|
|
|
|
|
|
//被关注列表
|
|
static const visitList = 'user-service/visit/users';
|
|
|
|
|
|
|
|
//举报
|
|
static const postReport = 'up-service/report';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//意见反馈
|
|
static const getFeedBack = 'up-service/feedback';
|
|
|
|
|
|
|
|
//意见反馈列表
|
|
static const getFeedBackList = 'up-service/my/feedbacks';
|
|
|
|
|
|
|
|
|
|
// //圈子访客记录
|
|
// static const getInterestList = 'up-service/interest/20/users';
|
|
|
|
|
|
|
|
|
|
|
|
//猜你想问
|
|
static const getQuestions = 'up-service/guide/feedback/questions';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//附近banner
|
|
static const getNearbyBeanner = 'user-service/nearby/banner';
|
|
|
|
|
|
|
|
|
|
//附近列表
|
|
static const postNearbyList = 'user-service/nearby/queryNearByUserList';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//获取IM配置信息
|
|
static const getIMInfo = 'msg-service/im/token';
|
|
|
|
//发现页统计
|
|
static const getInterestsCount = 'user-service/my/statistics';
|
|
|
|
|
|
// /up-service/my/interests /up-service/interest/statistics
|
|
static const getMyCircleInterests = 'up-service/my/interests';
|
|
//缘分匹配
|
|
static const getMatch = 'msg-service/im/chat/match';
|
|
//系统通知
|
|
static const getNotices = 'msg-service/system/notices';
|
|
|
|
|
|
//敏感词-屏蔽词 校验
|
|
static const shieldWordCheck = 'msg-service/word/check';
|
|
|
|
//苹果支付
|
|
static const applePayCallBack = 'mall-service/payment/apple/notify';
|
|
|
|
//邀请好友主页
|
|
static const inviteMainPage = 'user-service/invite/mainPage';
|
|
|
|
//系统随机的邀请记录
|
|
static const inviteSysRecord = 'user-service/invite/record/rand';
|
|
|
|
//填写邀请码
|
|
static const inviteFillIn = 'user-service/invite/fillin';
|
|
|
|
//微信解锁
|
|
static const UnlockWx = 'user-service/wxNum/unlock';
|
|
|
|
//微信号填写文案
|
|
static const popWxNumStr = 'user-service/content/popup/wxNum';
|
|
|
|
//微信号修改
|
|
static const updateWxNum = 'user-service/updateWxNum';
|
|
|
|
|
|
//发现数据
|
|
static const findPage = 'user-service/findPage/userList';
|
|
|
|
|
|
//不感兴趣
|
|
static const uninterested = 'user-service/findPage/uninterested/';
|
|
|
|
//发现单个用户数据
|
|
static const getFindPageUserByUserId = 'user-service/findPage/getUserByUserId';
|
|
|
|
//修改密码
|
|
static const userUpdatePassword = 'user-service/userUpdatePassword';
|
|
|
|
|
|
//重置密码
|
|
static const resetPassword = '/user-service/register/user/password/reset';
|
|
|
|
|
|
|
|
} |