package org.ta.authserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class AuthServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthServerApplication.class, args);
        System.out.println("========================================");
        System.out.println("✅ 1.5.2 授权服务器启动成功！");
        System.out.println("🔑 登录页：http://localhost:8080/login.html");
        System.out.println("📄 授权端点：http://localhost:8080/oauth2/authorize");
        System.out.println("🎫 令牌端点：http://localhost:8080/oauth2/token");
        System.out.println("🔙 回调端点：http://localhost:8080/callback");
        System.out.println("========================================");
    }

}
