From 1934ded9f912ef9c897b9f77b79d08ee78189aba Mon Sep 17 00:00:00 2001 From: geekidea Date: Mon, 30 Mar 2020 02:07:12 +0800 Subject: [PATCH] README.md --- README-zh.md | 4 ++-- .../springbootplus/generator/SpringBootPlusGenerator.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README-zh.md b/README-zh.md index 07234052..2aca2fcf 100644 --- a/README-zh.md +++ b/README-zh.md @@ -342,12 +342,12 @@ public class SpringBootPlusApplication { } ``` -### 5. 访问项目swagger文档 +### 5. 访问项目Swagger文档 [http://47.105.159.10:8888/api/swagger-ui.html](http://47.105.159.10:8888/api/swagger-ui.html) ![swagger-ui.png](https://geekidea.oss-cn-chengdu.aliyuncs.com/spring-boot-plus/img/swagger-ui.png) ![swagger-ui-1.png](https://geekidea.oss-cn-chengdu.aliyuncs.com/spring-boot-plus/img/swagger-ui-1.png) -### 6. 访问nife4j文档 +### 6. 访问Knife4j文档 [http://47.105.159.10:8888/api/doc.html](http://47.105.159.10:8888/api/doc.html) ![knife4j.png](https://geekidea.oss-cn-chengdu.aliyuncs.com/spring-boot-plus/img/knife4j.png) ![knife4j-1.png](https://geekidea.oss-cn-chengdu.aliyuncs.com/spring-boot-plus/img/knife4j-1.png) diff --git a/generator/src/main/java/io/geekidea/springbootplus/generator/SpringBootPlusGenerator.java b/generator/src/main/java/io/geekidea/springbootplus/generator/SpringBootPlusGenerator.java index b0996a67..27ed0122 100644 --- a/generator/src/main/java/io/geekidea/springbootplus/generator/SpringBootPlusGenerator.java +++ b/generator/src/main/java/io/geekidea/springbootplus/generator/SpringBootPlusGenerator.java @@ -71,7 +71,7 @@ public static void main(String[] args) { .setGeneratorMapperXml(true) .setGeneratorPageParam(true) .setGeneratorQueryVo(true) - .setRequiresPermissions(true) + .setRequiresPermissions(false) .setPageListOrder(true) .setParamValidation(true) .setSwaggerTags(true)