String strRes4DeviceCount = new HTTPHandler().httpPostJson
if(!LString.isNull(strRes4DeviceCount)) {
JSONObject jsonRes4DeviceCount = JSONObject.fromObject(strRes4DeviceCount);
if(jsonRes4DeviceCount.getInt("result") == 1) {
JSONArray stores = jsonRes4DeviceCount.getJSONArray("stores");
请求返回String不为null并且是请求成功result=1的情况做判断
最新推荐文章于 2022-02-08 09:34:29 发布