Commit e3c41440 authored by suntao's avatar suntao

xyqb productId

parent 3eb842e1
......@@ -51,7 +51,7 @@ public class ChannelConf extends Primary {
private Integer p2pFundId;
/**
* p2p资方id
* xyqb productId
*/
@Column(name = "biz_type")
private Integer bizType;
......
......@@ -18,6 +18,9 @@ public class ChannelConfBaseModel {
private String env;
private Integer fundId;
private Integer p2pFundId;
/**
* 对应productId
*/
private Integer bizType;
private String aesKey;
private String md5Key;
......
......@@ -77,6 +77,7 @@ public class ChannelConfUtil {
channelConfiguration.setMd5Key(basicInfo.getMd5Key());
channelConfiguration.setSpiderCenterChannelCode(basicInfo.getRiskCode());
channelConfiguration.setSpiderCenterMerchantChannelCode(basicInfo.getAuthCode());
channelConfiguration.setXyqbProductId(basicInfo.getBizType()+"");
return channelConfiguration;
}
......@@ -219,7 +220,7 @@ public class ChannelConfUtil {
channelConfBaseModel.setEnv("");
channelConfBaseModel.setFundId(0);
channelConfBaseModel.setP2pFundId(0);
channelConfBaseModel.setBizType(0);
channelConfBaseModel.setBizType(Integer.valueOf(channelConfiguration.getXyqbProductId()));
channelConfBaseModel.setAesKey(channelConfiguration.getAesKey());
channelConfBaseModel.setMd5Key(channelConfiguration.getMd5Key());
channelConfBaseModel.setAuthCode(channelConfiguration.getSpiderCenterMerchantChannelCode());
......
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