登录账号验证
请求用户名:"username" 密码:"password" URL:"http://localhost:8080/Android/Servlet/LoginCheckServlet"
返回值 {"role":-1} 整型:-1 为错误账号 0为企业账号 1为物业管理
登录账号创建
请求用户名:"username" 密码:"password" URL:"http://localhost:8080/Android/Servlet/LoginRegisterServlet"
返回值 {"flag":false} 布尔值:true注册成功 false 注册失败(可能为账号被占用,账号密码(最大长度为15位)过长)
通知公告查看
URL:"http://localhost:8080/Android/Servlet/AnnouncementViewServlet"
返回值:{"annTitle":"11","annContent":"11","annID":"2","annType":"11","annDate":"2017-07-26"}
企业列表展示*(展示功能)
URL:"http://localhost:8080/Android/Servlet/DisComListServlet"
返回值:[{"comContent":"1","comID":"1","comName":"1","garDisPath":["1","11","111"],"garDisType":"0"},{"comContent":"2","comID":"2","comName":"2","garDisPath":["2"],"garDisType":"0"},{"comContent":"3","comID":"3","comName":"3","garDisPath":["3"],"garDisType":"0"},{"comContent":"4","comID":"4","comName":"4","garDisPath":["4"],"garDisType":"0"}]
企业招聘展示(展示功能)
URL:"http://localhost:8080/Android/Servlet/ComRecruitServlet"
返回值:[{"comRCon":"1","comRDate":"2017-07-11","comRID":"1","comRJob":"1","comRMon":"8000","comRName":"1","comRPlace":"1","comRReq":"1"},{"comRCon":"2","comRDate":"2017-07-13","comRID":"2","comRJob":"2","comRMon":"2","comRName":"2","comRPlace":"2","comRReq":"2"},{"comRCon":"3","comRDate":"2017-07-26","comRID":"3","comRJob":"3","comRMon":"3","comRName":"3","comRPlace":"3","comRReq":"3"},{"comRCon":"4","comRDate":"2015-01-01","comRID":"4","comRJob":"4","comRMon":"4","comRName":"4","comRPlace":"4","comRReq":"4"}]
相关政策展示
URL:"http://localhost:8080/Android/Servlet/NationalPolicyServlet"
返回值:[{"npcontent":"1","npdate":"2017-07-12","npid":"1","nptitle":"1"},{"npcontent":"2","npdate":"2017-07-11","npid":"2","nptitle":"2"},{"npcontent":"3","npdate":"2017-07-08","npid":"3","nptitle":"3"},{"npcontent":"4","npdate":"2017-07-30","npid":"4","nptitle":"4"}]
投诉反馈填写
URL:"http://localhost:8080/Android/Servlet/FeedbackServlet"
请求用户值:"feedTitle","feedContent"
返回值:"true" 数据上传成功 "false" 数据上传失败
物业通知填写
URL:"http://localhost:8080/Android/Servlet/AnnouncementInsertServlet"
请求用户值:"annTitle","annContent" ,"annType"(int)
返回值:"true" 数据上传成功 "false" 数据上传失败
企业招聘填写
URL:"http://localhost:8080/Android/Servlet/ComRecruitInsertServlet"
请求用户值:comRName="4"&comRReq="4"&comRCon="4"&comRJob="4"&comRMon=1000&comRDate="2015-1-1"&comRPlace="4"
返回值:"true" 数据上传成功 "false" 数据上传失败
水电费查看
URL:"http://localhost:8080/Android/Servlet/WaterEleViewServlet"
输入:"genUID"
返回值:[{"WEDate":"2017-07-19","WEID":"","eleCount":"1","eleMoney":"1.00","eleSpend":"1.00","genUID":"1","waterCount":"1","waterMoney":"1.00","waterSpend":"1.00"},{"WEDate":"2017-06-29","WEID":"","eleCount":"1","eleMoney":"1.00","eleSpend":"1.00","genUID":"1","waterCount":"1","waterMoney":"1.00","waterSpend":"1.00"},{"WEDate":"2017-05-18","WEID":"","eleCount":"1","eleMoney":"1.00","eleSpend":"1.00","genUID":"1","waterCount":"1","waterMoney":"1.00","waterSpend":"1.00"}]
书电费缴费
URL:"http://localhost:8080/Android/Servlet/WaterEleInsertServlet"
输入:genUID=1&waterMoney=10&eleMoney=10
返回值:"true" 数据上传成功 "false" 数据上传失败
公共资源预定(车和屋子)
URL:"http://localhost:8080/Android/Servlet/RoomCarBookServlet"
输入:genUID=1&resType="car,room"&resUseDay=2
返回值:"true" 数据上传成功 "false" 数据上传失败
园区展示
URL:"http://localhost:8080/Android/Servlet/GardenDisplayServlet"
返回值:{"garDisID":"1","garDisPath":["1","2"],"garDisText":"1","garDisType":"1"}
合同查看
URL:"http://localhost:8080/Android/Servlet/ContractServlet"
返回值:[{"contractCon":"1","contractDate":"2017-07-04","contractEDate":"2017-07-27","contractID":"1","contractName":"1","contractSDate":"2017-07-13"},{"contractCon":"2","contractDate":"2017-07-12","contractEDate":"2017-07-28","contractID":"2","contractName":"2","contractSDate":"2017-07-19"}]
服务记录填写
URL:"http://localhost:8080/Android/Servlet/ServerRecordServlet"
返回值:"true" 数据上传成功 "false" 数据上传失败
服务记录查看
URL:"http://localhost:8080/Android/Servlet/ServerRecordViewServlet"
返回值:[{"serverContent":"测试","serverDate":"2017-07-28","serverID":"7","serverTitle":"测试"},{"serverContent":"??","serverDate":"2017-07-28","serverID":"8","serverTitle":"??"},{"serverContent":"??","serverDate":"2017-07-28","serverID":"9","serverTitle":"??"}]
联系人添加
URL:"http://localhost:8080/Android/Servlet/LinkManInsertServlet"
输入:linkName=0&linkPhone=0&linkEmail=0
返回值:"true" 数据上传成功 "false" 数据上传失败
联系人查看
URL:"http://localhost:8080/Android/Servlet/LinkManViewServlet"
返回值:[{"linkEmail":"1","linkID":"1","linkName":"1","linkPhone":"1"},{"linkEmail":"0","linkID":"2","linkName":"0","linkPhone":"0"}]