# LBS-Server **Repository Path**: diuse/LBS-Server ## Basic Information - **Project Name**: LBS-Server - **Description**: 拼吧 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2015-10-14 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #LBS-Server ##测试点 ###用户相关 * user/register?phone=12345678901&passwd=1111 * user/changePasswd?phone=12345678901&passwd=3333 * user/resetPasswd?phone=12345678901&passwd=2222 * user/login?phone=12345678901&passwd=1111 * user/logout?phone=12345678901&passwd=1111 * user/changeInfo?userInfo={"sid":4,"signature":"sfdffasdfad","nickName":"18767121724","phone":"18767121724","male":true,"passwd":"121212","headChangeTime":0,"age":18,"birthday":0,"lastLoginDay":1447419810824,"regTime":1447417573149,"privacy":false} * user/changeHeadUrl?headUrl=www.baidu.com * user/myFriends * user/heartBeat ###msg相关 * msg/nearByMap?longitude=120.159225&latitude=30.41084&range=2 * msg/nearByList?longitude=120.159225&latitude=30.41084&range=2&query=1&page=1&orderType=1 * msg/reply?msgReplyJson={"sid":0,"userId":11,"msgId":8838,"replyedId":1,"content":"测试回复","haveResponse":false,"readed":false,"replyTime":0} * msg/readMsg?msgSendId=11&msgReplyId=11 * msg/addSubscribe?msgSendId=8840 * msg/mySubscribe * msg/unSubscribe?msgSendId=8840 * msg/msgApplyRefuse?msgApplyId=34 * msg/msgApply?msgSendId=8837&applicationContent=来,测试一把&msgOwnerId=3 * msg/msgApplyAgree?msgApplyId=34 * msg/msgApply2me ###好友相关 * friend/add?userId=15 * friend/agree?fromUserId=15 * friend/refuse?fromUserId=15 * friend/newApply2me * friend/totalApply2me * friend/myFriends * friend/myApply ###位置相关 * /pingba/area/province * /pingba/area/cityOfProvince?provinceId=11 * /pingba/area/districtOfCity?cityId=11 * /pingba/area/saveArea?province=浙江省&city=杭州市&district=下城区 ###第三方登录相关 * oauth/wecharJson?wechar={"openId":"111","nickName":"carey","sex":0,"unionId":"sdfafasfasfasdddsfdaff"} ###黑名单用户相关 * user/blackUser/add?ignoreUserId=11 * user/blackUser/myIgnores * user/blackUser/isIgnore?ignoreUserId=11 * user/blackUser/recover?ignoreUserId=11 ##第三方账号 ##数据库表 * msg_send: 用户发送原始消息 * msg_apply: 用户对msg_send的回复 * msg_reply: 用户对msg_apply的回复 ##工作日记录 12-20: msgApply这块代码职责分割不清晰,需要重构 12-09: 服务端支持了微信的第三方登录的功能 12-04: 增加了任务页面的请求返回,JsonHelp中praseTaskDataStructFromJson方法专门用于解析这个接口的数据,用来得到List供客户端展示 11-30: 增加了基于消息(任务)的申请,同意,拒绝功能,返回用户的状态还没实现 11-28: 增加订阅收藏的功能 11-25: 增加了消息的回复功能,在msg_send和msg_reply这两个表中都采用have_response这个字段来表示是否有新的回复 user/heartBeat这个接口可以请求新的数据 11-17: 修改了地理位置的命名,提供了nearByMap, nearByList的接口供客户端查询消息(数据库读取还没实现) 11-14: 在数据库中导入了20个虚拟好友供测试 11-11: 消息回复的时候,如果是对原始消息回复,则设置将Msgreply的replyedId设置为0 11-10: 加入消息处理的缓存机制(一半) 11-09: 引入好友关系,使用两个表用来存储好友关系,一个表来记录好友之间的聊天记录(如果有必要的话) 将所有的sql加入了git 计划使用车站的模式来处理消息的通知 11-06:将所有的时间类型从Date 改为long 增加了消息回复时,将初始消息设置为有新的消息