fix 跨境商城修改

master
luoyang 5 years ago
parent 3e2ee72ddf
commit 89789c92e7

@ -9,7 +9,7 @@
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId> <artifactId>manage</artifactId>
<version>1.3.67</version> <version>1.3.68</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>1.8.0</jib-maven-plugin.version> <jib-maven-plugin.version>1.8.0</jib-maven-plugin.version>

@ -1769,10 +1769,8 @@ public class RetailAppServiceImp implements RetailAppService {
List<JSONObject> newActs = new ArrayList<>(); List<JSONObject> newActs = new ArrayList<>();
for (JSONObject act : JSON.parseArray(acts.toJSONString(), JSONObject.class)) { for (JSONObject act : JSON.parseArray(acts.toJSONString(), JSONObject.class)) {
if (act.getString("page_desc") != null && !act.getString("page_desc").equals("0")) { if (act.getString("page_desc") != null && !act.getString("page_desc").equals("0")) {
JSONObject reference = act.getJSONObject("reference"); logger.info("app get banner{}-{}", device.getIntValue("client_id"), act.toJSONString());
String geekUrl = "https://opt.royalpay.com.au/geekforbest/v1/operation/purpose_apply/index?source=app"; if (StringUtils.equalsIgnoreCase(act.getString("page_keywords"), "RYCBSM")) {
if (reference != null && StringUtils.isNotBlank(reference.getString("url"))
&& StringUtils.equalsIgnoreCase(geekUrl, reference.getString("url"))) {
if (geekShowActVersion(device.getString("version"))) { if (geekShowActVersion(device.getString("version"))) {
newActs.add(act); newActs.add(act);
} }

Loading…
Cancel
Save