Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0cafd23e
authored
Sep 14, 2023
by
杨伟程
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
swagger更新
parent
14595170
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
server-module/src/main/java/com/makeit/config/SwaggerPlatformConfig.java
server-module/src/main/java/com/makeit/module/controller/children/org/PlatOrgChildrenController.java
server-module/src/main/java/com/makeit/config/SwaggerPlatformConfig.java
View file @
0cafd23e
...
...
@@ -63,7 +63,9 @@ public class SwaggerPlatformConfig {
ApiSelectorBuilder
builder
=
docket
.
select
();
//api过滤
builder
=
builder
.
apis
(
RequestHandlerSelectors
.
basePackage
(
"com.makeit.module.controller.wechat"
)
RequestHandlerSelectors
.
basePackage
(
"com.makeit.module.controller"
)
.
and
(
RequestHandlerSelectors
.
basePackage
(
"com.makeit.module.controller.wechat"
).
negate
())
.
and
(
RequestHandlerSelectors
.
basePackage
(
"com.makeit.module.controller.children"
).
negate
())
);
return
builder
.
build
();
}
...
...
server-module/src/main/java/com/makeit/module/controller/children/org/PlatOrgChildrenController.java
View file @
0cafd23e
...
...
@@ -21,7 +21,7 @@ import org.springframework.web.bind.annotation.RestController;
import
java.util.List
;
@Api
(
tags
=
"子女端-组织"
)
@Api
(
tags
=
"子女端
小程序
-组织"
)
@RestController
@RequestMapping
(
"/children/plat/org"
)
public
class
PlatOrgChildrenController
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment