Changes between Version 28 and Version 29 of yimei2.0.0_api
- Timestamp:
- 05/29/2015 03:48:24 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
yimei2.0.0_api
v28 v29 165 165 ||pageNo||页数||int||1||是|||| 166 166 ||pageSize||页面大小||int||10||是|||| 167 ||typeID|| 类型ID||int||10||是||类型为全部的时候要返回精华推荐,最多三条||167 ||typeID||圈子类型ID||int||10||是||类型为全部的时候要返回精华推荐,最多三条|| 168 168 ||queryType||查询类型||int||10||是||1:精华,2:最新,3:帖子,4:日记|| 169 169 … … 188 188 "laudCount":1, 189 189 "dateTime":"刚刚", 190 "postType":1 190 "isessence":1, 191 "ispublicationPhoto":1 191 192 } 192 193 ], … … 194 195 { 195 196 "essenceID":"", 196 "t ypeName":"置顶",197 "topType":1, 197 198 "title":"标题"}, 198 199 { 199 200 "essenceID":"", 201 "topType":1, 200 202 "title":"标题" 201 203 } … … 208 210 ||= essenceID =||= 精华ID=||= headUrl =||=用户头像地址=|| 209 211 ||= nickName =||= 用户昵称=||= userID =||=用户ID,用于查看ta的主页=|| 210 ||= type =||= 1:日记,2:帖子 =||= imageUrl =||=推荐图=||212 ||= type =||= 1:日记,2:帖子,3:案例=||= imageUrl =||=推荐图=|| 211 213 ||= commentCount =||= 评论数=||= laudCount =||=点赞数=|| 212 214 ||= title =||= 标题=||= dateTime =||=发表时间,取最新的时间=|| 213 ||= top =||= 置顶信息,最多三条=||= postType=||=帖子类型1:正常帖子,2:案例,如果为案例,打开后跳转到之前的案例详情页=|| 215 ||= top=||= 置顶信息,最多三条=||= topType=||=1:日记,2:帖子,3:案例=|| 216 ||= isessence=||=是否精华:1:是,0:否 =||=ispublicationPhoto=||=是否晒单:1:是,0:否=|| 214 217 215 218 … … 295 298 { 296 299 "status":0, 297 "msg":"请求成功" 298 } 299 300 }}} 301 **返回参数说明** 302 ||= 参数名 =||= 参数含义 =||=参数名=||=参数含意=|| 303 ||= total =||=消息条数=||= headUrl =||=用户头像地址=|| 300 "msg":"请求成功", 301 "diaryID":"", 302 "hasCollect":"", 303 "diaryTitle":"", 304 "projectList":[{ 305 "projectID":11, 306 "projectName":"" 307 },{ 308 "projectID":11, 309 "projectName":""}], 310 "isessence":1, 311 "ispublicationPhoto":1, 312 "hospital":"", 313 "doctor":"", 314 "hospitalCity":"", 315 "price":1200, 316 "nickName":"", 317 "userAge":30, 318 "userCity":"", 319 "headUrl":"", 320 "commentCount":1, 321 "laudCount":2, 322 "data":[ 323 "createTime":"", 324 "diaryContent":"日记内容", 325 "imageList":["image1","image2","image3"], 326 "largeImageList":["image1","image2","image3"] 327 ] 328 } 329 330 }}} 331 **返回参数说明** 332 ||= 参数名 =||= 参数含义 =||=参数名=||=参数含意=|| 333 ||= hasCollect =||=1:收藏,2:未收藏 =||= diaryTitle =||=日记标题=|| 334 ||= projectID=||=项目ID =||=projectName=||=项目名=|| 335 ||= isessence=||=是否精华:1:是,0:否 =||=ispublicationPhoto=||=是否晒单:1:是,0:否=|| 336 ||= hospital=||=医院名 =||=doctor=||=医生=|| 337 ||= hospitalCity=||=医院所在城市 =||=price=||=价格=|| 338 ||= nickName=||=用户昵称 =||=userAge=||=用户年龄=|| 339 ||= userCity=||=用户所在城市 =||=headUrl=||=用户头像=|| 340 ||= commentCount=||=评论数 =||=laudCount=||=点赞数=|| 341 ||= userID=||=用户ID为自己时,界面下文显示续写日记 =||=createTime=||=发由时间=|| 342 ||= imageList=||=列表显示小尺寸图片 =||=largeImageList=||=查看时需要请求大尺寸图片=|| 304 343 305 344 … … 344 383 "nickName":"", 345 384 "userID":"", 346 " age":,347 " city":"",385 "userAge":, 386 "userCity":"", 348 387 "communityName":"" 388 "commentCount":1, 389 "laudCount":2, 390 "hasCollect":"", 391 "isessence":1, 392 "ispublicationPhoto":1 349 393 "data":[{ 350 "content":"", 351 "imageUrl":["image1","image2","image3"] 352 "createTime":"" 394 "content":"", 395 "imageList":["image1","image2","image3"], 396 "largeImageList":["image1","image2","image3"] 397 "createTime":"" 353 398 }] 354 399 } … … 358 403 ||= 参数名 =||= 参数含义 =||=参数名=||=参数含意=|| 359 404 ||= title =||=标题=||= headUrl =||=用户头像地址=|| 360 ||= nickName =||=发布人昵称=||= userID =||= 发布人ID=||405 ||= nickName =||=发布人昵称=||= userID =||=为自己时,界面下文显示续写帖子=|| 361 406 ||= age =||=发布人年龄=||= city =||=发布人所在城市=|| 362 407 ||= communityName =||=圈子名=||= content =||=帖子内容=|| 363 ||= imageUrl =||=图片,最新的三张=||= createTime =||=发帖时间=|| 408 ||= hasCollect =||=1:收藏,2:未收藏 =||= createTime =||=发帖时间=|| 409 ||= commentCount=||=评论数 =||=laudCount=||=点赞数=|| 410 ||= imageList=||=列表显示小尺寸图片 =||=largeImageList=||=查看时需要请求大尺寸图片=|| 411 ||= isessence=||=是否精华:1:是,0:否 =||=ispublicationPhoto=||=是否晒单:1:是,0:否=|| 364 412 365 413 … … 500 548 ||= contentType =||=文章类型 =||= string =||= "" =||= 是 =||= 1:日记,2:帖子=|| 501 549 ||= operation =||=操作类型=||= string =||= "" =||= 是 =||=1:点赞,2:取消点赞 =|| 550 ||= deviceID =||=设备ID =||= string =||= "" =||= 是 =||= 需求还在确认中,是否只支持登录后才点赞=|| 502 551 503 552 … … 545 594 ||= contentID =||=文章ID =||= string =||= "" =||= 是 =||= =|| 546 595 ||= contentType =||=文章类型 =||= string =||= "" =||= 是 =||= 1:日记,2:帖子=|| 547 ||= replyID =||=回复ID=||= string =||= "" =||= 是 =||= 回复ID=||548 ||= userID =||= 回帖人=||= string =||= "" =||= 是 =||=回帖人=||596 ||= replyID =||=回复ID=||= string =||= "" =||= 是 =||=直接评论日记或帖子时,不需要传 =|| 597 ||= userID =||=@某人=||= string =||= "" =||= 是 =||==直接评论日记或帖子时,不需要传 =|| 549 598 ||= replyContent =||=回复内容=||= string =||= "" =||= 是 =||=回复内容 =|| 550 599 … … 608 657 "commentTime":"" 609 658 "commentContent":"" 610 reply:[{659 data:[{ 611 660 "replyID":"", 612 661 "nickName":"", … … 775 824 ||pageNo||页数||int||1||是|| 776 825 ||pageSize||页面大小||int||10||是|| 777 ||userID||用户ID||int||0||是||778 826 779 827 **返回** … … 835 883 ||pageNo||页数||int||1||是|| 836 884 ||pageSize||页面大小||int||10||是|| 837 ||userID||用户ID||int||0||是||838 885 839 886 **返回** … … 938 985 ||pageNo||页数||int||1||是|| 939 986 ||pageSize||页面大小||int||10||是|| 940 ||userID||用户ID||int||0||是||941 987 942 988 **返回**
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)