|
|
|
@ -1175,8 +1175,12 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
|
deviceSupport.findRegister(clientType);
|
|
|
|
|
JSONObject res = royalPayCMSSupport.listArticles("app_ad", false, true, 1, 10);
|
|
|
|
|
JSONArray acts = res.getJSONArray("data");
|
|
|
|
|
int selectNo = RandomUtils.nextInt(0,acts.size());
|
|
|
|
|
return acts.getJSONObject(selectNo);
|
|
|
|
|
if (acts.size()>0){
|
|
|
|
|
int selectNo = RandomUtils.nextInt(0,acts.size());
|
|
|
|
|
return acts.getJSONObject(selectNo);
|
|
|
|
|
}
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static boolean mathchLetterorNum(String str) {
|
|
|
|
|