更新依赖,执行代码清理

This commit is contained in:
milimoe 2025-04-26 16:28:15 +08:00
parent 0251d69748
commit b9ae16a19a
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E
3 changed files with 5 additions and 7 deletions

View File

@ -1,5 +1,4 @@
using Milimoe.FunGame.Core.Entity;
using Milimoe.FunGame.Core.Interface.Entity;
using Milimoe.FunGame.Core.Library.Constant;
namespace Oshima.FunGame.OshimaModules.Skills

View File

@ -1,5 +1,4 @@
using System.Collections.Generic;
using Milimoe.FunGame.Core.Entity;
using Milimoe.FunGame.Core.Entity;
using Milimoe.FunGame.Core.Library.Constant;
namespace Oshima.FunGame.OshimaModules.Skills

View File

@ -23,25 +23,25 @@ namespace Oshima.FunGame.WebAPI.Controllers
{
return msg.Encrypt(key);
}
[HttpGet("gethmacsha256")]
public string UseHMACSHA256(string msg, string key)
{
return Encryption.HmacSha256(msg, key);
}
[HttpGet("getrsa")]
public string GetRSA(string msg, string key)
{
return Encryption.RSADecrypt(msg, key);
}
[HttpGet("setrsa")]
public string SetRSA(string msg, string key)
{
return Encryption.RSAEncrypt(msg, key);
}
/// <summary>
/// 1: public, 2: private
/// </summary>