李雨欣 9.9测试接口 21:10
parent
70d2cf77dd
commit
45753fee7b
|
@ -5,13 +5,10 @@ import com.muyu.market.admain.request.RealNameRequest;
|
|||
import com.muyu.market.admain.response.RealNameResponse;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
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;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
|
||||
|
@ -29,6 +26,7 @@ public class RealNameController {
|
|||
@Operation(summary = "查询身份证",description = "查询身份证")
|
||||
public RealNameResponse realName(@RequestBody RealNameRequest realNameRequest){
|
||||
RealNameResponse realNameResponse = null;
|
||||
|
||||
try {
|
||||
realNameResponse = realNameService.send(realNameRequest);
|
||||
return realNameResponse;
|
||||
|
|
Loading…
Reference in New Issue