Commit 8b9fb523 by 程裕兵

feat:bankcard

parent 8e0ec40d
......@@ -39,12 +39,10 @@ public class BrandBankCardInfo {
@ApiModelProperty(value = "持卡人手机号(对私卡必填)")
private String phone;
@ApiModelProperty(value = "证件号(对私卡:持卡人身份证;对公卡:营业执照号)", required = true)
@NotBlank(message = "证件号不能为空")
@ApiModelProperty(value = "证件号(对私卡:持卡人身份证;)", notes = "对私卡必填")
private String certNo;
@ApiModelProperty(value = "证件类型", required = true)
@NotNull(message = "证件类型不能为空")
@ApiModelProperty(value = "证件类型", notes = "对私卡必填")
private CertTypeEnums certType;
@ApiModelProperty(value = "基本存款账户编号或开户许可证核准号", notes = "对公卡必填")
......
......@@ -78,7 +78,6 @@ public class ApplyStudioMerchantParams {
ApplyStudioMerchantParams.class);
if (null != copy.getBankCard()) {
copy.getBankCard().setCardNo(AesUtil.encrypt(salt, copy.getBankCard().getCardNo()));
copy.getBankCard().setCertNo(AesUtil.encrypt(salt, copy.getBankCard().getCertNo()));
copy.getBankCard().setBaseDepositNo(AesUtil.encrypt(salt, copy.getBankCard().getBaseDepositNo()));
}
if (null != copy.getLegal()) {
......@@ -95,7 +94,6 @@ public class ApplyStudioMerchantParams {
ApplyStudioMerchantParams.class);
if (null != copy.getBankCard()) {
copy.getBankCard().setCardNo(AesUtil.decrypt(salt, copy.getBankCard().getCardNo()));
copy.getBankCard().setCertNo(AesUtil.decrypt(salt, copy.getBankCard().getCertNo()));
copy.getBankCard().setBaseDepositNo(AesUtil.decrypt(salt, copy.getBankCard().getBaseDepositNo()));
}
if (null != copy.getLegal()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment