feat: 新增账号编码和HTTP连接功能

This commit is contained in:
2026-04-11 18:22:52 +08:00
parent 2f5c4f7e54
commit f8927afa9c
94 changed files with 1213 additions and 10230 deletions

View File

@@ -24,7 +24,7 @@ type accountService struct{}
func (s *accountService) Add(ctx context.Context, req *dto.AddAccountReq) (res *dto.AddAccountRes, err error) {
// 检查账号名称是否已存在
count, err := dao.Account.Count(ctx, &dto.ListAccountReq{
AccountName: req.AccountName,
AccountCode: req.AccountCode,
})
if err != nil {
return