From 1c3919f11f5eb5b3c2ba74d95ca6fcdf11ce9bf9 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 25 一月 2024 10:17:35 +0800 Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs --- Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/CodeApplication.java | 15 +++++---------- 1 files changed, 5 insertions(+), 10 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/CodeApplication.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/CodeApplication.java index 50230ec..5886f2d 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/CodeApplication.java +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/CodeApplication.java @@ -16,24 +16,19 @@ */ package com.vci.ubcs.code; +import org.springblade.core.cloud.client.UbcsCloudApplication; import org.springblade.core.launch.UbcsApplication; import org.springblade.core.launch.constant.AppConstant; -import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.cache.annotation.EnableCaching; -import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.context.annotation.ComponentScan; -import org.springframework.scheduling.annotation.EnableScheduling; /** * Code鍚姩鍣� * - * @author ludc + * @author + * ludc */ -@SpringBootApplication -@EnableFeignClients(basePackages = {"com.vci.*","org.springblade"}) -@ComponentScan({"com.vci.*"}) -@EnableScheduling -@EnableCaching +@UbcsCloudApplication +@ComponentScan("com.vci.ubcs.*") public class CodeApplication { public static void main(String[] args) { -- Gitblit v1.9.3