| | 1 | == 判定是否已签到 == |
| | 2 | |
| | 3 | > 线上:[http://best.pconline.com.cn/intf/iphone/checkSignInStatus.jsp /intf/iphone/checkSignInStatus.jsp] |
| | 4 | |
| | 5 | **提交方式** |
| | 6 | |
| | 7 | > POST |
| | 8 | |
| | 9 | **是否需要登录** |
| | 10 | |
| | 11 | > 是 |
| | 12 | |
| | 13 | **缓存方式** |
| | 14 | |
| | 15 | > 无 |
| | 16 | |
| | 17 | **缓存时间** |
| | 18 | |
| | 19 | > - |
| | 20 | |
| | 21 | **参数** |
| | 22 | |
| | 23 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 24 | ||common_session_id|| - ||String||""||是|| |
| | 25 | |
| | 26 | **返回** |
| | 27 | |
| | 28 | {{{#!java |
| | 29 | { |
| | 30 | days: 1, |
| | 31 | msg: "未签到", |
| | 32 | status: 0 |
| | 33 | } |
| | 34 | }}} |
| | 35 | |
| | 36 | == 收藏爆料 == |
| | 37 | |
| | 38 | > 线上:[http://best.pconline.com.cn/intf/iphone/collectForApp.jsp?topicId=128018 /intf/iphone/collectForApp.jsp] |
| | 39 | |
| | 40 | **提交方式** |
| | 41 | |
| | 42 | > POST |
| | 43 | |
| | 44 | **是否需要登录** |
| | 45 | |
| | 46 | > 是 |
| | 47 | |
| | 48 | **缓存方式** |
| | 49 | |
| | 50 | > 无 |
| | 51 | |
| | 52 | **缓存时间** |
| | 53 | |
| | 54 | > - |
| | 55 | |
| | 56 | **参数** |
| | 57 | |
| | 58 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 59 | ||topicId|| 爆料id ||int||0||是|| |
| | 60 | |
| | 61 | **返回*** |
| | 62 | |
| | 63 | {{{#!java |
| | 64 | { |
| | 65 | "msg": "收藏成功", |
| | 66 | "status": 1 |
| | 67 | } |
| | 68 | }}} |
| | 69 | |
| | 70 | |
| | 71 | == 取消收藏 == |
| | 72 | |
| | 73 | > 线上:[http://best.pconline.com.cn/intf/iphone/deleteCollectForApp.jsp?topicIds=128018 /intf/iphone/deleteCollectForApp.jsp] |
| | 74 | |
| | 75 | **提交方式** |
| | 76 | |
| | 77 | > POST |
| | 78 | |
| | 79 | **是否需要登录** |
| | 80 | |
| | 81 | > 是 |
| | 82 | |
| | 83 | **缓存方式** |
| | 84 | |
| | 85 | > 无 |
| | 86 | |
| | 87 | **缓存时间** |
| | 88 | |
| | 89 | > - |
| | 90 | |
| | 91 | **参数** |
| | 92 | |
| | 93 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 94 | ||topicIds|| 爆料id,多个用逗号分隔 ||String||0||是|| |
| | 95 | |
| | 96 | **返回** |
| | 97 | |
| | 98 | {{{#!java |
| | 99 | { |
| | 100 | "count": 1, |
| | 101 | "msg": "删除收藏成功", |
| | 102 | "status": 1 |
| | 103 | } |
| | 104 | }}} |
| | 105 | |
| | 106 | == 获取app置顶广告位 == |
| | 107 | |
| | 108 | > 线上:[http://best.pconline.com.cn/intf/iphone/getAdPositionList.jsp?type=5&pageNo=1&pageSize=2 /intf/iphone/getAdPositionList.jsp] |
| | 109 | |
| | 110 | **提交方式** |
| | 111 | |
| | 112 | > GET |
| | 113 | |
| | 114 | **是否需要登录** |
| | 115 | |
| | 116 | > 否 |
| | 117 | |
| | 118 | **缓存方式** |
| | 119 | |
| | 120 | > 接口缓存 |
| | 121 | |
| | 122 | **缓存时间** |
| | 123 | |
| | 124 | > 300秒 |
| | 125 | |
| | 126 | **参数** |
| | 127 | |
| | 128 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 129 | ||type||5 App首页置顶广告位 6 App海淘置顶广告位 7 App晒物置顶广告位 8 App经验置顶广告位||int||5||是|| |
| | 130 | ||pageNo||-||int||1||是|| |
| | 131 | ||pageSize||-||int||5||是|| |
| | 132 | |
| | 133 | **返回** |
| | 134 | |
| | 135 | {{{#!java |
| | 136 | { |
| | 137 | data: [ |
| | 138 | { |
| | 139 | adId: 269, |
| | 140 | adTitle: "测试广告标题app5", |
| | 141 | createTime: "2015-03-24 17:00:56", |
| | 142 | imageUrl: "http://dev2.pconline.com.cn:9191/upcfiles/pc_best/1503/24/c0/12118_1427187331797.jpg", |
| | 143 | imageUrl_170x70: "http://dev2.pconline.com.cn:9191/upcfiles/pc_best/1503/24/c0/12118_1427187331797_70x70.jpg", |
| | 144 | positionIndex: 5, |
| | 145 | topic: { |
| | 146 | bad: 3, |
| | 147 | collectCount: 6, |
| | 148 | commentNum: 12, |
| | 149 | createName: "qz33742482", |
| | 150 | good: 6, |
| | 151 | id: 124632, |
| | 152 | image: "http://img.pconline.com.cn/images/upload/upc/tx/pc_best/1503/17/c2/3994987_1426575338354_255x255.png", |
| | 153 | isSupportPurchasing: 1, |
| | 154 | overdueStatus: 0, |
| | 155 | price: "43.99+2.01美元直邮中国约¥287", |
| | 156 | pubDate: "2015-03-17 14:57:29", |
| | 157 | showSource: 1, |
| | 158 | time: "2015-03-17", |
| | 159 | title: "大容量低价:海盗船 CORSAIR 滑盖设计 USB3.0 128G U盘", |
| | 160 | topicType: 2, |
| | 161 | tryToGetWapSource: "http://www.amazon.com/gp/product/B00E3RHS4C/&tag=bp072-20&browser=fullscreen" |
| | 162 | }, |
| | 163 | url: "http://best.pconline.com.cn/haitao/124632.html", |
| | 164 | urlType: 1 |
| | 165 | }, |
| | 166 | {} |
| | 167 | ], |
| | 168 | serverTime: 1428487875 |
| | 169 | } |
| | 170 | }}} |
| | 171 | |
| | 172 | == 获取专题tab页的活动跳转链接 == |
| | 173 | |
| | 174 | > 线上:[http://best.pconline.com.cn/intf/iphone/getAppSpecialUrl.jsp /intf/iphone/getAppSpecialUrl.jsp] |
| | 175 | |
| | 176 | **提交方式** |
| | 177 | |
| | 178 | > GET |
| | 179 | |
| | 180 | **是否需要登录** |
| | 181 | |
| | 182 | > 否 |
| | 183 | |
| | 184 | **缓存方式** |
| | 185 | |
| | 186 | > 接口缓存 |
| | 187 | |
| | 188 | **缓存时间** |
| | 189 | |
| | 190 | > 300秒 |
| | 191 | |
| | 192 | **参数** |
| | 193 | |
| | 194 | **返回** |
| | 195 | |
| | 196 | {{{#!java |
| | 197 | { |
| | 198 | hasUrl: 0, |
| | 199 | url: "" |
| | 200 | } |
| | 201 | }}} |
| | 202 | |
| | 203 | |
| | 204 | == 获取用户收藏总数,目前只有三种分类: 1 优惠海淘, 2 国内优惠, 3 发现频道,4 经验 , 5 晒物(app1.3之后使用的) == |
| | 205 | /intf/iphone/getCollectsCountForUser_2nd.jsp |
| | 206 | |
| | 207 | == 获取用户收藏总数,目前只有三种分类: 1 优惠海淘, 2 国内优惠, 3 发现频道,4 经验 , 5 晒物 == |
| | 208 | /intf/iphone/getCollectsCountForUser.jsp |
| | 209 | |
| | 210 | == 获取用户收藏列表 == |
| | 211 | /intf/iphone/getCollectsForApp.jsp |
| | 212 | |
| | 213 | == 搜索热词接口 == |
| | 214 | /intf/iphone/getHostSearchTerms.jsp |
| | 215 | |
| | 216 | == 根据电商获取海淘资讯列表 == |
| | 217 | /intf/iphone/getIndexHaitaoByMallId.jsp |
| | 218 | |
| | 219 | == 获取海淘爆料列表 == |
| | 220 | /intf/iphone/getListBySection.jsp |
| | 221 | |
| | 222 | == 获取电商列表 == |
| | 223 | /intf/iphone/getMall.jsp |
| | 224 | |
| | 225 | == 获取通知栏内容 == |
| | 226 | /intf/iphone/getNotificationBarInfo.jsp |
| | 227 | |
| | 228 | == 获取代购列表 == |
| | 229 | /intf/iphone/getPurchasing.jsp |
| | 230 | |
| | 231 | == 获取更多代购列表 == |
| | 232 | /intf/iphone/getPurchasingMore.jsp |
| | 233 | |
| | 234 | == 获取服务器时间 == |
| | 235 | /intf/iphone/getServerTimeStamp.jsp |
| | 236 | |
| | 237 | == 频道分类列表(1.3版本后使用) == |
| | 238 | /intf/iphone/getSortChannel_2nd.jsp |
| | 239 | |
| | 240 | == 频道分类列表 == |
| | 241 | /intf/iphone/getSortChannel.jsp |
| | 242 | |
| | 243 | == 获取精准订阅选项,包括可选的电商和分类 == |
| | 244 | /intf/iphone/getSubscribeSelectItems.jsp |
| | 245 | |
| | 246 | == 获取晒物广场列表 == |
| | 247 | /intf/iphone/getSunplaza.jsp |
| | 248 | |
| | 249 | == 获取晒物数据列表 == |
| | 250 | /intf/iphone/getSunplazaNew.jsp |
| | 251 | |
| | 252 | == 获取系统通知 == |
| | 253 | /intf/iphone/getSysNotice.jsp |
| | 254 | |
| | 255 | == 获取系统通知数量,收到的和发出的评论数量 == |
| | 256 | /intf/iphone/getSysNoticeAndCommentCount.jsp |
| | 257 | |
| | 258 | == 获取爆料的求购数 == |
| | 259 | /intf/iphone/getTopicBuyCount.jsp |
| | 260 | |
| | 261 | == 获取爆料终端页,已弃用 == |
| | 262 | /intf/iphone/getTopicHtml.jsp |
| | 263 | |
| | 264 | == 获取爆料列表 == |
| | 265 | /intf/iphone/getTopicList.jsp |
| | 266 | |
| | 267 | == 获取热门爆料列表,最近三个星期点赞最多的进行排列 == |
| | 268 | /intf/iphone/getTopicListOfTop.jsp |
| | 269 | |
| | 270 | == 获取爆料类型,1.3版本已经弃用 == |
| | 271 | /intf/iphone/getTopicType.jsp |
| | 272 | |
| | 273 | == 赞或者踩爆料 == |
| | 274 | /intf/iphone/likeAndDislike.jsp |
| | 275 | |
| | 276 | == 我收到的评论 == |
| | 277 | /intf/iphone/my_comment_receivelist.jsp |
| | 278 | |
| | 279 | == 我发出的评论 == |
| | 280 | /intf/iphone/my_comment_sendlist.jsp |
| | 281 | |
| | 282 | == 获取用户信息 == |
| | 283 | /intf/iphone/myInfoForApp.jsp |
| | 284 | |
| | 285 | == 获取用户某个时间之后的爆料数和评论数 == |
| | 286 | /intf/iphone/myNewsForApp.jsp |
| | 287 | |
| | 288 | == 获取我的爆料 == |
| | 289 | /intf/iphone/myTipoffForApp.jsp |
| | 290 | |
| | 291 | == 获取需要进行iOS分类推送的token,推送服务器从这里获取token,已弃用 == |
| | 292 | /intf/iphone/pushFileUrl.jsp |
| | 293 | |
| | 294 | == 获取需要进行iOS精准推送的token,推送服务器从这里获取token == |
| | 295 | |
| | 296 | /intf/iphone/pushFileUrlSecond.jsp |
| | 297 | |
| | 298 | == 分类推送状态回调函数,给推送服务器调用,已弃用 == |
| | 299 | /intf/iphone/pushIOSCallback.jsp |
| | 300 | |
| | 301 | == 精准推送状态回调函数,给推送服务器调用 == |
| | 302 | /intf/iphone/pushSecondIOSCallback.jsp |
| | 303 | |
| | 304 | == 搜索推荐 == |
| | 305 | /intf/iphone/search_keyword_hint.jsp |
| | 306 | |
| | 307 | == 搜索接口 == |
| | 308 | /intf/iphone/searchResult_2nd.jsp |
| | 309 | |
| | 310 | == 搜索接口(旧版) == |
| | 311 | /intf/iphone/searchResult.jsp |
| | 312 | |
| | 313 | == 签到接口 == |
| | 314 | /intf/iphone/signInForApp.jsp |
| | 315 | |
| | 316 | == 专题列表接口 == |
| | 317 | /intf/iphone/special.jsp |
| | 318 | |
| | 319 | == 专题列表外部接口,已移动到wap目录下,这里做301跳转 == |
| | 320 | /intf/iphone/specialForExternal.jsp |
| | 321 | |
| | 322 | == 加载更多专题列表接口 == |
| | 323 | /intf/iphone/specialGetMore.jsp |
| | 324 | |
| | 325 | == iOS分类订阅接口 == |
| | 326 | /intf/iphone/subscription_add_sec.jsp |
| | 327 | |
| | 328 | == iOS分类订阅接口 == |
| | 329 | /intf/iphone/subscription_add.jsp |
| | 330 | |
| | 331 | == 获取所有可被订阅的分类 == |
| | 332 | /intf/iphone/subscription_list.jsp |
| | 333 | |
| | 334 | == 添加精准订阅 == |
| | 335 | /intf/iphone/subscription_second_add_sec.jsp |
| | 336 | |
| | 337 | == 添加精准订阅 == |
| | 338 | /intf/iphone/subscription_second_add.jsp |
| | 339 | |
| | 340 | == 删除精准订阅 == |
| | 341 | /intf/iphone/subscription_second_delete_sec.jsp |
| | 342 | |
| | 343 | == 删除精准订阅 == |
| | 344 | /intf/iphone/subscription_second_delete.jsp |
| | 345 | |
| | 346 | == 精准订阅关键词匹配 == |
| | 347 | /intf/iphone/subscription_second_keyword_hint.jsp |
| | 348 | |
| | 349 | == 精准订阅列表 == |
| | 350 | /intf/iphone/subscription_second_list.jsp |
| | 351 | |
| | 352 | == 精准订阅推送爆料列表 == |
| | 353 | /intf/iphone/subscription_second_topic_list.jsp |
| | 354 | |
| | 355 | == 添加爆料 == |
| | 356 | /intf/iphone/topic_add.jsp |
| | 357 | |
| | 358 | == 爆料赞和踩的数量 == |
| | 359 | /intf/iphone/topic_like_and_dislike_count.jsp |
| | 360 | |
| | 361 | == 求购 == |
| | 362 | /intf/iphone/topicBuyCountAdd.jsp |
| | 363 | |
| | 364 | == 1.4 版本的终端页 == |
| | 365 | /intf/iphone/topicDetail_3rd.jsp |
| | 366 | |
| | 367 | == 获取爆料收藏数量,和当前用户是否收藏过 == |
| | 368 | /intf/iphone/topicDetail_collectCount.jsp |
| | 369 | |
| | 370 | == 1.3 版本的终端页 == |
| | 371 | /intf/iphone/topicDetail_second.jsp |
| | 372 | |
| | 373 | == 1.2 版本的终端页 == |
| | 374 | /intf/iphone/topicDetail.jsp |
| | 375 | |
| | 376 | /intf/iphone/winForApp.jsp |
| | 377 | |
| | 378 | /intf/iphone/winForApp2.jsp |