2024-03-29 10:49:12 +08:00
|
|
|
package com.atguigu.pay;
|
|
|
|
|
|
|
|
import com.atguigu.pay.properties.AlipayProperties;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
2024-03-29 12:49:08 +08:00
|
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
2024-03-29 10:49:12 +08:00
|
|
|
|
|
|
|
@SpringBootApplication
|
|
|
|
@EnableConfigurationProperties(value = {AlipayProperties.class})
|
2024-03-29 12:49:08 +08:00
|
|
|
@EnableFeignClients(basePackages = {"com.atguigu.feign"})
|
2024-03-29 10:49:12 +08:00
|
|
|
@Slf4j
|
|
|
|
public class PayApplication {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
SpringApplication.run(PayApplication.class, args);
|
|
|
|
}
|
|
|
|
}
|