method: Post
path:/user/add
- name
- password
- iconUrl
return on success: uid
method: Post
path: /user/auth
- name
- password
return on success: uid
return on failure TODO
method: Post
path: /footprint/add
- uid
- trid
- location
- date
- centerLatitude
- centerLongitude
- zoom
method: Post
path: /footprint/findByUid
- uid
return on success:[{'fid'=1,'trid'=1,'date'=1,'location'='Shanghai','centerLatitude'='121','centerLongitude'='22','zoom'='100'},...]
method: Post
path: /footprint/findByUidAndDatePeriod
- uid
- dateStart
- dateEnd
return on success:[{'fid'=1,'trid'=1,'date'=1,'location'='Shanghai','centerLatitude'='121','centerLongitude'='22','zoom'='100'},...]
method: Post
path: /footprint/findByUidAndLocation
- uid
- location
return on success:[{'fid'=1,'trid'=1,'date'=1,'location'='Shanghai','centerLatitude'='121','centerLongitude'='22','zoom'='100'},...]
method: Post
path: /footprint/findByUidAndDatePeriodAndLocation
- uid
- dateStart
- dateEnd
- location
return on success:[{'fid'=1,'trid'=1,'date'=1,'location'='Shanghai','centerLatitude'='121','centerLongitude'='22','zoom'='100'},...]
method: Post
path: /footprint/picture/add
- fid
- latitude
- longitude
- pictureUrl
return on success:OK
return on failure:Err
method: Post
path: /footprint/picture/findByFid
- fid
return on success:[{'fid'=1,'latitude'='121','longitude'='21','pictureUrl'='www'},...]
- In frontend config.js change backendUrl to your own.
- create Database footprint, add user g11
- You need to register first, then you can login via account registered