主页 - liuhw7/relax GitHub Wiki

内网服务器地址:http://192.168.180.198/relax/

全局返回参数:

code       //表示返回状态值   int      0:成功,1001:参数错误,2000代表token失效
message    //提示语          String

userInfo 实体信息

String  userId;         //用户Id
String  userNickName;   //用户昵称
String  phone;          //手机号码
Integer sex;            //性别 0、未知 1、男 2、女
Date    birthTime;      //出生日期 @DateTimeFormat(pattern="yyyy-MM-dd")  例如:1989-10-7 返回给客户端为时间戳
double  height;         //身高                                            例如:175.5cm
double  weight;         //体重                                            例如:67.7kg
String  photo;          //头像 一个url链接地址	
String  address;        //地址
String  registrationId; //推送设备Id
Date    wakeUpTime;     //起床时间 @DateTimeFormat(pattern="HH:mm:ss")    例如:7:20:00
Date    workTimeStart;  //上班时间
Date    workTimeEnd;    //下班时间
Date    lunchTime;      //午饭时间
Date    homeTime;       //到家时间
Date    sleepTime;      //睡觉时间