1212121
This commit is contained in:
@@ -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('-');
|
||||
|
||||
@@ -49,6 +49,16 @@ namespace Application.Web.Controllers.Login
|
||||
return html;
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public async Task<string> HandleError()
|
||||
{
|
||||
var attrService = App.GetService<IUnitUserAttrService>();
|
||||
var model = await attrService.GetUserAttrModel("32cd4777-e523-4cf9-b8f1-de13235f6170");
|
||||
|
||||
|
||||
return "1";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 登录接口
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user