Files
pte/接口整理.txt
2024-09-27 01:31:25 +08:00

125 lines
4.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

serverUrl = https://www.tujidao.com/index.php?m=Api
content_type = application/x-www-form-urlencoded
x_requested_with = xmlhttprequest
mpType = app
1用户登录注册接口 POST 需要 content-type
接口:?m=Api&c=Member&a=Index
登录参数
请求体中 {
username: e.username,
password: e.pwd,
qq: e.qq,
way: "login"
}
请求地址中 m=Api&c=Member&a=Index
返回数据:
{
"status": 200,
"data": {
"tip": "登录成功!",
"token": "/NWOYjE9WKn66bBitGVVEy7XfnW2sYpjGUJR5IzndI0l9yLhb/Btqd01ln1JWBA+8e8nmuivxpJrElXCnxPSJg=="
}
}
用户注册 参数 {
username: e.username,
password: e.pwd,
repassword: e.repwd,
qq: e.qq,
way: "reg",
fr: "tujiguAPP"
}
进入写真集详情接口
【POST接口 】https://www.tujidao.com/index.php?m=Api&c=Tuji&a=index
请求体:
{
id: 14428
}
如果GET请求调用不传body参数的话就是详情页面的巧遇功能随机展示一个写真的详情
【GET请求】https://www.tujidao.com/index.php?m=Api&c=Tuji&a=index
1首页
【 GET接口 需要 content-type 】首页的横向菜单 https://www.tujidao.com/index.php?m=Api&c=Index&a=menu
【 GET接口 需要 content-type 】横向菜单被点击查看列表https://www.tujidao.com/index.php?m=Api&c=Index&a=index&id=0&p=1
2分类
【 GET接口 需要 content-type 】获取分类页面的tab分类标题 https://www.tujidao.com/index.php?m=Api&c=Tag&a=menu
写真机构
【 GET接口 需要 content-type 】获取所有的写真机构https://www.tujidao.com/index.php?m=Api&c=Jigou&a=index
【 GET接口 需要 content-type 】点击机构 - 获取机构顶部的机构信息https://www.tujidao.com/index.php?m=Api&c=Jigou&a=detail&id=101
【 GET接口 需要 content-type 】点击机构 - 机构详情获取机构下写真列表 传入机构idhttps://www.tujidao.com/index.php?m=Api&c=Jigou&a=tulist&id=101&p=1
推荐模特
【 GET接口 需要 content-type 】获取所有推荐模特https://www.tujidao.com/index.php?m=Api&c=Renwu&a=index
【 GET接口 需要 content-type 】点击模特 - 获取模特主页的信息: https://www.tujidao.com/index.php?m=Api&c=Renwu&a=detail&id=2916
【 GET接口 需要 content-type 】点击模特 - 获取模特的写真列表: https://www.tujidao.com/index.php?m=Api&c=Renwu&a=tulist&id=2916&p=1
推荐标签(分类)
【 GET接口 需要 content-type 】获取所有的推荐标签 https://www.tujidao.com/index.php?m=Api&c=Biaoqian&a=index
【 GET接口 需要 content-type 】点击标签 - 标签介绍信息 https://www.tujidao.com/index.php?m=Api&c=Biaoqian&a=detail&id=13
【 GET接口 需要 content-type 】点击标签 - 标签下的数据列表 https://www.tujidao.com/index.php?m=Api&c=Biaoqian&a=tulist&id=13&p=1
3说明
vip说明https://www.tujidao.com/v.php
4我的
【 GET接口 需要 content-type 和 TOKEN】顶部的vip信息展示 https://www.tujidao.com/index.php?m=Api&c=User&a=Index
【 GET接口 需要 content-type 和 TOKEN】升级充值 页面的接口 https://www.tujidao.com/index.php?m=Api&c=Pay&a=index
【 GET接口 需要 content-type 】更新记录 页面的接口 https://www.tujidao.com/index.php?m=Api&c=Index&a=gengxin&p=1
【 GET接口 需要 content-type 和 TOKEN】用户免费体验 页面的接口 https://www.tujidao.com/index.php?m=Api&c=User&a=free
【 GET接口 需要 content-type 和 TOKEN】我的收藏 页面的接口 https://www.tujidao.com/index.php?m=Api&c=Fav&a=index&p=1
我的收藏 中,删除收藏接口 &c=User&a=delsc&id=
【 POST接口 需要 content-type 和 TOKEN】修改信息接口 https://www.tujidao.com/index.php?m=Api&c=User&a=save
{
password: e.pwd,
qq: e.qq
};
5其他接口
5.1:搜索页面
【 GET接口 需要 content-type 】进入搜索结果页面后的tabs标题 https://www.tujidao.com/index.php?m=Api&c=Search&a=menu
【 GET接口 需要 content-type 】搜索接口 https://www.tujidao.com/index.php?m=Api&c=Search&a=Tuji&key=牛仔&p=2
5.2
【 GET接口 需要 content-type 和 x-requested-with 】App升级接口https://www.tujidao.com/index.php?m=Api&c=Version