作者 yangfu

添加账号注销接口

... ... @@ -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
... ...