style: 优化分组
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Yi.Furion.Application.App.Services.Impl
|
||||
/// <summary>
|
||||
/// Trends服务实现
|
||||
/// </summary>
|
||||
[ApiDescriptionSettings("App")]
|
||||
[ApiDescriptionSettings("APP")]
|
||||
public class TrendsService : CrudAppService<TrendsEntity, TrendsGetOutputDto, TrendsGetListOutputDto, long, TrendsGetListInput, TrendsCreateInput, TrendsUpdateInputVo>,
|
||||
ITrendsService, IDynamicApiController, ITransient
|
||||
{
|
||||
|
||||
@@ -74,19 +74,6 @@ public class Startup : AppStartup
|
||||
|
||||
app.UseInject(string.Empty);
|
||||
}
|
||||
|
||||
private string ConverStr(string utf8mb3String)
|
||||
{
|
||||
// 将 utf8mb3String 转换为 UTF-8mb3 编码的字节数组
|
||||
byte[] utf8mb3Bytes = Encoding.UTF8.GetBytes(utf8mb3String);
|
||||
|
||||
// 将 UTF-8mb3 编码的字节数组转换为 UTF-8mb4 编码的字节数组
|
||||
byte[] utf8mb4Bytes = Encoding.Convert(Encoding.UTF8, new UTF8Encoding(true), utf8mb3Bytes);
|
||||
|
||||
// 将 UTF-8mb4 编码的字节数组转换为字符串
|
||||
string utf8mb4String = Encoding.UTF8.GetString(utf8mb4Bytes);
|
||||
return utf8mb4String;
|
||||
}
|
||||
}
|
||||
|
||||
[AppStartup(-1)]
|
||||
|
||||
Reference in New Issue
Block a user