From c1f06f52a6b7f3337bacd98feb55aca6af8e6e2c Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期五, 05 七月 2024 08:32:09 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/HangZhouMes --- hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java new file mode 100644 index 0000000..13cceb4 --- /dev/null +++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java @@ -0,0 +1,32 @@ +package com.mes; + +import lombok.extern.slf4j.Slf4j; +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.client.discovery.EnableDiscoveryClient; +import org.springframework.scheduling.annotation.EnableScheduling; +import springfox.documentation.swagger2.annotations.EnableSwagger2; + +/** + * @Author : zhoush + * @Date: 2024/3/25 10:49 + * @Description: + */ +@Slf4j +@SpringBootApplication +@MapperScan("com.mes.*.mapper") +@EnableDiscoveryClient +@EnableSwagger2 +@EnableScheduling +public class CacheGlassModuleApplication { + + public static void main(String[] args) { + try { + SpringApplication.run(CacheGlassModuleApplication.class, args); + } catch (Exception e) { + log.error(e.getMessage()); + } + + } +} -- Gitblit v1.8.0