package com.link.controller; import com.link.domain.Result; import com.link.domain.dto.NotRegisteredDTO; import com.link.service.NotRegisteredService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("/toNotRegistered") public class NotRegisteredController { @Autowired private NotRegisteredService notRegisteredService; @PostMapping("/getjwCodes") public Result getjwCodes(@RequestBody NotRegisteredDTO dto) { Object result = notRegisteredService.getNotRegistered(dto.getJwCodes()); System.out.println(result); return Result.ok("success",result); } }