Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
matrix
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mall
arch
matrix
Commits
9d536563
Commit
9d536563
authored
Aug 15, 2019
by
李秋伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
769eebed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
README.md
protocol-starter/README.md
+3
-2
No files found.
protocol-starter/README.md
View file @
9d536563
...
...
@@ -6,7 +6,8 @@
-
支持dubbo、http协议swagger文档
-
支持dubbo、http协议response异常统一处理
-
多语言处理处理
# 最佳实践
# 最佳实践
-
controller需要使用@ApiController,否则自定义异常、多语言增强、swagger文档生成等功能将无法生效
-
对于明确的业务异常直接进行抛出,如下方法
...
...
@@ -43,7 +44,7 @@
}
```
新建service/rpc/OrderSearchRpcService
在业务系统中,
新建service/rpc/OrderSearchRpcService
```
@Service
...
...
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