作者 tangxuhui

新建

version: v1
kind: Schema
metadata:
name: personalNotice
description: 个人的消息通知
attributes:
- name: id
description: 编号id
type:
primitive: int64
- name: createdTime
description: 创建时间
type:
primitive: datatime
- name: updatedTime
description: 更新的时间
type:
primitive: datatime
- name: content
description: 消息的内容
type:
platform: string
- name: extend
description: 发送通知时的扩展参数
type:
primitive: string
- name: messageType
description: 消息类型
type:
primitive: string
- name: userId
description: 用户id
type:
primitive: int64
- name: isRead
description: 是否已读【1:未读】【2:已读】
... ...
version: v1
kind: Attribute
metadata:
name: count
description: 匹配数目
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: limit
description: 查询限制
type:
primitive: int
... ...
version: v1
kind: Attribute
metadata:
name: offset
description: 查询偏离量
type:
primitive: int
... ...
version: v1
kind: Project
metadata:
name: project
description: 数据聚合、转发,权限校验
version: 0.0.1
repository: gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway
contact:
name:
email:
\ No newline at end of file
... ...
version: v1
kind: Schema
metadata:
name: loginAccess
description: 登录凭证存储
attributes:
- name: account
description: 账号
type:
primitive: string
- name: platform
description: 对应平台
type:
primitive: string
- name: companyId
description: 公司id
type:
primitive: int64
- name: organizationId
description: 组织id
type:
primitive: int64
- name: accessToken
description: 登录凭证存储
type:
primitive: string
- name: refreshToken
description: 刷新登录凭证
type:
primitive: string
- name: accessExpired
description: 登录凭证过期时间,时间戳精度秒
type:
primitive: int64
- name: refreshExpired
description: 刷新登录凭证过期时间,时间戳精度秒
type:
primitive: int64
- name: createdTime
description: 创建时间
type:
primitive: datetime
- name: updatedTime
description: 更新时间
type:
primitive: datetime
... ...
version: v1
kind: Schema
metadata:
name: loginQrcode
description: 登录用二维码信息
attributes:
- name: uniqueKey
description: 信息对应的唯一键
type:
primitive: string
- name: isLogin
description: 是否已经登录
type:
primitive: boolean
- name: companyId
description: 登录的公司id
type:
primitive: int64
- name: organizationId
description: 组织id
type:
primitive: int64
- name: account
description: 登录的账号
type:
primitive: string
- name: expiredIn
description: 有效时长,单位秒
type:
primitive: int64
... ...
version: v1
kind: Schema
metadata:
name: loginToken
description: 构建登录凭证时需要的数据
attributes:
- name: account
description: 登录账号
type:
primitive: string
- name: companyId
description: 企业id
type:
primitive: int64
- name: organizationId
description: 组织id
type:
primitive: int64
... ...