| | |
| | | return AjaxResult.error("要求出发时间"+ dateToStr+",领取钥匙超时"+keyTimeout+"个小时"); |
| | | } |
| | | AjaxResult success = new AjaxResult(0, "成功",1); |
| | | success.put("boxNum",keyCollectionInfo.getBoxNum()); |
| | | success.put("boxNumber",keyCollectionInfo.getBoxNum()); |
| | | logger.info("成功返回{}",success); |
| | | return success; |
| | | } |
| | |
| | | smartLockerApplication.setReceiveTime(new Date()); |
| | | smartLockerApplicationMapper.updateSmartLockerApplication(smartLockerApplication); |
| | | AjaxResult success = new AjaxResult(0, "成功",1); |
| | | success.put("boxNum",smartLockerApplication.getLockerPort()); |
| | | success.put("boxNumber",smartLockerApplication.getLockerPort()); |
| | | logger.info("成功返回{}",success); |
| | | return success; |
| | | } |