| | |
| | | public void getSystemClientParams(AcceptData acceptData, Long uid, String mac, HttpServletRequest request,
|
| | | PrintWriter out) {
|
| | | BusinessSystem system = businessSystemService.getBusinessSystemCache(acceptData.getPlatform(),
|
| | | acceptData.getPackages());
|
| | | acceptData.getPackages(),acceptData.getSystem());
|
| | | if (system == null) {
|
| | | out.print("系统不存在");
|
| | | return;
|
| | |
| | | }
|
| | |
|
| | | if (ssp.getKey().equalsIgnoreCase("iosonling") && "ios".equalsIgnoreCase(acceptData.getPlatform())
|
| | | && configService.iosOnLining(Integer.parseInt(acceptData.getVersion()))) {
|
| | | && configService.iosOnLining(Integer.parseInt(acceptData.getVersion()),acceptData.getSystem())) {
|
| | | ssp.setValue("1");
|
| | | } else if (ssp.getKey().equalsIgnoreCase(ConfigKeyEnum.homeWeexUrl.getKey())) {
|
| | | if (("android".equalsIgnoreCase(acceptData.getPlatform())
|
| | |
| | |
|
| | | // 同步管理config
|
| | | if (ssp.getKey().equalsIgnoreCase("inviteRules")) {
|
| | | ssp.setValue(configService.get(ConfigKeyEnum.inviteRules.getKey()) );
|
| | | ssp.setValue(configService.getValue(ConfigKeyEnum.inviteRules.getKey(),acceptData.getSystem()));
|
| | | }
|
| | |
|
| | | list.add(ssp);
|