| | |
| | | package com.terra.gateway; |
| | | |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
| | |
| | | * @author admin |
| | | */ |
| | | @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class }) |
| | | public class SeGatewayApplication |
| | | { |
| | | public static void main(String[] args) |
| | | { |
| | | public class SeGatewayApplication { |
| | | private static String TEST; |
| | | |
| | | @Value("${spring.test}") |
| | | public void setTest(String test) { |
| | | TEST = test; |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | SpringApplication.run(SeGatewayApplication.class, args); |
| | | System.out.println("----------网关模块启动成功---------- \n"); |
| | | } |