feat: 完善小组绩效与有效端统计并修复审查问题

This commit is contained in:
Yvan
2026-11-05 01:10:03 +08:00
parent ca9ce99b66
commit dc97690eb1
75 changed files with 5033 additions and 296 deletions
+4
View File
@@ -23,6 +23,7 @@ var (
)
type Account struct {
HireDate, Employment string
ID uint
Username, NickName, Password, RealName, Phone, Email, QQNumber string
Level int
@@ -218,6 +219,9 @@ func (uc *AccountUsecase) Update(ctx context.Context, input *AccountUpdate) erro
if account.AuthorityID == 888 {
return ErrAccountScope
}
if input.Username != nil && *input.Username != account.Username || input.NickName != nil && *input.NickName != account.NickName {
return ErrAccountInput
}
// 编辑资料和审核不会改变商务层级、归属、角色或密码。
for _, field := range []struct {
dst *string