148 lines
6.0 KiB
Markdown
148 lines
6.0 KiB
Markdown
# 彩票 WEB_API 接口摘要
|
|
|
|
来源:C:/Users/Administrator/Desktop/彩票WEB_API.openapi.json
|
|
接口数量:92
|
|
|
|
## /api/web/account
|
|
|
|
- `GET` `/api/web/account/info`:获取当前登录用户信息接口
|
|
- `PUT` `/api/web/account/profile`:个人信息修改
|
|
- `GET` `/api/web/account/profile/avatar`:头像上传
|
|
|
|
## /api/web/ad
|
|
|
|
- `GET` `/api/web/ad/list`:广告按位置筛选
|
|
|
|
## /api/web/agreement
|
|
|
|
- `GET` `/api/web/agreement/{type}`:隐私/协议
|
|
|
|
## /api/web/auth
|
|
|
|
- `GET` `/api/web/auth/code`:获取验证码
|
|
- `POST` `/api/web/auth/heartbeat`:登录心跳接口-前端可不接
|
|
- `POST` `/api/web/auth/login`:登录接口
|
|
- `POST` `/api/web/auth/logout`:退出登录
|
|
- `POST` `/api/web/auth/register`:注册
|
|
- `GET` `/api/web/auth/slide-captcha`:滑动验证
|
|
- `POST` `/api/web/auth/slide-captcha/verify`:校验滑动结果
|
|
- `GET` `/api/web/auth/sms/code`:发短信接口
|
|
- `POST` `/api/web/auth/social-bind`:第三方账号绑定本地账号
|
|
- `POST` `/api/web/auth/social-callback`:三方回调地址(前端不需要接,给平台用)
|
|
- `POST` `/api/web/auth/social-login`:三方登录接口-暂时不接
|
|
- `GET` `/api/web/auth/verify-config`:查询验证方式
|
|
|
|
## /api/web/banner
|
|
|
|
- `GET` `/api/web/banner/list`:轮播图
|
|
|
|
## /api/web/config
|
|
|
|
- `GET` `/api/web/config`:网站基础信息接口-简化接口选一接就行
|
|
- `GET` `/api/web/config/list`:网站基础信息
|
|
- `GET` `/api/web/config/site`:网站图标
|
|
|
|
## /api/web/expert
|
|
|
|
- `POST` `/api/web/expert/apply`:专家申请
|
|
- `GET` `/api/web/expert/config`:内容长度验证
|
|
- `POST` `/api/web/expert/upload-id-card-back`:上传身份证反面
|
|
- `POST` `/api/web/expert/upload-id-card-front`:上传身份证正面
|
|
|
|
## /api/web/fc3d
|
|
|
|
- `GET` `/api/web/fc3d/free-predict/list`:断组查询接口
|
|
- `GET` `/api/web/fc3d/free-predict/menus`:断组杀组合菜单
|
|
- `GET` `/api/web/fc3d/scheme/{id}`:方案详情
|
|
- `GET` `/api/web/fc3d/scheme/list`:方案查询
|
|
|
|
## /api/web/free-article
|
|
|
|
- `GET` `/api/web/free-article/{id}`:免费文章详情
|
|
- `POST` `/api/web/free-article/{id}/collect`:收藏
|
|
- `POST` `/api/web/free-article/{id}/comment`:评论
|
|
- `GET` `/api/web/free-article/{id}/comments`:免费文章评论
|
|
- `POST` `/api/web/free-article/{id}/like`:点赞
|
|
- `GET` `/api/web/free-article/{id}/related`:相关推荐
|
|
- `GET` `/api/web/free-article/latest`:最新推荐
|
|
- `GET` `/api/web/free-article/list`:免费文章列表
|
|
- `POST` `/api/web/free-article/publish`:发布
|
|
- `GET` `/api/web/free-article/recommend`:免费文章
|
|
|
|
## /api/web/link
|
|
|
|
- `GET` `/api/web/link/friend`:友情链接
|
|
- `GET` `/api/web/link/other-recommend`:其他推荐
|
|
|
|
## /api/web/lottery
|
|
|
|
- `GET` `/api/web/lottery/result/latest`:开奖结果
|
|
- `GET` `/api/web/lottery/result/list`:开奖记录
|
|
- `GET` `/api/web/lottery/result/trend`:走势图
|
|
- `GET` `/api/web/lottery/result/trend/tools`:获取彩种信息排序
|
|
|
|
## /api/web/menu
|
|
|
|
- `GET` `/api/web/menu/{id}/children`:获取下级菜单ID
|
|
- `GET` `/api/web/menu/home-nav`:导航栏
|
|
|
|
## /api/web/mine
|
|
|
|
- `GET` `/api/web/mine/expert-collect/list`:专家收藏
|
|
- `GET` `/api/web/mine/free-article/{id}`:我的免费文章详情
|
|
- `GET` `/api/web/mine/free-article/list`:我的免费文章列表
|
|
- `GET` `/api/web/mine/free-collect/list`:免费文章收藏列表
|
|
- `GET` `/api/web/mine/pay-article/{id}`:我的付费文章详情
|
|
- `GET` `/api/web/mine/pay-article/list`:我的付费文章列表
|
|
- `GET` `/api/web/mine/pay-collect/list`:付费文章收藏列表
|
|
- `GET` `/api/web/mine/purchased-pay-article/list`:我的购买记录
|
|
- `POST` `/api/web/mine/sign-in`:签到
|
|
- `GET` `/api/web/mine/sign-in/list`:签到记录
|
|
- `GET` `/api/web/mine/sign-in/status`:签到状态接口
|
|
- `GET` `/api/web/mine/summary`:个人信息
|
|
|
|
## /api/web/notice
|
|
|
|
- `GET` `/api/web/notice/{id}`:公告详情
|
|
- `GET` `/api/web/notice/list`:网站公告
|
|
|
|
## /api/web/pay-article
|
|
|
|
- `GET` `/api/web/pay-article/{id}/related`:相关推荐
|
|
- `POST` `/api/web/pay-article/article-collect/{articleId}`:文章收藏
|
|
- `POST` `/api/web/pay-article/expert-collect`:专家收藏
|
|
- `GET` `/api/web/pay-article/expert-list`:专家预测详情列表
|
|
- `GET` `/api/web/pay-article/expert-profile`:付费文章专家头部信息
|
|
- `GET` `/api/web/pay-article/expert-rank`:专家预测列表
|
|
- `GET` `/api/web/pay-article/latest`:最新推荐
|
|
- `GET` `/api/web/pay-article/publish`:发布付费文章
|
|
- `GET` `/api/web/pay-article/publish/options`:发布规则查询
|
|
|
|
## /api/web/referral
|
|
|
|
- `POST` `/api/web/referral/bind`:绑定推荐人
|
|
- `GET` `/api/web/referral/bind-preview`:先查推荐人信息,用来弹确认框
|
|
- `GET` `/api/web/referral/invite-list`:邀请用户列表
|
|
- `GET` `/api/web/referral/rebate-list`:返利流水列表
|
|
- `GET` `/api/web/referral/share-info`:邀请码和推广链接
|
|
- `GET` `/api/web/referral/summary`:返利比例
|
|
|
|
## /api/web/wallet
|
|
|
|
- `GET` `/api/web/wallet/flow/list`:资金流水按类型
|
|
- `GET` `/api/web/wallet/overview`:钱包
|
|
- `POST` `/api/web/wallet/purchase/fc3d-scheme`:购买接口
|
|
- `POST` `/api/web/wallet/purchase/pay-article`:购买付费文章/专家预测
|
|
- `POST` `/api/web/wallet/receive-account`:新增收款账户
|
|
- `DELETE` `/api/web/wallet/receive-account/{id}`:删除
|
|
- `PUT` `/api/web/wallet/receive-account/{id}`:修改收款账户
|
|
- `PUT` `/api/web/wallet/receive-account/{id}/default`:把支付方式设置默认
|
|
- `GET` `/api/web/wallet/receive-account/list`:查询收款账户
|
|
- `POST` `/api/web/wallet/receive-account/upload-qrcode`:上传收款二维码
|
|
- `GET` `/api/web/wallet/recharge/config/list`:创建充值订单
|
|
- `GET` `/api/web/wallet/recharge/notify`:充值回调-前端不接(平台对接)
|
|
- `POST` `/api/web/wallet/recharge/order`:创建充值订单
|
|
- `POST` `/api/web/wallet/transfer-to-account`:分销余额或专家佣金转到账户余额
|
|
- `POST` `/api/web/wallet/withdraw`:分销余额或专家佣金申请提现到收款账户
|
|
- `GET` `/api/web/wallet/withdraw/list`:提现申请记录-单独接口
|