Changes between Version 9 and Version 10 of baby2.3_developers/interface


Ignore:
Timestamp:
05/25/2015 12:13:03 PM (11 years ago)
Author:
lianchijin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • baby2.3_developers/interface

    v9 v10  
    387387  HTTP请求方式:get 
    388388  是否需要登录:否 
    389   返回格式: 
     389  返回格式:json 
    390390  缓存方式:无 
    391391  缓存时间:无 
    392392  请求参数: 
    393393  v = 230   //版本号 
    394   
     394  设置header  Cookie = "common_session_id=xxxx"; //登陆用户id 
    395395 
    396396  返回参数: 
    397    
    398 }}} 
     397  { 
     398        "result":1, //状态码,1=正常返回,0=返回错误      
     399        "msg":"数据错误" //提示信息 
     400        "dataList": [ 
     401            { 
     402                "dateId": 281, //时间节点id 
     403                "record": 58.0 // 体重 
     404            }, 
     405            { 
     406                "dateId": 282, //时间节点id 
     407                "record": 59.0 // 体重 
     408            } 
     409            ... 
     410         ] 
     411} 
     412}}}