Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TCM
tcm-system
Commits
9e6c56e5
Commit
9e6c56e5
authored
Apr 22, 2020
by
tangf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加swagger
parent
0026db43
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
AuthorityController.java
...angding/web/authority/controller/AuthorityController.java
+2
-0
CompanyCtroller.java
...om/pangding/web/authority/controller/CompanyCtroller.java
+5
-0
No files found.
src/main/java/com/pangding/web/authority/controller/AuthorityController.java
View file @
9e6c56e5
...
...
@@ -11,6 +11,7 @@ import com.pangding.web.authority.vo.resvo.WebAuthorityResVo;
import
com.yanzuoguang.util.helper.CheckerHelper
;
import
com.yanzuoguang.util.vo.PageSizeData
;
import
com.yanzuoguang.util.vo.ResponseResult
;
import
io.swagger.annotations.Api
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.http.MediaType
;
import
org.springframework.web.bind.annotation.*
;
...
...
@@ -23,6 +24,7 @@ import java.util.List;
*/
@RestController
@RequestMapping
(
"/authority"
)
@Api
(
value
=
"权限"
)
public
class
AuthorityController
{
@Autowired
...
...
src/main/java/com/pangding/web/authority/controller/CompanyCtroller.java
View file @
9e6c56e5
...
...
@@ -19,6 +19,11 @@ public class CompanyCtroller {
@Autowired
private
CompanyService
companyService
;
/**
* 找到公司余额
* @param req
* @return
*/
@RequestMapping
(
value
=
"/findCompanyBalance"
,
method
=
RequestMethod
.
POST
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
public
ResponseResult
findCompanyBalance
(
@RequestBody
CompanyReqVo
req
){
CheckerHelper
.
newInstance
().
notBlankCheck
(
"id"
,
req
.
getId
()).
checkException
();
...
...
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