|
|
@ -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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|