...
|
...
|
@@ -3,22 +3,17 @@ package com.yohoufo.user.controller.passport; |
|
|
|
|
|
import com.yoho.core.rest.annotation.ServiceDesc;
|
|
|
import com.yoho.tools.common.beans.ApiResponse;
|
|
|
import com.yohobuy.ufo.model.user.req.AuthorizeInfoReq;
|
|
|
import com.yohoufo.common.annotation.IgnoreSession;
|
|
|
import com.yohoufo.common.annotation.IgnoreSignature;
|
|
|
import com.yohoufo.common.exception.GatewayException;
|
|
|
import com.yohoufo.dal.user.model.UserAuthorizeInfo;
|
|
|
import com.yohoufo.user.helper.HideDataUtil;
|
|
|
import com.yohoufo.user.requestVO.RealNameAuthorizeReqVO;
|
|
|
import com.yohoufo.user.responseVO.AuthorizeResultRespVO;
|
|
|
import com.yohoufo.user.service.IRealNameAuthorizeService;
|
|
|
import com.yohoufo.user.service.risk.GraphVerifyService;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -45,10 +40,13 @@ public class RealNameAuthorize4PlatformController { |
|
|
@RequestMapping(value="/aliPayAccountQuery")
|
|
|
@IgnoreSession
|
|
|
@IgnoreSignature
|
|
|
public ApiResponse aliPayAccountQuery(@RequestBody Integer uid) {
|
|
|
logger.info("enter RealNameAuthorizeController aliPayAccountQuery authorize info param uid is {}", uid);
|
|
|
public ApiResponse aliPayAccountQuery(@RequestBody AuthorizeInfoReq req) {
|
|
|
logger.info("enter RealNameAuthorize4PlatformController aliPayAccountQuery authorize info param req is {}", req);
|
|
|
//获取
|
|
|
UserAuthorizeInfo info= realNameAuthorizeService.getValidAuthorizeInfo(uid);
|
|
|
UserAuthorizeInfo info=null;
|
|
|
if(req.getUid()!=null){
|
|
|
info= realNameAuthorizeService.getValidAuthorizeInfo(req.getUid());
|
|
|
}
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200)
|
|
|
.data(info).message("").build();
|
|
|
}
|
...
|
...
|
|