From c009750456d37d42f514321fe411e841d1b19fb4 Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期一, 19 六月 2023 14:48:53 +0800 Subject: [PATCH] 接口定时分发其他系统功能开发 --- Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/CodeApplication.java | 14 +++++--------- 1 files changed, 5 insertions(+), 9 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 3eb114f..ac7770b 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,13 +16,12 @@ */ package com.vci.ubcs.code; +import com.vci.ubcs.starter.util.VciSpringUtil; +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; +import org.springframework.stereotype.Component; /** * Code鍚姩鍣� @@ -30,11 +29,8 @@ * @author * ludc */ -@SpringBootApplication -@EnableFeignClients(basePackages = {"com.vci.*"}) -@ComponentScan({"com.vci.*"}) -@EnableScheduling -@EnableCaching +@UbcsCloudApplication +@ComponentScan("com.vci.ubcs.*") public class CodeApplication { public static void main(String[] args) { -- Gitblit v1.9.3