code: protected <T> JsonObject buildListSuccess(String key, List<?> value, int totalCnt, int pageSize) {
          JsonObject json = JsonObject.create();
          json.addData(key, value);
          int totalPage = 0;
          if (totalCnt >= 0 && pageSize > 0) {
              totalPage = (totalCnt / pageSize) + 1;
          }
  
          json.addData("totalPage", totalPage);
          json.setStatus(GlobalResponseStatusMsg.OK.getMessage().getCode());
          return json;
      }
docs: 构造list成功结果
  
  @param key
  键
  @param value
  值
  @param totalCnt
  总数量
  @param pageSize
  页数
  @return JsonObject