circle_app/circle_app/lib/network/api.dart
2023-12-29 10:05:58 +08:00

313 lines
7.1 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/';
//IM状态
static const imstate = '/user-service/user/im/state';
//发视频图片消息增加计数
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/v2';
//获取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 getMyCircleAll = '/up-service/my/interests/all';
//缘分匹配
static const getMatch = 'msg-service/im/chat/match';
//系统通知
static const getNotices = 'msg-service/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';
//获取多个圈子是否有新喊话
static const calloutsNew = '/up-service/interests/callouts/new';
//是否置顶圈子
static const circleTop = '/up-service/interest/top';
//是否隐藏微信号
static const hideWxNum = '/user-service/hideWxNum/';
//是否显示好评反馈
static const showPositiveFeedBack = '/up-service/showPositiveFeedBack';
//钱包充值选项查询
static const walletRechargeSelectItem = '/mall-service/wallet/walletRechargeConfig';
//用户资产
static const userAsset = '/mall-service/wallet/userAsset';
//账单
static const userBill = '/mall-service/wallet/userBill';
static const rechargeOrder = '/mall-service/wallet/walletRechargeConfig';
static const sendGift = '/mall-service/gift/sendGift';
//礼物列表
static const giftList = '/mall-service/gift/giftMall';
//礼物墙
static const giftHall = '/mall-service/gift/giftHall/';
//速聊推荐
static const recommendQuickChatUser = '/msg-service/recommendQuickChatUser';
//站外分享
static const offSite = '/up-service/share/offSite';
//抢占第一
static const startQuick = '/msg-service/startQuick';
//是否开启速聊
static const queryQuickStart = '/msg-service/queryQuickStart';
//不显示在速聊列表
static const stopQuick = '/msg-service/stopQuick';
//呼唤30人
static const callOthers = '/msg-service/call/others';
//获取一条招呼语
static const msgRandOne = '/msg-service/message/hello_word/randOne';
//检查更新微信权限
static const checkWxNumState = '/user-service/user/updateWxNum/state';
//保存聊天记录
static const chatRecord = '/msg-service/message/chat/log/save';
//聊天推荐圈友
static const chatRecommendFriend = '/msg-service/im/chat/recommend/v2';
//是否显示送礼物
static const isShow_give_gift = '/msg-service/message/show_give_gift/';
//想要微信
static const noticeWxNum = '/user-service/user/updateWxNum/notice/';
//是否弹窗
static const popup = '/user-service/follow/popup/';
}