ChanCMS

ChanCMS简介

2026-02-06 01:44:08 阅读(90)

ChanCMS内容管理系统

ChanCMS是一款基于Node、Express、MySQL、Vue3研发的高质量实用型CMS系统。轻量、灵活、稳定、高性能、易扩展,让开发更简单。

系统特色

自研。基于自研chanjs轻量级mvc框架实现,轻量、灵活、稳定、高性能、可持续。

SEO。专注于seo,伪静态html和拼音导航,灵活设置关键词和描述。

安全。基于knex,高防sql注入,接口权限校验,为安全提供保障。

灵活。碎片功能,支持零碎文案配置,方便各类灵活文案配置。

高扩展。支持扩展模型,字段配置,可动态生成表,超强扩展。

模块化。一切模块相互独立,互不干扰。

插件化。灵活开发,支持完整功能模块。

无头cms,为多端提供接口支持。

软件架构

后台管理FE

vue3
vue-router
pina
element-plus
vite4
tinymce

服务端技术栈

nodejs v20.16.0+
express 4.18+
mysql v5.7.26
knex (sql操作)
art-tempate v4.13.2+
pm2 v5.2.2
jwt
pm2 (prd)
nodemon (dev)

当前页面数据源:

{
  "template": "default",
  "domain": "www.chancms.top",
  "static_url": "/public/template/default/",
  "APP_VERSION": "3.3.6",
  "site": {
    "name": "ChanCMS",
    "domain": "www.chancms.top",
    "email": "867528315@qq.com",
    "wx": null,
    "icp": "皖ICP备2024030927号-1",
    "code": "",
    "title": "ChanCMS演示站",
    "keywords": "ChanCMS演示站",
    "description": "ChanCMS是一款基于Express和MySQL研发的高质量实用型CMS管理系统。它具备多种类型网站开发,易扩展、基于模块化和插件化开发模式,适用于商用企业级程序开发。",
    "json": ""
  },
  "nav": [
    {
      "id": 1,
      "pid": 0,
      "name": "首页",
      "pinyin": "home",
      "path": "/home",
      "orderBy": 1,
      "target": "0",
      "status": "0",
      "listView": "index.html",
      "articleView": "index.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "level": 1
    },
    {
      "id": 2,
      "pid": 0,
      "name": "文章",
      "pinyin": "art3",
      "path": "/art3",
      "orderBy": 2,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "children": [
        {
          "id": 8,
          "pid": 2,
          "name": "文档",
          "pinyin": "doc",
          "path": "/art2/doc",
          "orderBy": 0,
          "target": "0",
          "status": "0",
          "listView": "list.html",
          "articleView": "article.html",
          "seoTitle": "",
          "seoKeywords": "",
          "seoDescription": "",
          "type": "0",
          "level": 1
        }
      ],
      "level": 1
    },
    {
      "id": 3,
      "pid": 0,
      "name": "图片",
      "pinyin": "pics",
      "path": "/pics",
      "orderBy": 3,
      "target": "0",
      "status": "0",
      "listView": "list-img.html",
      "articleView": "article-img.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 4,
      "pid": 0,
      "name": "视频",
      "pinyin": "video",
      "path": "/video",
      "orderBy": 4,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 5,
      "pid": 0,
      "name": "下载",
      "pinyin": "down",
      "path": "/down",
      "orderBy": 5,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article-down.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 6,
      "pid": 0,
      "name": "专题",
      "pinyin": "topic",
      "path": "/topic",
      "orderBy": 6,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "special.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "level": 1
    },
    {
      "id": 7,
      "pid": 0,
      "name": "关于",
      "pinyin": "about",
      "path": "/about",
      "orderBy": 7,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "page.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "children": [
        {
          "id": 9,
          "pid": 7,
          "name": "作者",
          "pinyin": "zuozhe",
          "path": "/about/zuozhe",
          "orderBy": 0,
          "target": "0",
          "status": "0",
          "listView": "list.html",
          "articleView": "page.html",
          "seoTitle": "",
          "seoKeywords": "",
          "seoDescription": "",
          "type": "1",
          "level": 1
        }
      ],
      "level": 1
    }
  ],
  "category": [
    {
      "id": 8,
      "pid": 2,
      "name": "文档",
      "pinyin": "doc",
      "path": "/art2/doc",
      "orderBy": 0,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 9,
      "pid": 7,
      "name": "作者",
      "pinyin": "zuozhe",
      "path": "/about/zuozhe",
      "orderBy": 0,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "page.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "level": 1
    },
    {
      "id": 1,
      "pid": 0,
      "name": "首页",
      "pinyin": "home",
      "path": "/home",
      "orderBy": 1,
      "target": "0",
      "status": "0",
      "listView": "index.html",
      "articleView": "index.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "level": 1
    },
    {
      "id": 2,
      "pid": 0,
      "name": "文章",
      "pinyin": "art3",
      "path": "/art3",
      "orderBy": 2,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "children": [
        {
          "id": 8,
          "pid": 2,
          "name": "文档",
          "pinyin": "doc",
          "path": "/art2/doc",
          "orderBy": 0,
          "target": "0",
          "status": "0",
          "listView": "list.html",
          "articleView": "article.html",
          "seoTitle": "",
          "seoKeywords": "",
          "seoDescription": "",
          "type": "0",
          "level": 1
        }
      ],
      "level": 1
    },
    {
      "id": 3,
      "pid": 0,
      "name": "图片",
      "pinyin": "pics",
      "path": "/pics",
      "orderBy": 3,
      "target": "0",
      "status": "0",
      "listView": "list-img.html",
      "articleView": "article-img.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 4,
      "pid": 0,
      "name": "视频",
      "pinyin": "video",
      "path": "/video",
      "orderBy": 4,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 5,
      "pid": 0,
      "name": "下载",
      "pinyin": "down",
      "path": "/down",
      "orderBy": 5,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article-down.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 6,
      "pid": 0,
      "name": "专题",
      "pinyin": "topic",
      "path": "/topic",
      "orderBy": 6,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "special.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "level": 1
    },
    {
      "id": 7,
      "pid": 0,
      "name": "关于",
      "pinyin": "about",
      "path": "/about",
      "orderBy": 7,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "page.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "children": [
        {
          "id": 9,
          "pid": 7,
          "name": "作者",
          "pinyin": "zuozhe",
          "path": "/about/zuozhe",
          "orderBy": 0,
          "target": "0",
          "status": "0",
          "listView": "list.html",
          "articleView": "page.html",
          "seoTitle": "",
          "seoKeywords": "",
          "seoDescription": "",
          "type": "1",
          "level": 1
        }
      ],
      "level": 1
    }
  ],
  "friendlink": [
    {
      "title": "ChanCMS官网",
      "link": "https://www.chancms.top"
    }
  ],
  "frag": {
    "PowerBy": "<p style=\"text-align: center;\">Powder By <a href=\"http://www.chancms.top\" target=\"_blank\" rel=\"noopener\">ChanCMS v3.0.14</a></p>",
    "chancms": "<p><span style=\"font-size: 14px;\">ChanCMS是一款基于Node、Express、MySQL、Vue3研发的高质量实用型CMS系统。轻量、灵活、稳定、高性能、易扩展,让开发更简单。</span></p>"
  },
  "tag": [
    {
      "id": 2,
      "name": "chancms",
      "path": "chancms",
      "count": 9
    },
    {
      "id": 1,
      "name": "图片",
      "path": "pic",
      "count": 7
    }
  ],
  "page": {
    "count": 2,
    "total": 1,
    "current": 1,
    "list": [
      {
        "id": 15,
        "title": "ChanCMS于作者",
        "shortTitle": "",
        "img": "",
        "description": "关于作者测试单页",
        "createdAt": "2024-12-05T15:26:59.000Z",
        "author": "",
        "pv": 254,
        "pinyin": "zuozhe",
        "name": "作者",
        "path": "/about/zuozhe"
      },
      {
        "id": 5,
        "title": "ChanCMS简介",
        "shortTitle": "",
        "img": "",
        "description": "ChanCMS简介",
        "createdAt": "2024-09-13T15:06:30.000Z",
        "author": "",
        "pv": 90,
        "pinyin": "about",
        "name": "关于",
        "path": "/about"
      }
    ]
  },
  "cate": {
    "id": 7,
    "pid": 0,
    "name": "关于",
    "pinyin": "about",
    "path": "/about",
    "orderBy": 7,
    "target": "0",
    "status": "0",
    "listView": "list.html",
    "articleView": "page.html",
    "seoTitle": "",
    "seoKeywords": "",
    "seoDescription": "",
    "type": "1",
    "children": [
      {
        "id": 9,
        "pid": 7,
        "name": "作者",
        "pinyin": "zuozhe",
        "path": "/about/zuozhe",
        "orderBy": 0,
        "target": "0",
        "status": "0",
        "listView": "list.html",
        "articleView": "page.html",
        "seoTitle": "",
        "seoKeywords": "",
        "seoDescription": "",
        "type": "1",
        "level": 1
      }
    ],
    "level": 1
  },
  "position": [
    {
      "id": 7,
      "pid": 0,
      "name": "关于",
      "pinyin": "about",
      "path": "/about",
      "orderBy": 7,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "page.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "children": [
        {
          "id": 9,
          "pid": 7,
          "name": "作者",
          "pinyin": "zuozhe",
          "path": "/about/zuozhe",
          "orderBy": 0,
          "target": "0",
          "status": "0",
          "listView": "list.html",
          "articleView": "page.html",
          "seoTitle": "",
          "seoKeywords": "",
          "seoDescription": "",
          "type": "1",
          "level": 1
        }
      ],
      "level": 1
    }
  ],
  "article": {
    "id": 5,
    "cid": 7,
    "subCid": "",
    "title": "ChanCMS简介",
    "shortTitle": "",
    "tagId": "2",
    "attr": "",
    "articleView": "",
    "source": "",
    "author": "",
    "description": "ChanCMS简介",
    "img": "",
    "content": "<p><strong>ChanCMS内容管理系统</strong></p>\n<p>ChanCMS是一款基于Node、Express、MySQL、Vue3研发的高质量实用型CMS系统。轻量、灵活、稳定、高性能、易扩展,让开发更简单。</p>\n<p><strong>系统特色</strong></p>\n<p>自研。基于自研chanjs轻量级mvc框架实现,轻量、灵活、稳定、高性能、可持续。</p>\n<p>SEO。专注于seo,伪静态html和拼音导航,灵活设置关键词和描述。</p>\n<p>安全。基于knex,高防sql注入,接口权限校验,为安全提供保障。</p>\n<p>灵活。碎片功能,支持零碎文案配置,方便各类灵活文案配置。</p>\n<p>高扩展。支持扩展模型,字段配置,可动态生成表,超强扩展。</p>\n<p>模块化。一切模块相互独立,互不干扰。</p>\n<p>插件化。灵活开发,支持完整功能模块。</p>\n<p>无头cms,为多端提供接口支持。</p>\n<p><strong>软件架构</strong></p>\n<p>后台管理FE</p>\n<pre class=\"language-markup\"><code>vue3\nvue-router\npina\nelement-plus\nvite4\ntinymce</code></pre>\n<p>服务端技术栈</p>\n<pre class=\"language-markup\"><code>nodejs v20.16.0+\nexpress 4.18+\nmysql v5.7.26\nknex (sql操作)\nart-tempate v4.13.2+\npm2 v5.2.2\njwt\npm2 (prd)\nnodemon (dev)</code></pre>",
    "status": 0,
    "pv": 90,
    "link": "",
    "createdAt": "2024-09-13T15:06:30.000Z",
    "updatedAt": "2026-02-05T17:44:08.000Z",
    "field": {}
  },
  "_locals": {},
  "cache": false,
  "filename": "C:\\wwwroot\\chanCMS\\app\\modules\\web\\view\\default\\page.html"
}