| package com.doumee.api; | 
|   | 
| import com.doumee.service.business.JkCabinetLogService; | 
| import com.doumee.service.business.JkCustomerService; | 
| import com.doumee.service.business.impl.JkCabinetGridServiceImpl; | 
| import com.doumee.service.business.third.model.ApiResponse; | 
| import io.swagger.annotations.Api; | 
| import io.swagger.annotations.ApiOperation; | 
| import org.apache.shiro.SecurityUtils; | 
| import org.apache.shiro.mgt.DefaultSecurityManager; | 
| import org.springframework.beans.factory.annotation.Autowired; | 
| import org.springframework.web.bind.annotation.PostMapping; | 
| import org.springframework.web.bind.annotation.RequestMapping; | 
| import org.springframework.web.bind.annotation.RestController; | 
|   | 
| /** | 
|  * @author 江蹄蹄 | 
|  * @date 2023/11/30 15:33 | 
|  */ | 
| @Api(tags = "钥匙柜定时器") | 
| @RestController | 
| @RequestMapping("/timer/jkCabinet") | 
| public class JkCabinetTimerController extends BaseController { | 
|     @Autowired | 
|     private JkCabinetLogService jkCabinetLogService; | 
|   | 
|     @Autowired | 
|     private JkCabinetGridServiceImpl impl; | 
|   | 
|   | 
|     @ApiOperation("定时发送钥匙未及时归还通知") | 
|     @PostMapping("/timeOutUnBackAlarm") | 
|     public ApiResponse timeOutUnBackAlarm() { | 
|         jkCabinetLogService.timeOutUnBackAlarm(impl); | 
|         return ApiResponse.success("定时发送钥匙未及时归还通知"); | 
|     } | 
|   | 
|   | 
|   | 
| } |