| Version 11 (modified by fangxirui, 11 years ago) (diff) |
|---|
1. 车友会提供APP接口4.5
1. 举报管理相关
1.1. 内容举报接口
接口:/appapi/4.5/report/addReport.do [POST]
请求参数:
reporterId: 举报人id [long, not null]
reporterNickname: 举报人昵称 [not null]
targetUserId: 被举报人id [long, not null]
targetUserNickname: 被举报人昵称 [not null]
targetId: 举报内容ID [long, not null]
targetExtId: (简单做法:如果是相片,这个id,传的就是相片所对应相册的id,其他类型,不需要传)
targetUrl: 举报内容URL
targetType: 举报类型(1:帖子;2:动态;3:话题;4:照片;5:活动;6:投票;7:WebView') [int, not null]
content: 举报原因
是否登录 :是
缓存时间 : 否
是否分页 : 否
返回结果:
{
code:0成功,-1失败
message:提示信息
version: 接口版本号如1.0,1.0(latest)表示最新版本
}
2. 用户管理相关
2.1. 用户权限接口
原有接口:/1.0/user/getUserPermission.do
1、添加锁用户判断
2、添加用户爱车信息,最终返回结果:
{
code:0成功,-1失败
message:提示信息
version: 接口版本号如1.0,1.0(latest)表示最新版本
// 新增字段
carInfo: {
isVip: 是否认证车主(0-否;1-是)
brandId: 品牌id
brandName: 品牌名
serialId: 车系id
serialName: 车系名
},
permissions: [
// 保持原来字段不变
]
}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)