|
@@ -64,12 +64,12 @@ public class WxMaConfiguration {
|
|
List<CourseMaConfig> courseMaConfigs = JSON.parseArray(sysConfig3.getConfigValue(), CourseMaConfig.class);
|
|
List<CourseMaConfig> courseMaConfigs = JSON.parseArray(sysConfig3.getConfigValue(), CourseMaConfig.class);
|
|
if (courseMaConfigs!=null&& !courseMaConfigs.isEmpty()){
|
|
if (courseMaConfigs!=null&& !courseMaConfigs.isEmpty()){
|
|
for (CourseMaConfig courseMaConfig : courseMaConfigs) {
|
|
for (CourseMaConfig courseMaConfig : courseMaConfigs) {
|
|
- if (appid.equals(courseMaConfig.getAppid())) {
|
|
|
|
- continue;
|
|
|
|
|
|
+ if (!appid.equals(courseMaConfig.getAppid())) {
|
|
|
|
+ WxMaConfig.Config wxMaConfig = new WxMaConfig.Config();
|
|
|
|
+ BeanUtils.copyProperties(courseMaConfig, wxMaConfig);
|
|
|
|
+ c.add(wxMaConfig);
|
|
}
|
|
}
|
|
- WxMaConfig.Config wxMaConfig = new WxMaConfig.Config();
|
|
|
|
- BeanUtils.copyProperties(courseMaConfig, wxMaConfig);
|
|
|
|
- c.add(wxMaConfig);
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
wx.setConfigs(c);
|
|
wx.setConfigs(c);
|