添加系统设置页面.

This commit is contained in:
lijiahangmax
2024-06-18 00:35:45 +08:00
parent cfe1924f11
commit d56cfbba82
11 changed files with 252 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ import com.orion.visor.framework.log.core.annotation.IgnoreLog;
import com.orion.visor.framework.log.core.enums.IgnoreLogMode;
import com.orion.visor.framework.web.core.annotation.RestWrapper;
import com.orion.visor.module.infra.entity.vo.AppInfoVO;
import com.orion.visor.module.infra.service.SystemService;
import com.orion.visor.module.infra.service.SystemSettingService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
@@ -27,18 +27,18 @@ import javax.annotation.Resource;
@Validated
@RestWrapper
@RestController
@RequestMapping("/infra/system")
@RequestMapping("/infra/system-setting")
@SuppressWarnings({"ELValidationInJSP", "SpringElInspection"})
public class SystemController {
public class SystemSettingController {
@Resource
private SystemService systemService;
private SystemSettingService systemSettingService;
@IgnoreLog(IgnoreLogMode.RET)
@GetMapping("/app-info")
@Operation(summary = "查询应用信息")
public AppInfoVO getAppInfo() {
return systemService.getAppInfo();
return systemSettingService.getAppInfo();
}
}

View File

@@ -9,7 +9,7 @@ import com.orion.visor.module.infra.entity.vo.AppInfoVO;
* @version 1.0.0
* @since 2024/6/17 18:10
*/
public interface SystemService {
public interface SystemSettingService {
/**
* 获取应用信息

View File

@@ -7,7 +7,7 @@ import com.orion.visor.framework.common.constant.AppConst;
import com.orion.visor.framework.common.constant.Const;
import com.orion.visor.framework.common.utils.Mixes;
import com.orion.visor.module.infra.entity.vo.AppInfoVO;
import com.orion.visor.module.infra.service.SystemService;
import com.orion.visor.module.infra.service.SystemSettingService;
import org.springframework.stereotype.Service;
/**
@@ -18,7 +18,7 @@ import org.springframework.stereotype.Service;
* @since 2024/6/17 18:10
*/
@Service
public class SystemServiceImpl implements SystemService {
public class SystemSettingServiceImpl implements SystemSettingService {
private String uuid;