You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 line
666B

  1. package com.telpo.dipperposition.controller;
  2. import lombok.extern.slf4j.Slf4j;
  3. import org.springframework.beans.factory.annotation.Value;
  4. import org.springframework.web.bind.annotation.RequestMapping;
  5. import org.springframework.web.bind.annotation.RestController;
  6. /**
  7. * @program: DipperPositionController
  8. * @description: 北斗定位
  9. * @author: linwl
  10. * @create: 2020-07-10 14:01
  11. */
  12. @RestController
  13. @Slf4j
  14. public class DipperPositionController {
  15. @Value(value = "${position-server.serverAddr}")
  16. private String hello;
  17. //RzlAccount rzlAccount;
  18. @RequestMapping("/getPos")
  19. public String getPos() {
  20. return "return serverAddr = " + hello;
  21. }
  22. }