From 651a15c78f668bef3859d9ed1bb7ad0b669d3600 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 03 七月 2020 17:52:07 +0800 Subject: [PATCH] 多APP优化 --- fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserCloudControllerV2.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserCloudControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserCloudControllerV2.java index b524cb4..adc4ac5 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserCloudControllerV2.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserCloudControllerV2.java @@ -244,7 +244,7 @@ } // 鏁欑▼ - List<BannerVO> listBanner = swiperPictureService.getByBannerCard("cloud_course"); + List<BannerVO> listBanner = swiperPictureService.getByBannerCard("cloud_course",acceptData.getSystem()); if (listBanner != null && listBanner.size() > 0) { cloudInfoVO.setCourse(listBanner.get(0)); } @@ -725,7 +725,7 @@ key = StringUtil.Md5(key); redisManager.cacheCommonString(key , builder.toString() , 60*10); - String link = configService.get(ConfigKeyEnum.cloudAlipayJumpLink.getKey()) +"?key=%s"; + String link = configService.getValue(ConfigKeyEnum.cloudAlipayJumpLink.getKey(),acceptData.getSystem()) +"?key=%s"; JSONObject dataObject = new JSONObject(); dataObject.put("link", String.format(link, key)); JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult(dataObject)); @@ -784,7 +784,7 @@ } catch (UserCloudException e) { if (e.getCode() > 1000 && e.getCode() < 1100) { JSONObject data = new JSONObject(); - data.put("link", configService.get(ConfigKeyEnum.robotCloudLink.getKey())); + data.put("link", configService.getValue(ConfigKeyEnum.robotCloudLink.getKey(),acceptData.getSystem())); JsonUtil.printMode(out, callback, JsonUtil.loadTrue(e.getCode(), data, e.getMsg()).toString()); } else { JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult(e.getCode(),e.getMsg())); @@ -830,7 +830,7 @@ } catch (UserCloudException e) { if (e.getCode() > 1000 && e.getCode() < 1100) { JSONObject data = new JSONObject(); - data.put("link", configService.get(ConfigKeyEnum.robotCloudLink.getKey())); + data.put("link", configService.getValue(ConfigKeyEnum.robotCloudLink.getKey(),acceptData.getSystem())); JsonUtil.printMode(out, callback, JsonUtil.loadTrue(e.getCode(), data, e.getMsg()).toString()); } else { JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult(e.getCode(),e.getMsg())); -- Gitblit v1.8.0