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

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);
}
}