feat : add login api method

This commit is contained in:
2025-07-31 16:02:53 +08:00
parent 01f7464347
commit b963eb842f
5 changed files with 44 additions and 44 deletions

View File

@@ -1,3 +1,6 @@
using fubon_api.Controllers;
using FubonNeo.Sdk;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
@@ -7,6 +10,8 @@ builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
builder.Services.AddSingleton<FubonSDK>();
var app = builder.Build();
// Configure the HTTP request pipeline.