Authored by mlge

修改接口名称

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