测试windows Live Writer

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了测试windows Live Writer相关的知识,希望对你有一定的参考价值。

   /**
     * 跳转到播放器分类管理页面 查看一级分类数据
     *
     * @return
     */
    @RequestMapping(value = "/playerList")
    @ResponseBody
    public void toPlayerType(
            @RequestParam(value = "page", defaultValue = "1") int page,
            @RequestParam(value = "rows", defaultValue = "10") int rows,
            HttpServletResponse response) {
        PageBean pageBean = new PageBean(page, rows);
        List<PlayerType> ptList = playerTypeService.getList(0, null, pageBean);
        for (PlayerType pt : ptList) {
            if (String.valueOf(pt.getTime()).length() > 11) {
                pt.setCreateTime(DateUtil.format(pt.getTime()));
            } else {
                pt.setCreateTime(DateUtil.format(pt.getTime() * 1000l));
            }

        }
        writeInfo(response, JSON.toJSONString(new DataGridBean(NumberUtil.getInt(pageBean.getRowCount() + "", 0), ptList), SerializerFeature.DisableCircularReferenceDetect));
    }

以上是关于测试windows Live Writer的主要内容,如果未能解决你的问题,请参考以下文章

测试windows Live Writer

本地Windows Live Writer测试

Windows Live Writer发布CSDN离线博客教程及测试

Windows Live Writer 代码着色插件推荐

Windows Live Writer 代码插件改造

Windows Live Writer 代码插件改造