Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tagManager
Overview
Overview
Details
Activity
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
lanmw
tagManager
Commits
cc5a5a74
Commit
cc5a5a74
authored
Apr 26, 2022
by
xieshaohua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ctrlservice修改
parent
cef4ec8d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
TagCtrlService.java
...com/keymobile/tagmanager/service/busi/TagCtrlService.java
+2
-3
TagFileCtrlService.java
...keymobile/tagmanager/service/busi/TagFileCtrlService.java
+6
-3
No files found.
tag-service/src/main/java/com/keymobile/tagmanager/service/busi/TagCtrlService.java
View file @
cc5a5a74
...
...
@@ -18,6 +18,7 @@ import io.swagger.annotations.ApiParam;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -27,9 +28,7 @@ import java.util.List;
import
java.util.Map
;
@Api
(
value
=
"标签相关"
,
tags
=
"标签相关"
)
@RestController
//@PreAuthorize("principal.authorities.?[authority.startsWith('ROLE_tagmanager_operator')].size() > 0")
@Service
public
class
TagCtrlService
{
@Autowired
...
...
tag-service/src/main/java/com/keymobile/tagmanager/service/busi/TagFileCtrlService.java
View file @
cc5a5a74
...
...
@@ -10,6 +10,7 @@ import io.swagger.annotations.Api;
import
io.swagger.annotations.ApiOperation
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
...
...
@@ -19,9 +20,7 @@ import java.io.InputStream;
import
java.util.ArrayList
;
import
java.util.List
;
@Api
(
value
=
"文件"
,
tags
=
"文件"
)
@RestController
@RequestMapping
(
value
=
"/file"
)
@Service
public
class
TagFileCtrlService
{
@Autowired
...
...
@@ -57,6 +56,10 @@ public class TagFileCtrlService {
public
Page
listImportTagLogByPage
(
String
deptIdPath
,
Integer
pageNo
,
Integer
pageSize
)
{
String
userName
=
UserInfoUtils
.
getUserName
();
System
.
out
.
println
(
userName
);
System
.
out
.
println
(
pageNo
);
System
.
out
.
println
(
pageSize
);
System
.
out
.
println
(
tagExportService
);
return
tagExportService
.
listImportlogByPage
(
userName
,
new
Page
(
pageSize
,
pageNo
));
}
...
...
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