fix 跨境商城修改

master
luoyang 5 years ago
parent 3e2ee72ddf
commit 89789c92e7

@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>1.3.67</version>
<version>1.3.68</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<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<>();
for (JSONObject act : JSON.parseArray(acts.toJSONString(), JSONObject.class)) {
if (act.getString("page_desc") != null && !act.getString("page_desc").equals("0")) {
JSONObject reference = act.getJSONObject("reference");
String geekUrl = "https://opt.royalpay.com.au/geekforbest/v1/operation/purpose_apply/index?source=app";
if (reference != null && StringUtils.isNotBlank(reference.getString("url"))
&& StringUtils.equalsIgnoreCase(geekUrl, reference.getString("url"))) {
logger.info("app get banner{}-{}", device.getIntValue("client_id"), act.toJSONString());
if (StringUtils.equalsIgnoreCase(act.getString("page_keywords"), "RYCBSM")) {
if (geekShowActVersion(device.getString("version"))) {
newActs.add(act);
}

Loading…
Cancel
Save