|
|
|
/**
|
|
|
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
|
|
|
*
|
|
|
|
* https://www.renren.io
|
|
|
|
*
|
|
|
|
* 版权所有,侵权必究!
|
|
|
|
*/
|
|
|
|
|
|
|
|
package com.epmet;
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.boot.web.servlet.ServletComponentScan;
|
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 管理后台
|
|
|
|
*
|
|
|
|
* @author Mark sunlightcs@gmail.com
|
|
|
|
* @since 1.0.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
@SpringBootApplication
|
|
|
|
@EnableDiscoveryClient
|
|
|
|
@EnableFeignClients
|
|
|
|
@EnableAsync
|
|
|
|
@ServletComponentScan(basePackages = "com.epmet")
|
|
|
|
public class UserApplication {
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
System.setProperty("rocketmq.client.logUseSlf4j", "true");
|
|
|
|
SpringApplication.run(UserApplication.class, args);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|