Skip to content

mms-docs 模块

简介

mms-docs,是用于 [VitePress 会员主题] 基于VitePress默认主题做扩展,实现部分内容会员可见,用于做知识付费文档网站,除了使用主题模版还需要一套后端的接口服务

Go语言版本

官方是Go语言服务接口工程 ,会Go语言的朋友请直接使用[VitePress 会员主题] 的服务即可。

Java语音版本

基于 [mmsAdmin]项目,扩展的 ‘会员主题’ Java版服务接口。

一、获取代码

  1. 获取 doc 分支后端服务代码
git
git clone -b doc --single-branch https://gitee.com/mmsAdmin/mms.git
  1. 由于[mmsAdmin] 的接口响应格式和原官方接口有差异,所有 [VitePress 会员主题] 模版有做接口的优化调整升级,最新主题代码请 添加主微信,进微信群可免费下载领取。

二、模块 pom.xml

版本控制

  • 将下面代码添加到 dependencies 节点中
xml
    <!-- 文档管理模块-->
    <dependency>
        <groupId>com.sxpcwlkj</groupId>
        <artifactId>mms-doc-admin</artifactId>
        <version>${revision}</version>
    </dependency>
    <!-- 文档API模块-->
    <dependency>
        <groupId>com.sxpcwlkj</groupId>
        <artifactId>mms-doc-api</artifactId>
        <version>${revision}</version>
    </dependency>

安装模块

  • 将下面代码添加到添加到 modules 节点中
xml
    <module>mms-docs</module>

Released under the MIT License.