12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- // package com.fjhx.common.controller.send;
- //
- // import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
- // import com.fjhx.common.entity.send.dto.SendMegDto;
- // import com.fjhx.common.entity.send.dto.SendMegSelectDto;
- // import com.fjhx.common.entity.send.vo.SendMegVo;
- // import com.fjhx.common.service.send.SendMegService;
- // import com.ruoyi.common.core.domain.BaseSelectDto;
- // import org.springframework.beans.factory.annotation.Autowired;
- // import org.springframework.scheduling.annotation.EnableScheduling;
- // import org.springframework.scheduling.annotation.Scheduled;
- // import org.springframework.web.bind.annotation.PostMapping;
- // import org.springframework.web.bind.annotation.RequestBody;
- // import org.springframework.web.bind.annotation.RequestMapping;
- // import org.springframework.web.bind.annotation.RestController;
- //
- //
- // /**
- // * <p>
- // * 前端控制器
- // * </p>
- // *
- // * @author
- // * @since 2023-05-22
- // */
- // @EnableScheduling
- // @RestController
- // @RequestMapping("/sendMeg")
- // public class SendMegController {
- //
- // @Autowired
- // private SendMegService sendMegService;
- //
- // /**
- // * 分页
- // */
- // @PostMapping("/page")
- // public Page<SendMegVo> page(@RequestBody SendMegSelectDto dto) {
- // return sendMegService.getPage(dto);
- // }
- //
- // /**
- // * 明细
- // */
- // @PostMapping("/detail")
- // public SendMegVo detail(@RequestBody BaseSelectDto dto) {
- // return sendMegService.detail(dto.getId());
- // }
- //
- // /**
- // * 新增
- // */
- // @PostMapping("/add")
- // public void add(@RequestBody SendMegDto sendMegDto) {
- // sendMegService.add(sendMegDto);
- // }
- //
- // /**
- // * 编辑
- // */
- // @PostMapping("/edit")
- // public void edit(@RequestBody SendMegDto sendMegDto) {
- // sendMegService.edit(sendMegDto);
- // }
- //
- // /**
- // * 删除
- // */
- // @PostMapping("/delete")
- // public void delete(@RequestBody BaseSelectDto dto) {
- // sendMegService.delete(dto.getId());
- // }
- //
- // @Scheduled(cron = "0 0/1 * * * ? ") // 每1分钟执行一次
- // public void execute() {
- // sendMegService.executeSend();
- // }
- //
- // }
|