```
mod(staff): 更新员工模块代码 - 修改了员工相关功能实现 ```
This commit is contained in:
10
oa/staff.go
10
oa/staff.go
@@ -214,11 +214,11 @@ func (s *staff) Edit(ctx context.Context, args ArgsStaffEdit) (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ReplyStaffRoleItem struct {
|
type ReplyStaffRoleItem struct {
|
||||||
Id int64 // 角色id
|
Id int64 `json:"id"` // 角色id
|
||||||
Name string // 角色名称
|
Name string `json:"name"` // 角色名称
|
||||||
Describe string // 角色描述
|
Describe string `json:"describe"` // 角色描述
|
||||||
CreatedAt time.Time
|
CreatedAt time.Time `json:"createdAt"`
|
||||||
UpdatedAt time.Time
|
UpdatedAt time.Time `json:"updatedAt"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Roles @TITLE 获取角色
|
// Roles @TITLE 获取角色
|
||||||
|
|||||||
Reference in New Issue
Block a user