| | |
| | | import com.yeshi.fanli.entity.accept.AcceptData;
|
| | | import com.yeshi.fanli.entity.push.DeviceActive;
|
| | | import com.yeshi.fanli.entity.system.BusinessSystem;
|
| | | import com.yeshi.fanli.entity.system.ConfigKeyEnum;
|
| | | import com.yeshi.fanli.entity.system.CustomerContent;
|
| | | import com.yeshi.fanli.entity.system.SystemClientParams;
|
| | | import com.yeshi.fanli.log.LogHelper;
|
| | |
| | | if (ssp.getKey().equalsIgnoreCase("iosonling") && "ios".equalsIgnoreCase(acceptData.getPlatform())
|
| | | && configService.iosOnLining(Integer.parseInt(acceptData.getVersion()))) {
|
| | | ssp.setValue("1");
|
| | | } else if (ssp.getKey().equalsIgnoreCase("home_weex_url")) {
|
| | | } else if (ssp.getKey().equalsIgnoreCase(ConfigKeyEnum.homeWeexUrl.getKey())) {
|
| | | if (("android".equalsIgnoreCase(acceptData.getPlatform())
|
| | | && Integer.parseInt(acceptData.getVersion()) < 36)) {
|
| | | // 老版本weex(1.5.1之前的)
|
| | |
| | | && Integer.parseInt(acceptData.getVersion()) < 44 && system.getId().longValue() != 5L)
|
| | | ssp.setValue("http://ec-1255749512.file.myqcloud.com/resource/weex/flq_index_v2.js");
|
| | | }
|
| | | |
| | | // 同步管理config
|
| | | if (ssp.getKey().equalsIgnoreCase("inviteRules")) {
|
| | | ssp.setValue(configService.get(ConfigKeyEnum.inviteRules.getKey()) );
|
| | | }
|
| | | |
| | | list.add(ssp);
|
| | | }
|
| | |
|