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; /** *

* TODO *

* * @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(); } }