作者 tangxuhui
version: v1
kind: Attribute
metadata:
name: operationTime
name: operateTime
description: 操作时间
type:
primitive: datetime
... ...
... ... @@ -4,4 +4,4 @@ metadata:
name: creationContractSponsor
description: 共创合约发起人
type:
schema: any
schema: user
... ...
version: v1
kind: Attribute
metadata:
name: creationProjectNumber
description: 共创项目编号
name: creationProjectDescription
description: 共创项目描述
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: creationProjectPublishedAt
name: creationProjectPublishTime
description: 共创项目发布时间
type:
primitive: datetime
... ...
version: v1
kind: Attribute
metadata:
name: creationProjectPublisher
description: 共创项目发布人
type:
schema: user
... ...
version: v1
kind: Attribute
metadata:
name: creationProjectSponsor
description: 共创项目发起人
type:
schema: user
... ...
version: v1
kind: Attribute
metadata:
name: creationProjectUndertakerType
description: 共创项目承接对象,1员工,2共创用户
type:
primitive: int32
... ...
version: v1
kind: Schema
metadata:
name: creationProject
description: 共创项目实体
attributes:
- ref: creationProjectDescription
required: true
- ref: creationProjectId
required: true
- ref: creationProjectName
required: true
- ref: creationProjectPublishTime
required: true
- ref: creationProjectPublisher
required: true
- ref: creationProjectSponsor
required: true
- ref: creationProjectUndertakerType
required: true
- ref: operator
required: true
- ref: operateTime
required: true
- ref: status
required: true
... ...
... ... @@ -13,3 +13,6 @@ metadata:
- method: phoneAuthResetPassword
route:
post: /phone-auth/reset-password
- method: phoneAuthResetPassword
route:
post: /destory-account
... ...
... ... @@ -2,6 +2,6 @@ version: v1
kind: Attribute
metadata:
name: isOrg
description: 是否是组织(是:1 不是:0)
description: 是否是组织(是:1 不是:2)
type:
primitive: int
... ...
... ... @@ -2,6 +2,6 @@ version: v1
kind: Attribute
metadata:
name: enableStatus
description: 启用状态(启用:1 禁用:2)
description: 启用状态(启用:1 禁用:2 注销:3)
type:
primitive: int
... ...
... ... @@ -22,6 +22,10 @@ metadata:
description: 关联的用户 (冗余)
type:
array: int64
- name: status
description: 账号状态 1:正常 2.禁用 3:注销
type:
primitive: int
- ref: createAt
required: true
- ref: updateAt
... ...
version: v1
kind: Method
metadata:
name: destoryAccount
type: command
description: 注销账号 (添加用户时重新激活)
payload:
- ref: userId
required: true
result:
- name: code
type:
primitive: int
required: true
- name: msg
type:
primitive: string
required: true
... ...
... ... @@ -15,6 +15,10 @@ metadata:
required: false
- ref: parentId
required: false
- ref: isOrg
required: false
- ref: companyId
required: true
result:
- ref: count
required: true
... ...
... ... @@ -13,6 +13,11 @@ metadata:
required: false
- ref: orgName
required: false
- name: inOrgIds
description: 匹配多个组织 1,2,3 逗号分割 inOrgIds
required: false
type:
primitive: string
result:
- ref: count
required: true
... ...
... ... @@ -9,6 +9,12 @@ metadata:
required: true
- ref: limit
required: true
- ref: usersName
required: false
- ref: usersName
required: false
- ref: depName
required: false
result:
- ref: count
required: true
... ...