Changes between Version 46 and Version 47 of baby2.3_developers/interface


Ignore:
Timestamp:
06/09/2015 02:50:12 PM (11 years ago)
Author:
fuxingfang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • baby2.3_developers/interface

    v46 v47  
    213213  接口开发: 
    214214  mrobot接口: 
    215   后端URL: 
     215  后端URL:http://v40.pcbaby.com.cn:8001/intf/app/2.0/timeline_content_list_301.jsp?lemmaId=13777    //正式域名 baike.pcbaby.com.cn 
    216216  HTTP请求方式:get 
    217217  是否需要登录:否 
     
    252252   "timeline": //每日知识内容 
    253253   { 
    254       "index": [ //发育指标 
    255           { 
    256               "description": "胎长约38.5cm,胎重约1600g。这时候他已有4个佛手柑那么重了。现在,你的体重可能已经增加了8.5kg。小腹更加突出了。", 
    257               "id": 245, 
    258               "image": "http://img.pcbaby.com.cn/images/upload/upc/tx/baby_baike/1408/01/c0/36948482_1406875934412.jpg", 
    259               "title": "胎儿发育和妈妈变化", 
    260               "type": "11" 
    261           } 
    262         ], 
    263       "point": [ //每日知识 
    264          { 
    265               "description": "进入孕后期,你可能会感到尿频和总有尿不完的感觉。这个阶段有将近80%的孕妇为尿频困扰,很多孕妈妈在夜间需要更频繁地起床跑厕所。", 
    266               "id": 511, 
    267               "title": "孕妇尿频", 
    268               "type": "11" 
    269          }, 
    270          { 
    271               "description": "孕期气短通常没有什么大碍,也很正常。在日常生活中把节奏放慢一些,活动或运动的时候,不要太勉强自己。", 
    272               "id": 633, 
    273               "title": "孕妇气短", 
    274               "type": "11" 
    275          } 
    276        ] 
     254        { 
     255            "section": [ 
     256                { 
     257                    "description": "16周+1天胎儿发育精简16周+1天胎儿发育精简16周+1天胎儿发育精简16周+1天胎儿发育精简16周+1天胎儿发育", 
     258                    "id": 13948, 
     259                    "image": "http://test745.pcbaby.com.cn:9192/upcfiles/baby_baike/1506/09/c0/17620_1433822772846.jpg", 
     260                    "title": "16周+1天胎儿发育精简", 
     261                    "type": "11" 
     262                } 
     263            ], 
     264            "sectionListCount": 1, 
     265            "title": "发育指标" 
     266        }, 
     267        { 
     268            "section": [ 
     269                { 
     270                    "description": "16周+1天知识点1精简16周+1天知识点1精简16周+1天知识点1精简16周+1天知识点1精简16周+1天知识点1精简", 
     271                    "id": 13949, 
     272                    "image": "http://test745.pcbaby.com.cn:9192/upcfiles/baby_baike/1506/09/c0/17621_1433822818887.jpg", 
     273                    "title": "16周+1天知识点1精简", 
     274                    "type": "11" 
     275                }, 
     276                { 
     277                    "description": "16周+1天知识点2精简16周+1天知识点2精简16周+1天知识点2精简16周+1天知识点2精简16周+1天知识点2精简", 
     278                    "id": 13950, 
     279                    "title": "16周+1天知识点2精简", 
     280                    "type": "11" 
     281                } 
     282            ], 
     283            "sectionListCount": 2, 
     284            "title": "每日知识" 
     285        } 
    277286    } 
    278287 } 
     
    284293  接口开发: 
    285294  mrobot接口: 
    286   后端URL: 
     295  后端URL:http://v40.pcbaby.com.cn:8001/intf/app/2.3/timeline_content_week_list_301.jsp?lemmaId=13776    //正式域名 baike.pcbaby.com.cn 
    287296  HTTP请求方式:get 
    288297  是否需要登录:否 
     
    295304 
    296305  返回参数: 
    297  { 
    298    "timeline": [ //本周知识内容 
    299      { 
    300       "index": [ //发育指标 
    301           { 
    302               "description": "胎长约38.5cm,胎重约1600g。这时候他已有4个佛手柑那么重了。现在,你的体重可能已经增加了8.5kg。小腹更加突出了。", 
    303               "id": 245, 
    304               "image": "http://img.pcbaby.com.cn/images/upload/upc/tx/baby_baike/1408/01/c0/36948482_1406875934412.jpg", 
    305               "title": "胎儿发育和妈妈变化", 
    306               "type": "11" 
    307           } 
    308          ], 
    309       "point": [ //每日知识 
    310          { 
    311               "description": "进入孕后期,你可能会感到尿频和总有尿不完的感觉。这个阶段有将近80%的孕妇为尿频困扰,很多孕妈妈在夜间需要更频繁地起床跑厕所。", 
    312               "id": 511, 
    313               "title": "孕妇尿频", 
    314               "type": "11" 
    315          }, 
    316          { 
    317               "description": "孕期气短通常没有什么大碍,也很正常。在日常生活中把节奏放慢一些,活动或运动的时候,不要太勉强自己。", 
    318               "id": 633, 
    319               "title": "孕妇气短", 
    320               "type": "11" 
    321          } 
    322        ], 
    323      "lemmaId":281 //时间轴id 
    324      "timeNode":"11周整" 
    325     } 
    326     ... 
    327   ] 
    328  } 
     306{ 
     307    "timelines": [ 
     308        { 
     309            "lemmaId": 13776, 
     310            "name": "怀孕16周整", 
     311            "timeline": [ 
     312                { 
     313                    "section": [ 
     314                        { 
     315                            "description": "16周胎儿发育精简16周胎儿发育精简16周胎儿发育精简16周胎儿发育精简16周胎儿发育精简16周胎儿发育精简", 
     316                            "id": 13945, 
     317                            "image": "http://test745.pcbaby.com.cn:9192/upcfiles/baby_baike/1506/09/c0/17618_1433821524754.jpg", 
     318                            "title": "16周胎儿发育精简", 
     319                            "type": "11" 
     320                        } 
     321                    ], 
     322                    "sectionListCount": 1, 
     323                    "title": "发育指标" 
     324                }, 
     325                { 
     326                    "section": [ 
     327                        { 
     328                            "description": "16周知识点1精简16周知识点1精简16周知识点1精简16周知识点1精简16周知识点1精简16周知识点1精简", 
     329                            "id": 13946, 
     330                            "title": "16周知识点1精简", 
     331                            "type": "11" 
     332                        }, 
     333                        { 
     334                            "description": "16周知识点2精简16周知识点2精简16周知识点2精简16周知识点2精简16周知识点2精简16周知识点2精简16周知识点2精简", 
     335                            "id": 13947, 
     336                            "title": "16周知识点2精简", 
     337                            "type": "11" 
     338                        } 
     339                    ], 
     340                    "sectionListCount": 2, 
     341                    "title": "每日知识" 
     342                } 
     343            ] 
     344        } 
     345    ] 
     346} 
    329347}}} 
    330348