...
|
...
|
@@ -167,9 +167,9 @@ public class RealNameAuthorizeController { |
|
|
* 新接口
|
|
|
* 支付宝第三方验证后, 调用接口 保存 用户对应的支付宝账号信息
|
|
|
*/
|
|
|
@RequestMapping(params = "method=ufo.user.aliPayAccountBindNew")
|
|
|
public ApiResponse aliPayAccountBindNew(RealNameAuthorizeReqVO reqVO) throws GatewayException {
|
|
|
logger.info("enter aliPayAccountBindNew reqVO is {}", reqVO);
|
|
|
@RequestMapping(params = "method=ufo.user.autoBindAliPayAccount")
|
|
|
public ApiResponse autoBindAliPayAccount(RealNameAuthorizeReqVO reqVO) throws GatewayException {
|
|
|
logger.info("enter autoBindAliPayAccount reqVO is {}", reqVO);
|
|
|
//(1) 优先校验请求的参数
|
|
|
if (reqVO == null || StringUtils.isEmpty(reqVO.getAlipayUid()) ){
|
|
|
throw new GatewayException(400, "alipayUid参数为空!");
|
...
|
...
|
@@ -189,7 +189,7 @@ public class RealNameAuthorizeController { |
|
|
realNameAuthorizeService.saveAuthorizeInfoNew(reqVO);
|
|
|
return new ApiResponse(200,"success!");
|
|
|
}catch(Exception e){
|
|
|
logger.warn("aliPayAccountBindNew error! reqVO ={}, e : {}", reqVO, e);
|
|
|
logger.warn("autoBindAliPayAccount error! reqVO ={}, e : {}", reqVO, e);
|
|
|
return new ApiResponse(201,"failed!");
|
|
|
}
|
|
|
}
|
...
|
...
|
|