move common controller to api group

This commit is contained in:
2021-05-30 03:35:27 +08:00
parent 9bce77a08e
commit 8f41ba0150
+2
View File
@@ -6,6 +6,7 @@ using SimApi.Helpers;
namespace SimApi.Controllers
{
[ApiExplorerSettings(GroupName = "api")]
public class YYCommonController : SimApiBaseController
{
private SimApiAuth Auth { get; }
@@ -53,6 +54,7 @@ namespace SimApi.Controllers
{
token = Request.Headers["Token"];
}
Auth.Logout(token);
return new SimApiBaseResponse();
}