Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes
Project
Project
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
ximai
mes
Commits
7935a565
Commit
7935a565
authored
Nov 19, 2024
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
版本更新参数设置调整
parent
deff2fc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AppConfigController.java
...ava/com/ximai/mes/pro/controller/AppConfigController.java
+2
-2
No files found.
mes/src/main/java/com/ximai/mes/pro/controller/AppConfigController.java
View file @
7935a565
...
...
@@ -9,6 +9,7 @@ import com.ximai.mes.pro.domain.AppConfig;
import
com.ximai.mes.pro.service.IAppConfigService
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.data.repository.query.Param
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
...
...
@@ -52,9 +53,8 @@ public class AppConfigController extends BaseController {
* 获取作业端配置记录详细信息
*/
@ApiOperation
(
"获取作业端最新版本"
)
@PreAuthorize
(
"@ss.hasPermi('md:config:query')"
)
@GetMapping
(
value
=
"/getVersion"
)
public
AjaxResult
getVersion
(
@Pa
thVariable
(
"appName"
)
String
appName
)
{
public
AjaxResult
getVersion
(
@Pa
ram
(
"appName"
)
String
appName
)
{
return
AjaxResult
.
success
(
appConfigService
.
selectLastVersion
(
appName
));
}
...
...
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