2025-05-15 13:50:30 +08:00
|
|
|
|
using Bus.App;
|
|
|
|
|
|
using Microsoft.AspNetCore.Authorization;
|
2025-05-14 11:56:29 +08:00
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
2025-05-14 16:31:29 +08:00
|
|
|
|
using OpenAuth.Repository.Domain;
|
2025-05-14 11:56:29 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Bus.Controllers
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
[Route("api/[controller]/[action]")]
|
|
|
|
|
|
[ApiController]
|
|
|
|
|
|
public class DroneCaseInfoController : ControllerBase
|
|
|
|
|
|
{
|
|
|
|
|
|
[AllowAnonymous]
|
|
|
|
|
|
[HttpGet]
|
|
|
|
|
|
public string Test()
|
|
|
|
|
|
{
|
|
|
|
|
|
return "hi";
|
|
|
|
|
|
}
|
2025-05-14 16:31:29 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[AllowAnonymous]
|
|
|
|
|
|
[HttpPost]
|
2025-05-15 13:50:30 +08:00
|
|
|
|
public string haha(PassportLoginRequest d)
|
2025-05-14 16:31:29 +08:00
|
|
|
|
{
|
2025-05-15 13:50:30 +08:00
|
|
|
|
return d.AppKey;
|
2025-05-14 16:31:29 +08:00
|
|
|
|
}
|
2025-05-14 11:56:29 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|