package com.kwan.springbootkwan.controller; import com.kwan.springbootkwan.entity.Result; import com.kwan.springbootkwan.service.CsdnTripletDayInfoService; 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; /** * 每日三连监控(CsdnTripletDayInfo)表控制层 * * @author makejava * @since 2023-10-26 20:55:30 */ @RestController @RequestMapping("/dayInfo") public class CsdnTripletDayInfoController { @Autowired private CsdnTripletDayInfoService csdnTripletDayInfoService; @GetMapping("/add") public Result autoReply() { return Result.ok(csdnTripletDayInfoService.todayInfo()); } }