12345678910111213141516171819202122232425262728293031323334 |
- package com.fdkankan.contro.controller;
- import com.fdkankan.contro.service.ICommonService;
- import com.fdkankan.contro.service.IScene3dNumService;
- import com.fdkankan.web.response.ResultData;
- 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;
- /**
- * <p>
- * TODO
- * </p>
- *
- * @author dengsixing
- * @since 2022/12/12
- **/
- @RestController
- @RequestMapping("/test")
- public class TestController {
- @Autowired
- private IScene3dNumService scene3dNumService;
- @Autowired
- private ICommonService commonService;
- @GetMapping("/test")
- public ResultData test(String num) throws Exception {
- commonService.sendEmail(num);
- return ResultData.ok();
- }
- }
|