Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
legobackend
/
lego-manage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5ccdb9ae
authored
2025-09-27 20:44:57 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
8d771a33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
lego-admin/src/main/java/com/lego/web/controller/core/UpgradeController.java
lego-admin/src/main/java/com/lego/web/controller/core/UpgradeController.java
View file @
5ccdb9a
...
...
@@ -34,14 +34,16 @@ public class UpgradeController extends BaseController {
/**
* 查询列表数据
*
* @param query
* @return
*/
@GetMapping
(
"latest"
)
public
UpgradeVo
latest
(
@RequestBody
UpgradeQueryBo
query
,
HttpServletRequest
request
)
{
public
UpgradeVo
latest
(
String
fileType
,
String
platformType
,
HttpServletRequest
request
)
{
String
language
=
request
.
getHeader
(
"content-language"
);
if
(
StringUtils
.
isBlank
(
language
))
language
=
"zh_CN"
;
UpgradeQueryBo
query
=
new
UpgradeQueryBo
();
query
.
setFileType
(
fileType
);
query
.
setPlatformType
(
platformType
);
return
service
.
latest
(
query
,
language
);
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment