增加 demo模块 方便参考扩展
This commit is contained in:
parent
93e7f53cf8
commit
b8f6731584
|
@ -9,6 +9,10 @@
|
|||
* 查看ruoyi-framework模块的pom.xml文件,根据注释更改依赖
|
||||
* 查看ruoyi-admin模块中的application.yml文件,根据注释更改配置
|
||||
|
||||
关于如何创建新模块
|
||||
* 参考ruoyi-demo模块
|
||||
* 需要改动: 父pom 与 admin模块pom
|
||||
|
||||
## 修改RuoYi功能
|
||||
|
||||
* ORM框架 使用 Mybatis-Plus 简化CRUD
|
||||
|
@ -17,6 +21,7 @@
|
|||
* 代码生成模板 改为适配 Mybatis-Plus 的代码
|
||||
* 项目修改为 maven多环境配置
|
||||
* 重磅更新 升级MybatisPlus 3.4.1 重写配置文件详细注释 更新所有插件
|
||||
* 增加demo模块示例(给不会增加模块的小伙伴做参考)
|
||||
* 同步升级 3.3
|
||||
|
||||
## 平台简介
|
||||
|
|
8
pom.xml
8
pom.xml
|
@ -218,6 +218,13 @@
|
|||
<version>${ruoyi.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- demo模块 -->
|
||||
<dependency>
|
||||
<groupId>com.ruoyi</groupId>
|
||||
<artifactId>ruoyi-demo</artifactId>
|
||||
<version>${ruoyi.version}</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
|
@ -228,6 +235,7 @@
|
|||
<module>ruoyi-quartz</module>
|
||||
<module>ruoyi-generator</module>
|
||||
<module>ruoyi-common</module>
|
||||
<module>ruoyi-demo</module>
|
||||
</modules>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
|
|
|
@ -73,6 +73,12 @@
|
|||
<artifactId>ruoyi-generator</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- demo模块 -->
|
||||
<dependency>
|
||||
<groupId>com.ruoyi</groupId>
|
||||
<artifactId>ruoyi-demo</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>ruoyi</artifactId>
|
||||
<groupId>com.ruoyi</groupId>
|
||||
<version>3.3.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>ruoyi-demo</artifactId>
|
||||
|
||||
<description>
|
||||
demo模块
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- 通用工具-->
|
||||
<dependency>
|
||||
<groupId>com.ruoyi</groupId>
|
||||
<artifactId>ruoyi-common</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -0,0 +1 @@
|
|||
package com.ruoyi.demo.controller;
|
|
@ -0,0 +1 @@
|
|||
package com.ruoyi.demo.domain;
|
|
@ -0,0 +1 @@
|
|||
package com.ruoyi.demo.mapper;
|
|
@ -0,0 +1 @@
|
|||
package com.ruoyi.demo.service.impl;
|
|
@ -0,0 +1 @@
|
|||
package com.ruoyi.demo.service;
|
Loading…
Reference in New Issue