diff --git a/Kx.SeaTime.sln.DotSettings.user b/Kx.SeaTime.sln.DotSettings.user index a7989e0..0c52fd3 100644 --- a/Kx.SeaTime.sln.DotSettings.user +++ b/Kx.SeaTime.sln.DotSettings.user @@ -1,5 +1,6 @@  ForceIncluded + ForceIncluded ForceIncluded ForceIncluded ForceIncluded diff --git a/Service/Application.Domain/Services/Service/Equ/GameEquService.cs b/Service/Application.Domain/Services/Service/Equ/GameEquService.cs index 7649bbc..0b36cb7 100644 --- a/Service/Application.Domain/Services/Service/Equ/GameEquService.cs +++ b/Service/Application.Domain/Services/Service/Equ/GameEquService.cs @@ -265,7 +265,7 @@ public class GameEquService(ISqlSugarClient DbClient, IRedisCache redis) : IGame else { ue.minAtk = RandomAssist.GetFormatedNumeric((int)equ.minAtk, (int)equ.maxAtk); - ue.maxAtk = RandomAssist.GetFormatedNumeric((int)equ.minAtk, (int)equ.maxAtk); + ue.maxAtk = RandomAssist.GetFormatedNumeric((int)ue.minAtk, (int)equ.maxAtk); string[] def = equ.defense.Split('-'); ue.Defense = RandomAssist.GetFormatedNumeric(Convert.ToInt32(def[0]), Convert.ToInt32(def[1])); string[] agi = equ.agility.Split('-'); diff --git a/Service/Application.Web/Controllers/Login/LoginController.cs b/Service/Application.Web/Controllers/Login/LoginController.cs index 69cf40a..bf488ab 100644 --- a/Service/Application.Web/Controllers/Login/LoginController.cs +++ b/Service/Application.Web/Controllers/Login/LoginController.cs @@ -49,6 +49,16 @@ namespace Application.Web.Controllers.Login return html; } + [HttpGet] + public async Task HandleError() + { + var attrService = App.GetService(); + var model = await attrService.GetUserAttrModel("32cd4777-e523-4cf9-b8f1-de13235f6170"); + + + return "1"; + } + /// /// 登录接口 ///