From fe29cab3d9bf8ddfeb1bc93a25a79c20276d8171 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 30 十二月 2025 15:35:49 +0800
Subject: [PATCH] 最新版本541200007最新版本541200007

---
 server/system_gateway/src/main/java/com/doumee/api/gateway/JwtAuthController.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/server/system_gateway/src/main/java/com/doumee/api/gateway/JwtAuthController.java b/server/system_gateway/src/main/java/com/doumee/api/gateway/JwtAuthController.java
index c6ddd04..25974a0 100644
--- a/server/system_gateway/src/main/java/com/doumee/api/gateway/JwtAuthController.java
+++ b/server/system_gateway/src/main/java/com/doumee/api/gateway/JwtAuthController.java
@@ -1,5 +1,6 @@
 package com.doumee.api.gateway;
 
+import com.doumee.biz.system.SystemDictDataBiz;
 import com.doumee.config.annotation.LoginNoRequired;
 import com.doumee.config.jwt.JwtProperties;
 import com.doumee.config.jwt.JwtTokenUtil;
@@ -8,6 +9,7 @@
 import com.doumee.core.exception.BusinessException;
 import com.doumee.dao.system.dto.LoginCabinetDTO;
 import com.doumee.dao.system.dto.LoginH5DTO;
+import com.doumee.dao.system.vo.SystemConfigVo;
 import com.doumee.service.business.third.model.ApiResponse;
 import com.doumee.service.business.third.model.LoginUserInfo;
 import com.doumee.core.utils.Constants;
@@ -44,6 +46,8 @@
     private SystemLoginService systemLoginService;
     @Autowired
     private CaptchaService captchaService;
+    @Autowired
+    private SystemDictDataBiz systemDictDataBiz;
 
     /**
      * @author Eva.Caesar Liu
@@ -56,6 +60,16 @@
     }
 
     @PreventRepeat(limit = 10, lockTime = 10000)
+    @ApiOperation("鑾峰彇绯荤粺閰嶇疆鍙傛暟")
+    @GetMapping("/systemConfig")
+    @LoginNoRequired
+    public ApiResponse<SystemConfigVo> systemConfig ( ) {
+        SystemConfigVo configVo = new SystemConfigVo();
+        configVo.setSubtitle(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.SYSTEM_SUBTITLE).getCode());
+        configVo.setTitle(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.SYSTEM_TITLE).getCode());
+        return ApiResponse.success(configVo);
+    }
+    @PreventRepeat(limit = 10, lockTime = 10000)
     @ApiOperation("鐧诲綍")
     @PostMapping("/login")
     @LoginNoRequired

--
Gitblit v1.9.3