Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
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
王飞
vehicle-quality-review
Commits
1a0e1832
Commit
1a0e1832
authored
Apr 01, 2024
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug - 70933
parent
b83d2e71
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
17 deletions
+3
-17
SysLogininforController.java
...ruoyi/web/controller/monitor/SysLogininforController.java
+1
-6
SysOperlogController.java
...om/ruoyi/web/controller/monitor/SysOperlogController.java
+1
-5
SysNoticeController.java
.../com/ruoyi/web/controller/system/SysNoticeController.java
+1
-6
No files found.
ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysLogininforController.java
View file @
1a0e1832
...
@@ -22,7 +22,7 @@ import com.ruoyi.system.service.ISysLogininforService;
...
@@ -22,7 +22,7 @@ import com.ruoyi.system.service.ISysLogininforService;
/**
/**
* 系统访问记录
* 系统访问记录
*
*
* @author ruoyi
* @author ruoyi
*/
*/
@RestController
@RestController
...
@@ -35,7 +35,6 @@ public class SysLogininforController extends BaseController
...
@@ -35,7 +35,6 @@ public class SysLogininforController extends BaseController
@Autowired
@Autowired
private
SysPasswordService
passwordService
;
private
SysPasswordService
passwordService
;
@PreAuthorize
(
"@ss.hasPermi('monitor:logininfor:list')"
)
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SysLogininfor
logininfor
)
public
TableDataInfo
list
(
SysLogininfor
logininfor
)
{
{
...
@@ -45,7 +44,6 @@ public class SysLogininforController extends BaseController
...
@@ -45,7 +44,6 @@ public class SysLogininforController extends BaseController
}
}
@Log
(
title
=
"登录日志"
,
businessType
=
BusinessType
.
EXPORT
)
@Log
(
title
=
"登录日志"
,
businessType
=
BusinessType
.
EXPORT
)
@PreAuthorize
(
"@ss.hasPermi('monitor:logininfor:export')"
)
@PostMapping
(
"/export"
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SysLogininfor
logininfor
)
public
void
export
(
HttpServletResponse
response
,
SysLogininfor
logininfor
)
{
{
...
@@ -54,7 +52,6 @@ public class SysLogininforController extends BaseController
...
@@ -54,7 +52,6 @@ public class SysLogininforController extends BaseController
util
.
exportExcel
(
response
,
list
,
"登录日志"
);
util
.
exportExcel
(
response
,
list
,
"登录日志"
);
}
}
@PreAuthorize
(
"@ss.hasPermi('monitor:logininfor:remove')"
)
@Log
(
title
=
"登录日志"
,
businessType
=
BusinessType
.
DELETE
)
@Log
(
title
=
"登录日志"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{infoIds}"
)
@DeleteMapping
(
"/{infoIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
infoIds
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
infoIds
)
...
@@ -62,7 +59,6 @@ public class SysLogininforController extends BaseController
...
@@ -62,7 +59,6 @@ public class SysLogininforController extends BaseController
return
toAjax
(
logininforService
.
deleteLogininforByIds
(
infoIds
));
return
toAjax
(
logininforService
.
deleteLogininforByIds
(
infoIds
));
}
}
@PreAuthorize
(
"@ss.hasPermi('monitor:logininfor:remove')"
)
@Log
(
title
=
"登录日志"
,
businessType
=
BusinessType
.
CLEAN
)
@Log
(
title
=
"登录日志"
,
businessType
=
BusinessType
.
CLEAN
)
@DeleteMapping
(
"/clean"
)
@DeleteMapping
(
"/clean"
)
public
AjaxResult
clean
()
public
AjaxResult
clean
()
...
@@ -71,7 +67,6 @@ public class SysLogininforController extends BaseController
...
@@ -71,7 +67,6 @@ public class SysLogininforController extends BaseController
return
success
();
return
success
();
}
}
@PreAuthorize
(
"@ss.hasPermi('monitor:logininfor:unlock')"
)
@Log
(
title
=
"账户解锁"
,
businessType
=
BusinessType
.
OTHER
)
@Log
(
title
=
"账户解锁"
,
businessType
=
BusinessType
.
OTHER
)
@GetMapping
(
"/unlock/{userName}"
)
@GetMapping
(
"/unlock/{userName}"
)
public
AjaxResult
unlock
(
@PathVariable
(
"userName"
)
String
userName
)
public
AjaxResult
unlock
(
@PathVariable
(
"userName"
)
String
userName
)
...
...
ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java
View file @
1a0e1832
...
@@ -21,7 +21,7 @@ import com.ruoyi.system.service.ISysOperLogService;
...
@@ -21,7 +21,7 @@ import com.ruoyi.system.service.ISysOperLogService;
/**
/**
* 操作日志记录
* 操作日志记录
*
*
* @author ruoyi
* @author ruoyi
*/
*/
@RestController
@RestController
...
@@ -31,7 +31,6 @@ public class SysOperlogController extends BaseController
...
@@ -31,7 +31,6 @@ public class SysOperlogController extends BaseController
@Autowired
@Autowired
private
ISysOperLogService
operLogService
;
private
ISysOperLogService
operLogService
;
@PreAuthorize
(
"@ss.hasPermi('monitor:operlog:list')"
)
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SysOperLog
operLog
)
public
TableDataInfo
list
(
SysOperLog
operLog
)
{
{
...
@@ -41,7 +40,6 @@ public class SysOperlogController extends BaseController
...
@@ -41,7 +40,6 @@ public class SysOperlogController extends BaseController
}
}
@Log
(
title
=
"操作日志"
,
businessType
=
BusinessType
.
EXPORT
)
@Log
(
title
=
"操作日志"
,
businessType
=
BusinessType
.
EXPORT
)
@PreAuthorize
(
"@ss.hasPermi('monitor:operlog:export')"
)
@PostMapping
(
"/export"
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SysOperLog
operLog
)
public
void
export
(
HttpServletResponse
response
,
SysOperLog
operLog
)
{
{
...
@@ -51,7 +49,6 @@ public class SysOperlogController extends BaseController
...
@@ -51,7 +49,6 @@ public class SysOperlogController extends BaseController
}
}
@Log
(
title
=
"操作日志"
,
businessType
=
BusinessType
.
DELETE
)
@Log
(
title
=
"操作日志"
,
businessType
=
BusinessType
.
DELETE
)
@PreAuthorize
(
"@ss.hasPermi('monitor:operlog:remove')"
)
@DeleteMapping
(
"/{operIds}"
)
@DeleteMapping
(
"/{operIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
operIds
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
operIds
)
{
{
...
@@ -59,7 +56,6 @@ public class SysOperlogController extends BaseController
...
@@ -59,7 +56,6 @@ public class SysOperlogController extends BaseController
}
}
@Log
(
title
=
"操作日志"
,
businessType
=
BusinessType
.
CLEAN
)
@Log
(
title
=
"操作日志"
,
businessType
=
BusinessType
.
CLEAN
)
@PreAuthorize
(
"@ss.hasPermi('monitor:operlog:remove')"
)
@DeleteMapping
(
"/clean"
)
@DeleteMapping
(
"/clean"
)
public
AjaxResult
clean
()
public
AjaxResult
clean
()
{
{
...
...
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysNoticeController.java
View file @
1a0e1832
...
@@ -22,7 +22,7 @@ import com.ruoyi.system.service.ISysNoticeService;
...
@@ -22,7 +22,7 @@ import com.ruoyi.system.service.ISysNoticeService;
/**
/**
* 公告 信息操作处理
* 公告 信息操作处理
*
*
* @author ruoyi
* @author ruoyi
*/
*/
@RestController
@RestController
...
@@ -35,7 +35,6 @@ public class SysNoticeController extends BaseController
...
@@ -35,7 +35,6 @@ public class SysNoticeController extends BaseController
/**
/**
* 获取通知公告列表
* 获取通知公告列表
*/
*/
@PreAuthorize
(
"@ss.hasPermi('system:notice:list')"
)
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SysNotice
notice
)
public
TableDataInfo
list
(
SysNotice
notice
)
{
{
...
@@ -47,7 +46,6 @@ public class SysNoticeController extends BaseController
...
@@ -47,7 +46,6 @@ public class SysNoticeController extends BaseController
/**
/**
* 根据通知公告编号获取详细信息
* 根据通知公告编号获取详细信息
*/
*/
@PreAuthorize
(
"@ss.hasPermi('system:notice:query')"
)
@GetMapping
(
value
=
"/{noticeId}"
)
@GetMapping
(
value
=
"/{noticeId}"
)
public
AjaxResult
getInfo
(
@PathVariable
Long
noticeId
)
public
AjaxResult
getInfo
(
@PathVariable
Long
noticeId
)
{
{
...
@@ -57,7 +55,6 @@ public class SysNoticeController extends BaseController
...
@@ -57,7 +55,6 @@ public class SysNoticeController extends BaseController
/**
/**
* 新增通知公告
* 新增通知公告
*/
*/
@PreAuthorize
(
"@ss.hasPermi('system:notice:add')"
)
@Log
(
title
=
"通知公告"
,
businessType
=
BusinessType
.
INSERT
)
@Log
(
title
=
"通知公告"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
@PostMapping
public
AjaxResult
add
(
@Validated
@RequestBody
SysNotice
notice
)
public
AjaxResult
add
(
@Validated
@RequestBody
SysNotice
notice
)
...
@@ -69,7 +66,6 @@ public class SysNoticeController extends BaseController
...
@@ -69,7 +66,6 @@ public class SysNoticeController extends BaseController
/**
/**
* 修改通知公告
* 修改通知公告
*/
*/
@PreAuthorize
(
"@ss.hasPermi('system:notice:edit')"
)
@Log
(
title
=
"通知公告"
,
businessType
=
BusinessType
.
UPDATE
)
@Log
(
title
=
"通知公告"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
@PutMapping
public
AjaxResult
edit
(
@Validated
@RequestBody
SysNotice
notice
)
public
AjaxResult
edit
(
@Validated
@RequestBody
SysNotice
notice
)
...
@@ -81,7 +77,6 @@ public class SysNoticeController extends BaseController
...
@@ -81,7 +77,6 @@ public class SysNoticeController extends BaseController
/**
/**
* 删除通知公告
* 删除通知公告
*/
*/
@PreAuthorize
(
"@ss.hasPermi('system:notice:remove')"
)
@Log
(
title
=
"通知公告"
,
businessType
=
BusinessType
.
DELETE
)
@Log
(
title
=
"通知公告"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{noticeIds}"
)
@DeleteMapping
(
"/{noticeIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
noticeIds
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
noticeIds
)
...
...
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