Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ioc_sixiang_license
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
zengtianlai3
ioc_sixiang_license
Commits
fbb116ac
Commit
fbb116ac
authored
Aug 08, 2022
by
zengtianlai3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文件无法下载问题
parent
d2d3afe0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
ResourceContrller.java
...ava/iot/sixiang/license/controller/ResourceContrller.java
+3
-4
No files found.
license/src/main/java/iot/sixiang/license/controller/ResourceContrller.java
View file @
fbb116ac
...
...
@@ -28,10 +28,9 @@ public class ResourceContrller {
@ApiOperation
(
value
=
"资源下载接口"
,
notes
=
"用于下载资源"
)
@GetMapping
(
"/download"
)
@MyLog
(
title
=
"下载资源"
,
businessType
=
BusinessType
.
OTHER
)
public
void
downloadWorkHourRecordTemplate
(
HttpServletResponse
response
)
{
int
userId
=
Integer
.
valueOf
(
XssUtil
.
checkXSS
(
UserUtils
.
getLoginUserId
()));
@MyLog
(
title
=
"下载资源"
,
optParam
=
"#{userId}"
,
businessType
=
BusinessType
.
OTHER
)
@ApiImplicitParam
(
name
=
"userId"
,
value
=
"用户Id"
,
required
=
true
,
dataType
=
"int"
)
public
void
downloadWorkHourRecordTemplate
(
HttpServletResponse
response
,
@RequestParam
(
value
=
"userId"
)
int
userId
)
{
resourceManager
.
downloadDeviceInfoExcle
(
response
,
userId
);
}
}
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