-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
但是整体 的错误处理还是有些混乱,感觉可以试着规范下 比如只定义有意义(用户能看懂)的错误码,没意义的打个自定义的log就行? 比如service层尽量不定义localError,而是打log,然后controlller层调用的时候只需要返回一个抽象层次更高的错误就行 但如果service层有localError的话就用handleError处理下
- Loading branch information
1 parent
61923d2
commit 8657588
Showing
2 changed files
with
23 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters