Changes between Version 52 and Version 53 of baby2.3_developers/interface


Ignore:
Timestamp:
06/12/2015 10:55:15 AM (11 years ago)
Author:
lianchijin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • baby2.3_developers/interface

    v52 v53  
    391391        "code":0, //状态码,0=成功获取数据,-4=用户未登录,-3=程序异常 
    392392        "msg":"数据获取成功" //提示信息 
    393         "BMIType":4 //BMI指数类型(4孕前正常,5孕前偏瘦,6孕前偏重) 
     393        "BMIType":4 //BMI指数类型(4孕前正常,5孕前偏瘦,6孕前偏重,7孕前超重) 
    394394        "preWeight"://孕前体重(float型) 
    395395        "height":  //用户身高(float型) 
     
    426426  v = 230   //版本号 
    427427  设置header  Cookie = "common_session_id=xxxx"; //登陆用户id 
    428   BMIType = 4 //BMI指数类型(4孕前正常,5孕前偏瘦,6孕前偏重),必须 
    429                //说明:第一次操作时,app通过计算孕前体重与身高得出BMI值,并得出BMIType指数类型(BMIType=5:偏轻BMI<18.5,BMIType=4:正常18.5≤BMI≤24.9,BMIType=6:偏重25≤BMI≤29.9 
     428  BMIType = 4 //BMI指数类型(4孕前正常,5孕前偏瘦,6孕前偏重,7孕前超重),必须 
     429               //说明:第一次操作时,app通过计算孕前体重与身高得出BMI值,并得出BMIType指数类型(BMIType=5:偏轻BMI<18.5,BMIType=4:正常18.5≤BMI≤24.9,BMIType=6:偏重25≤BMI≤29.9,BMIType=7:超重BMI≥30 
    430430  preWeight:孕前体重(float型),必须 
    431431  weight:当前体重(float型),必须 
     
    483483  v = 230   //版本号 
    484484  type = 1 //当前体重类型(1正常,2偏瘦,3偏重) 
    485   BMIType = 4 //孕前体重(4孕前正常,5孕前偏瘦,6孕前偏重 
     485  BMIType = 4 //孕前体重(4孕前正常,5孕前偏瘦,6孕前偏重,7孕前超重 
    486486  height:  //用户身高 
    487487  weight: //体重记录表格中最后一次记录的体重(float型)