| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api; |
| | | |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.SmsEmailService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | 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/sms") |
| | | public class HkSmsEmailTimerController extends BaseController { |
| | | @Autowired |
| | | private SmsEmailService smsEmailService; |
| | | @ApiOperation("å¼å¯å®æ¶çä¿¡åé宿¶ä»»å¡") |
| | | @GetMapping("/sendWaitingSmsNotice") |
| | | public ApiResponse sendWaitingSmsNotice() { |
| | | smsEmailService.sendWaitingSmsNotice(); |
| | | return ApiResponse.success("å¼å¯å®æ¶çä¿¡åé宿¶ä»»å¡æå"); |
| | | } |
| | | |
| | | } |