mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-28 01:53:53 +08:00
fix:修改
This commit is contained in:
+3
-7
@@ -237,13 +237,9 @@ public class LoginController {
|
|||||||
config.put("sm2PublicKey", publicKey);
|
config.put("sm2PublicKey", publicKey);
|
||||||
|
|
||||||
// 获取system-web.menu参数配置
|
// 获取system-web.menu参数配置
|
||||||
try {
|
String menuConfig = sysParamsService.getValue("system-web.menu", true);
|
||||||
String menuConfig = sysParamsService.getValue("system-web.menu", false);
|
if (StringUtils.isNotBlank(menuConfig)) {
|
||||||
if (StringUtils.isNotBlank(menuConfig)) {
|
config.put("systemWebMenu", JsonUtils.parseObject(menuConfig, Object.class));
|
||||||
config.put("systemWebMenu", JsonUtils.parseObject(menuConfig, Object.class));
|
|
||||||
}
|
|
||||||
} catch (Exception e) {
|
|
||||||
log.warn("获取system-web.menu参数配置失败: {}", e.getMessage());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Result<Map<String, Object>>().ok(config);
|
return new Result<Map<String, Object>>().ok(config);
|
||||||
|
|||||||
Reference in New Issue
Block a user