| | 982 | |
| | 983 | === 5.4.2 [=#point5401 获取评论列表 ] === |
| | 984 | {{{ |
| | 985 | URL:/intf/act-photo-get.jsp |
| | 986 | HTTP请求方式:get |
| | 987 | 是否需要登录:否 |
| | 988 | 提交参数:*act-id:活动ID |
| | 989 | page-no:分页页码 |
| | 990 | page-size:单页数量 |
| | 991 | order-by:create-date-asc , create-date-desc |
| | 992 | req-enc:请求时字符编码,缺省是UTF-8 |
| | 993 | resp-enc:响应时字符编码,缺省是UTF-8 |
| | 994 | 返回参数: |
| | 995 | { "page-no":1, |
| | 996 | "page-size":20, |
| | 997 | "total":5, |
| | 998 | "id":32323, |
| | 999 | "name":"自驾去西藏", |
| | 1000 | "status":1, |
| | 1001 | "create-date":"yyyy-mm-dd", |
| | 1002 | "count-img":3, |
| | 1003 | "act-img":[{"img-id":121, |
| | 1004 | "img-url":"http://img.pconline.com.cn/2332.jpg", |
| | 1005 | "img-url-middle":"http://img.pconline.com.cn/3232.jpg", |
| | 1006 | "img-url-small":"http://img.pconline.com.cn/32234.jpg", |
| | 1007 | "desc":"宁静的海滩", |
| | 1008 | "count-comment":4, |
| | 1009 | "comments":[{"id":233, |
| | 1010 | "uid":2332, |
| | 1011 | "nickname":"上九天揽月", |
| | 1012 | "face-url":"http://qlogo1.store.qq.com/qzone/7685620/7685620/50", |
| | 1013 | "face-url-large":"http://qlogo1.store.qq.com/qzone/7685620/7685620/100", |
| | 1014 | "content":"绝美的风光", |
| | 1015 | "create-date":"2012-04-06 12:43"}, |
| | 1016 | {"id":2335, |
| | 1017 | "uid":233232, |
| | 1018 | "nickname":"下五洋捉鳖", |
| | 1019 | "face-url":"http://qlogo1.store.qq.com/qzone/7685620/7685620/50", |
| | 1020 | "face-url-large":"http://qlogo1.store.qq.com/qzone/7685620/7685620/100", |
| | 1021 | "content":"清晨的海滩真是美不胜收", |
| | 1022 | "create-date":"2012-04-06 12:43"} |
| | 1023 | ] |
| | 1024 | }, |
| | 1025 | {"img-id":121, |
| | 1026 | "img-url":"http://img.pconline.com.cn/2332.jpg", |
| | 1027 | "img-url-middle":"http://img.pconline.com.cn/3232.jpg", |
| | 1028 | "img-url-small":"http://img.pconline.com.cn/32234.jpg", |
| | 1029 | "desc":"宁静的海滩", |
| | 1030 | "count-comment":4, |
| | 1031 | "comments":[{"id":233, |
| | 1032 | "uid":2332, |
| | 1033 | "nickname":"上九天揽月", |
| | 1034 | "face-url":"http://qlogo1.store.qq.com/qzone/7685620/7685620/50", |
| | 1035 | "face-url-large":"http://qlogo1.store.qq.com/qzone/7685620/7685620/100", |
| | 1036 | "content":"绝美的风光", |
| | 1037 | "create-date":"2012-04-06 12:43"}, |
| | 1038 | {"id":2335, |
| | 1039 | "uid":233232, |
| | 1040 | "nickname":"下五洋捉鳖", |
| | 1041 | "face-url":"http://qlogo1.store.qq.com/qzone/7685620/7685620/50", |
| | 1042 | "face-url-large":"http://qlogo1.store.qq.com/qzone/7685620/7685620/100", |
| | 1043 | "content":"清晨的海滩真是美不胜收", |
| | 1044 | "create-date":"2012-04-06 12:43"} |
| | 1045 | ] |
| | 1046 | } |
| | 1047 | ] |
| | 1048 | } |
| | 1049 | } |
| | 1050 | 返回参数说明: |
| | 1051 | page-no:请求的页码,第一次为1。 |
| | 1052 | page-size:每个页面的记录数。 |
| | 1053 | total:这次查询的记录总数。 |
| | 1054 | img-id:图片ID |
| | 1055 | id:评论编号 |
| | 1056 | uid:太平洋公共帐号id |
| | 1057 | nickname:用户昵称 |
| | 1058 | face-url:用户头像URL |
| | 1059 | face-url-large:用户头像URL大图 |
| | 1060 | content:评论正文 |
| | 1061 | create-date:评论时间,yyyy-mm-dd hh:mi:ss 。 |
| | 1062 | 排序方式: |
| | 1063 | 1、按图片创建时间顺序 |
| | 1064 | 2、按图片创建时间逆序 |
| | 1065 | |
| | 1066 | }}} |
| | 1067 | |