mirror of https://gitee.com/y_project/RuoYi.git
添加控制台管理用户名和密码
parent
126c4bc8c3
commit
7b0902477d
|
@ -15,7 +15,7 @@ import com.ruoyi.common.core.controller.BaseController;
|
|||
@RequestMapping("/monitor/data")
|
||||
public class DruidController extends BaseController
|
||||
{
|
||||
private String prefix = "/monitor/druid";
|
||||
private String prefix = "/druid";
|
||||
|
||||
@RequiresPermissions("monitor:data:view")
|
||||
@GetMapping()
|
||||
|
|
|
@ -41,7 +41,10 @@ spring:
|
|||
enabled: true
|
||||
# 设置白名单,不填则允许所有访问
|
||||
allow:
|
||||
url-pattern: /monitor/druid/*
|
||||
url-pattern: /druid/*
|
||||
# 控制台管理用户名和密码
|
||||
login-username:
|
||||
login-password:
|
||||
filter:
|
||||
stat:
|
||||
enabled: true
|
||||
|
|
Loading…
Reference in New Issue