OperatorItem
Schema:OperatorItem
OpenAPI Specification
yaml
openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths: {}
components:
schemas:
OperatorItem:
type: object
description: 运营账号(列表/详情);创建响应一般无 lastLogin*
properties:
id:
type: integer
format: int64
description: 运营账号 ID
username:
type: string
description: 登录用户名(全局唯一,大小写敏感)
realname:
type: string
description: 真实姓名
email:
type: string
description: 邮箱
phone:
type: string
description: 手机号明文
activeState:
allOf:
- $ref: '#/components/schemas/ActiveState'
description: 启用状态 enabled/disabled
primaryRoleName:
type: string
description: 主角色名称(展示用,取自已绑角色之一)
roleIds:
type: array
items:
type: integer
format: int64
description: 已绑定的 RBAC 角色 ID 列表
createBy:
type: string
description: 创建人 actor
updateBy:
type: string
description: 修改人 actor
createTime:
type: string
description: 创建时间
updateTime:
type: string
description: 更新时间
lastLoginTime:
type: string
description: 最近登录时间
lastLoginIp:
type: string
description: 最近登录 IP
x-apifox-orders:
- id
- username
- realname
- email
- phone
- activeState
- primaryRoleName
- roleIds
- createBy
- updateBy
- createTime
- updateTime
- lastLoginTime
- lastLoginIp
x-apifox-folder: ''
ActiveState:
type: string
enum:
- enabled
- disabled
description: 启用状态(与 common/consts.ActiveState 一致)
x-apifox-folder: ''
securitySchemes: {}
servers: []
security: []