|
@@ -127,6 +127,7 @@ public class ChannelServiceImpl implements IChannelService {
|
|
|
ChangDuAppDistributor distributorConfig = JSONObject.parseObject(resultJson.toJSONString(), ChangDuAppDistributor.class);
|
|
ChangDuAppDistributor distributorConfig = JSONObject.parseObject(resultJson.toJSONString(), ChangDuAppDistributor.class);
|
|
|
distributorConfig.setChangduAccountId(changduAccountId);
|
|
distributorConfig.setChangduAccountId(changduAccountId);
|
|
|
distributorConfig.setChannelType(3);
|
|
distributorConfig.setChannelType(3);
|
|
|
|
|
+ distributorConfig.setApiKey(apiKey);
|
|
|
log.info("番茄获取小程序绑定的渠道信息 {}", distributorConfig);
|
|
log.info("番茄获取小程序绑定的渠道信息 {}", distributorConfig);
|
|
|
adds.add(distributorConfig);
|
|
adds.add(distributorConfig);
|
|
|
}
|
|
}
|
|
@@ -143,6 +144,7 @@ public class ChannelServiceImpl implements IChannelService {
|
|
|
if (!Check.isNull(adds)) {
|
|
if (!Check.isNull(adds)) {
|
|
|
channelMapper.insertChangduDistributorApp(adds);
|
|
channelMapper.insertChangduDistributorApp(adds);
|
|
|
channelMapper.insertChangduDistributorConfig(adds);
|
|
channelMapper.insertChangduDistributorConfig(adds);
|
|
|
|
|
+ channelMapper.insertChannelAccountInfo(adds);
|
|
|
}
|
|
}
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|