From 4cd535de8ef099afa96238e5458e6866edccfea7 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 05 五月 2023 20:26:36 +0800
Subject: [PATCH] “代码整合”

---
 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/CodeApplication.java |   17 +++++++----------
 1 files changed, 7 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..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,24 +16,21 @@
  */
 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鍚姩鍣�
  *
- * @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