first commit
This commit is contained in:
124
接口整理.txt
Normal file
124
接口整理.txt
Normal file
@@ -0,0 +1,124 @@
|
||||
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 】点击机构 - 机构详情获取机构下写真列表 传入机构id:https://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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user