version move to common

This commit is contained in:
2025-11-01 21:38:55 +08:00
parent cb89a1a003
commit 9a8d14142a
3 changed files with 55 additions and 43 deletions
+4 -3
View File
@@ -141,6 +141,7 @@ public static class SimApiExtensions
{
return docName == "api"; // 未分组接口只属于默认分组v1
}
return docName == actionGroupName;
});
@@ -324,19 +325,19 @@ public static class SimApiExtensions
builder.MapControllerRoute(name: "GetUserInfo", pattern: "/user/info",
defaults: new
{
controller = "SimApiCommon",
controller = "SimApiAuth",
action = "UserInfo"
});
builder.MapControllerRoute(name: "CheckLogin", pattern: "/auth/check",
defaults: new
{
controller = "SimApiCommon",
controller = "SimApiAuth",
action = "CheckLogin"
});
builder.MapControllerRoute(name: "Logout", pattern: "/auth/logout",
defaults: new
{
controller = "SimApiCommon",
controller = "SimApiAuth",
action = "Logout"
});
if (options.EnableCoceSdk)