TestController.java 972 B

123456789101112131415161718192021222324252627282930313233343536
  1. package com.fdkankan.contro.controller;
  2. import com.fdkankan.contro.service.ICommonService;
  3. import com.fdkankan.contro.service.IScene3dNumService;
  4. import com.fdkankan.web.response.ResultData;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.beans.factory.annotation.Value;
  7. import org.springframework.web.bind.annotation.GetMapping;
  8. import org.springframework.web.bind.annotation.RequestMapping;
  9. import org.springframework.web.bind.annotation.RestController;
  10. /**
  11. * <p>
  12. * TODO
  13. * </p>
  14. *
  15. * @author dengsixing
  16. * @since 2022/12/12
  17. **/
  18. @RestController
  19. @RequestMapping("/test")
  20. public class TestController {
  21. @Autowired
  22. private IScene3dNumService scene3dNumService;
  23. @Autowired
  24. private ICommonService commonService;
  25. @Value("${4dkk.laserService.bucket}")
  26. private String bucket;
  27. @GetMapping("/test")
  28. public ResultData test(String num) throws Exception {
  29. return ResultData.ok(bucket);
  30. }
  31. }