非网用户数据统计项目
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.

25 lines
892 B

1 month ago
  1. package com.link.controller;
  2. import com.link.domain.Result;
  3. import com.link.domain.dto.NotRegisteredDTO;
  4. import com.link.service.NotRegisteredService;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.web.bind.annotation.PostMapping;
  7. import org.springframework.web.bind.annotation.RequestBody;
  8. import org.springframework.web.bind.annotation.RequestMapping;
  9. import org.springframework.web.bind.annotation.RestController;
  10. @RestController
  11. @RequestMapping("/toNotRegistered")
  12. public class NotRegisteredController {
  13. @Autowired
  14. private NotRegisteredService notRegisteredService;
  15. @PostMapping("/getjwCodes")
  16. public Result getjwCodes(@RequestBody NotRegisteredDTO dto) {
  17. Object result = notRegisteredService.getNotRegistered(dto.getJwCodes());
  18. System.out.println(result);
  19. return Result.ok("success",result);
  20. }
  21. }