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