添加控制台管理用户名和密码

pull/112/head
RuoYi 5 years ago
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…
Cancel
Save