update
This commit is contained in:
parent
840129651d
commit
1dce512d27
@ -190,7 +190,6 @@ public class LauncherActivity extends AppCompatActivity implements View.OnClickL
|
||||
if (!TextUtils.isEmpty(adInfo)) {
|
||||
JSONObject obj = JSON.parseObject(adInfo);
|
||||
Log.i(TAG, "callback: " + adInfo);
|
||||
obj.put("switch", 1);
|
||||
if (obj.getIntValue("switch") == 1) {
|
||||
List<AdBean> list = JSON.parseArray(obj.getString("list"), AdBean.class);
|
||||
if (list != null && list.size() > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user