main_dev_1.0^2
冉成楼 4 months ago
parent bb77369d88
commit 61dd429374

@ -4,6 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>

@ -1,5 +1,6 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using OpenAuth.Repository.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
@ -19,5 +20,13 @@ namespace Bus.Controllers
{
return "hi";
}
[AllowAnonymous]
[HttpPost]
public string haha(DroneCaseInfo d)
{
return d.Id;
}
}
}

@ -9,5 +9,7 @@ namespace OpenAuth.Repository.Domain
public class DroneCaseInfo
{
public string Id { get; set; }
public string Name { get; set; }
}
}

Loading…
Cancel
Save