diff --git a/oa/staff.go b/oa/staff.go index 3a85926..7f5fdc2 100644 --- a/oa/staff.go +++ b/oa/staff.go @@ -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 获取角色