Changes between Version 10 and Version 11 of baby2.3_developers/interface
- Timestamp:
- 05/25/2015 12:33:43 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
baby2.3_developers/interface
v10 v11 398 398 "result":1, //状态码,1=正常返回,0=返回错误 399 399 "msg":"数据错误" //提示信息 400 "BMI":20 //该用户的BMI值 400 401 "dataList": [ 401 402 { … … 411 412 } 412 413 }}} 414 415 === 4.1记录体重身高 === 416 {{{ 417 备注:记录体重身高 418 说明:初次使用,输入孕前体重与身高,app端计算BMI值,并将BMI值post保存至服务器,之后操作无需再传BMI值 419 420 接口开发: 421 mrobot接口: 422 后端URL: 423 HTTP请求方式:post 424 是否需要登录:否 425 返回格式:json 426 缓存方式:无 427 缓存时间:无 428 429 请求参数: 430 v = 230 //版本号 431 设置header Cookie = "common_session_id=xxxx"; //登陆用户id 432 BMI:孕前BMI指数(只第一次操作时传参) 433 weight:当前体重 434 dateId:时间节点id(将所选时间转换为对应时间节点) 435 436 返回参数: 437 { 438 "result":1, //状态码,1=正常返回,0=返回错误 439 "msg":"数据错误" //提示信息 440 } 441 }}}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)