20 lines
588 B
Java
20 lines
588 B
Java
|
|
package com.cdzy.gateway;
|
||
|
|
|
||
|
|
import com.cdzy.gateway.config.SecureProperties;
|
||
|
|
import jakarta.annotation.Resource;
|
||
|
|
import org.springframework.boot.SpringApplication;
|
||
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||
|
|
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
|
||
|
|
|
||
|
|
@ConfigurationPropertiesScan
|
||
|
|
@SpringBootApplication
|
||
|
|
public class EbikeGatewayApplication {
|
||
|
|
|
||
|
|
@Resource
|
||
|
|
private SecureProperties secureProperties;
|
||
|
|
public static void main(String[] args) {
|
||
|
|
SpringApplication.run(EbikeGatewayApplication.class, args);
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|