Commit 80cdf280 by 陶光胜

二维码

parent 674f63f1
......@@ -192,7 +192,11 @@ public class QrcodeController {
JSONObject json = new JSONObject();
json.put("id", dto.getId());
json.put("name", dto.getClassifyName());
json.put("children", this.getScenesData(dto, scenes, valueResponse));
if(dto.getStatus() != null && dto.getStatus() == 1){
json.put("children", this.getScenesData(dto, scenes, valueResponse));
}else {
json.put("children", new JSONArray());
}
array.add(json);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment