重构存款预算
Some checks failed
Docker Build & Deploy / Build Docker Image (push) Failing after 44s
Docker Build & Deploy / Deploy to Production (push) Has been skipped
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 3s
Docker Build & Deploy / WeChat Notification (push) Successful in 2s

This commit is contained in:
SunCheng
2026-01-20 19:11:05 +08:00
parent 44d9fbb0f6
commit 0ffeb41605
13 changed files with 1591 additions and 583 deletions

View File

@@ -0,0 +1,18 @@
namespace WebApi.Test.Basic;
public class BaseTest
{
public BaseTest()
{
// 初始化雪花算法ID生成器
var options = new IdGeneratorOptions(1);
try
{
YitIdHelper.SetIdGenerator(options);
}
catch (Exception)
{
// 忽略重复设置可能引发的异常
}
}
}