From c0e1925be3d355c3f1eec92b8aeb8b26824efd3a Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 14 一月 2022 18:42:22 +0800
Subject: [PATCH] 优化代码

---
 service-store/src/main/java/com/java110/store/StoreServiceApplicationStart.java |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/service-store/src/main/java/com/java110/store/StoreServiceApplicationStart.java b/service-store/src/main/java/com/java110/store/StoreServiceApplicationStart.java
old mode 100644
new mode 100755
index 1ef7070..4e7b39e
--- a/service-store/src/main/java/com/java110/store/StoreServiceApplicationStart.java
+++ b/service-store/src/main/java/com/java110/store/StoreServiceApplicationStart.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2017-2020 鍚村鏂� and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.java110.store;
 
 import com.java110.core.annotation.Java110ListenerDiscovery;
@@ -37,7 +52,8 @@
         "com.java110.intf.community",
         "com.java110.intf.fee",
         "com.java110.intf.user",
-        "com.java110.intf.common"
+        "com.java110.intf.common",
+        "com.java110.intf.order"
 })
 public class StoreServiceApplicationStart {
 
@@ -61,6 +77,8 @@
 
     public static void main(String[] args) throws Exception {
         try {
+            ServiceStartInit.preInitSystemConfig();
+
             ApplicationContext context = SpringApplication.run(StoreServiceApplicationStart.class, args);
             ServiceStartInit.initSystemConfig(context);
             //鍔犺浇涓氬姟渚﹀惉

--
Gitblit v1.8.0