| | 296 | |
| | 297 | |
| | 298 | === 1.5首页数据接口(修改) === |
| | 299 | 开发环境:http://dev15.pclady.com.cn/app/index.jsp [[BR]] |
| | 300 | 线上环境:http://plastic.pclady.com.cn/app/index.jsp [[BR]] |
| | 301 | mrobot地址: http://mrobot.pclady.com.cn/x-900/yimei-plastic/app/index.jsp |
| | 302 | |
| | 303 | **说明** |
| | 304 | |
| | 305 | > 修改部分:新增首页入口节点(indexEnter),删除特色展示节点(show),修改活动专场节点(activities) |
| | 306 | |
| | 307 | **缓存时间** |
| | 308 | |
| | 309 | >15分钟 |
| | 310 | |
| | 311 | **提交方式** |
| | 312 | |
| | 313 | > GET |
| | 314 | |
| | 315 | **数据来源** |
| | 316 | |
| | 317 | > 焦点图:CMS、特色展示:CMS、活动专场:CMS、猜你喜欢:整形库编辑后台、推荐案例:整形库编辑后台,日记/帖子 |
| | 318 | **修改内容** |
| | 319 | |
| | 320 | > 1:如果版本号小于210,indexEnter节点返回固定的JSON,如下[[BR]] |
| | 321 | {{{#!java |
| | 322 | { |
| | 323 | "status": 0, |
| | 324 | "msg": "请求成功", |
| | 325 | "data": [ |
| | 326 | { |
| | 327 | "imageUrl": "http://img0.pclady.com.cn/pclady/plastic/ym2015/nq/1508/01.png", |
| | 328 | "title": "精选机构", |
| | 329 | "type": 1 |
| | 330 | }, |
| | 331 | { |
| | 332 | "imageUrl": "http://img0.pclady.com.cn/pclady/plastic/ym2015/nq/1508/02.png", |
| | 333 | "title": "人气项目", |
| | 334 | "type": 2 |
| | 335 | }, |
| | 336 | { |
| | 337 | "imageUrl": "http://img0.pclady.com.cn/pclady/plastic/ym2015/nq/1508/03.png", |
| | 338 | "title": "今日秒杀", |
| | 339 | "type": 3 |
| | 340 | }, |
| | 341 | { |
| | 342 | "imageUrl": "http://img0.pclady.com.cn/pclady/plastic/ym2015/nq/1508/04.png", |
| | 343 | "title": "领积分", |
| | 344 | "type": 4 |
| | 345 | } |
| | 346 | ] |
| | 347 | } |
| | 348 | }}} |
| | 349 | **参数** |
| | 350 | |
| | 351 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 352 | ||city||城市||String||""||否|| |
| | 353 | ||project||感兴趣的项目||String||""||否|| |
| | 354 | ||age||年龄段||int||""||否|| |
| | 355 | ||appVersion||版本号||String||"app版本号为x.x.x是,参数 传xxx,去掉小数点"||否|| |
| | 356 | |
| | 357 | **返回** |
| | 358 | |
| | 359 | {{{#!java |
| | 360 | { |
| | 361 | "listFocus": { |
| | 362 | "status": 0, |
| | 363 | "msg": "请求成功", |
| | 364 | "data": [ |
| | 365 | { |
| | 366 | "type": 1, |
| | 367 | "imageUrl": " http://img.pconline.com.cn/7.jpg", |
| | 368 | "url": "", |
| | 369 | "contentID": "14324", |
| | 370 | "circleContentID": "423" |
| | 371 | } |
| | 372 | ] |
| | 373 | }, |
| | 374 | "indexEnter": { |
| | 375 | "status": 0, |
| | 376 | "msg": "请求成功", |
| | 377 | "data": [ |
| | 378 | { |
| | 379 | "imageUrl": " http://img.pconline.com.cn/7.jpg", |
| | 380 | "title": "功能1" |
| | 381 | }, |
| | 382 | { |
| | 383 | "imageUrl": " http://img.pconline.com.cn/7.jpg", |
| | 384 | "title": "功能2" |
| | 385 | } |
| | 386 | ] |
| | 387 | }, |
| | 388 | "activities": { |
| | 389 | "status": 0, |
| | 390 | "msg": "请求成功", |
| | 391 | "data": [ |
| | 392 | { |
| | 393 | "type": 1, |
| | 394 | "imageUrl": "http: //img.pconline.com.cn/7.jpg", |
| | 395 | "url": "", |
| | 396 | "contentID": "14324", |
| | 397 | "circleContentID": "123" |
| | 398 | } |
| | 399 | ] |
| | 400 | }, |
| | 401 | "guessYouLike": { |
| | 402 | "status": 0, |
| | 403 | "msg": "请求成功", |
| | 404 | "data": [ |
| | 405 | { |
| | 406 | "likeID": "24234", |
| | 407 | "title": "标题", |
| | 408 | "typeName": "限量30份", |
| | 409 | "imageUrl": "http: //img.pconline.com.cn/7.jpg", |
| | 410 | "price": 999, |
| | 411 | "discountPrice": 1, |
| | 412 | "businessName": "深圳广济医疗美容医院", |
| | 413 | "doctor": "陈柯", |
| | 414 | "beginTime": "2015-05-01", |
| | 415 | "buyTotal": 100, |
| | 416 | "isEnd": 1 |
| | 417 | } |
| | 418 | ] |
| | 419 | } |
| | 420 | } |
| | 421 | }}} |
| | 422 | **返回参数说明** |
| | 423 | ||= 参数名 =||= 参数含义 =||=参数名=||=参数含意=|| |
| | 424 | ||= listFocus =||= 焦点图=||= indexEnter =||=首页入口=|| |
| | 425 | ||= activities =||= 活动专场=||= guessYouLike =||=猜你喜欢,字段说明参考活动列表=|| |
| | 426 | |