You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
698 B

package com.yxt.user;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
* @author wangpengfei
* @date 2024/4/28 14:43
*/
@SpringBootApplication(scanBasePackages = {
"com.yxt.user.config",
"com.yxt.common.base.config",
"com.yxt.user"
})
// 启用自带定时任务
@EnableScheduling
@EnableFeignClients(basePackages = {})
public class UserApplication {
public static void main(String[] args) {
SpringApplication.run(UserApplication.class, args);
}
}