摘要: 1 public class BaseController : ControllerBase 2 { 3 public static string TIME_FORMAT_FULL = "yyyy-MM-dd HH:mm:ss"; 4 5 /// <summary> 6 /// 返回成功封装 7 / 阅读全文
posted @ 2024-06-24 15:26 乐 乐——1128 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1 public class ComputerHelper 2 { 3 /// <summary> 4 /// 内存使用情况 5 /// </summary> 6 /// <returns></returns> 7 public static MemoryMetrics GetComputerInf 阅读全文
posted @ 2024-06-24 15:17 乐 乐——1128 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1 /// <summary> 2 /// SQL条件拼接 3 /// </summary> 4 /// <param name="str"></param> 5 /// <param name="condition"></param> 6 /// <returns></returns> 7 pub 阅读全文
posted @ 2024-06-24 15:12 乐 乐——1128 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1 public static partial class Extensions 2 { 3 #region 枚举成员转成dictionary类型 4 /// <summary> 5 /// 转成dictionary类型 6 /// </summary> 7 /// <param name="enu 阅读全文
posted @ 2024-06-24 15:06 乐 乐——1128 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1 public class FileUtil 2 { 3 /// <summary> 4 /// 按时间来创建文件夹 5 /// </summary> 6 /// <param name="path"></param> 7 /// <returns>eg: /{yourPath}/2020/11/ 阅读全文
posted @ 2024-06-24 15:01 乐 乐——1128 阅读(1) 评论(0) 推荐(0) 编辑