mod(staff): 更新员工模块代码

- 修改了员工相关功能实现
```
This commit is contained in:
2026-03-26 14:46:48 +08:00
parent 5a395d462e
commit 408b739e4c

View File

@@ -214,11 +214,11 @@ func (s *staff) Edit(ctx context.Context, args ArgsStaffEdit) (err error) {
}
type ReplyStaffRoleItem struct {
Id int64 // 角色id
Name string // 角色名称
Describe string // 角色描述
CreatedAt time.Time
UpdatedAt time.Time
Id int64 `json:"id"` // 角色id
Name string `json:"name"` // 角色名称
Describe string `json:"describe"` // 角色描述
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
// Roles @TITLE 获取角色