作者 yangfu

fix some dsl error

... ... @@ -19,9 +19,9 @@ metadata:
- method: sendSmsCode
route:
post: /sendSmsCode
- method: rovoke
- method: revoke
route:
post: /rovoke
- method: changePassword
post: /revoke
- method: changePassword
route:
post: /changePhonePassword
... ...
... ... @@ -25,6 +25,6 @@ metadata:
- method: convertUserStatus
route:
post: /convertUserStatus
- method: setPermisson
- method: setPermission
route:
post: /setPermisson
\ No newline at end of file
post: /setPermission
\ No newline at end of file
... ...
... ... @@ -3,6 +3,5 @@ kind: Attribute
metadata:
name: cooperateTime
description: 合作时间
type:
primitive: datetime
... ...
... ... @@ -3,6 +3,5 @@ kind: Attribute
metadata:
name: status
description: 状态(1:启用或者0:禁用)
type:
primitive: int
... ...
... ... @@ -9,7 +9,7 @@ metadata:
type:
primitive: int64
- name: orderNo
descriptiopn: 订单编号
description: 订单编号
type:
primitive: string
- name: orderNum
... ...
... ... @@ -11,17 +11,14 @@ metadata:
primitive: string
result:
- name: refreshToken
description: Attribute描述
description: 刷新码
type:
primitive: string
- name: accessToken
description: Attribute描述
description: accessToken
type:
primitive: string
- name: expiresIn
description: Attribute描述
type:
primitive: string
- name: auth
description: 过期时间
type:
schema: auth
primitive: int64
... ...
... ... @@ -6,22 +6,19 @@ metadata:
description: 更新授权令牌accessToken
payload:
- name: refreshToken
description: Attribute描述
description: refreshToken
type:
primitive: string
result:
- name: refreshToken
description: Attribute描述
description: refreshToken
type:
primitive: string
- name: accessToken
description: Attribute描述
description: accessToken
type:
primitive: string
- name: expiresIn
description: Attribute描述
description: 过期时间
type:
primitive: string
- name: auth
type:
schema: auth
primitive: int64
... ...
... ... @@ -6,7 +6,7 @@ metadata:
description: 发送验证码
payload:
- name: phone
description: Attribute描述
description: 手机号
type:
primitive: string
result:
... ...
... ... @@ -9,5 +9,6 @@ metadata:
required: true
result:
- name: statistics
description: 统计数据
type:
schema: any
primitive : string
... ...
... ... @@ -23,4 +23,4 @@ metadata:
- name: statistics
description: 统计数据
type:
primitive: any
primitive: string
... ...
... ... @@ -11,4 +11,4 @@ metadata:
- name: statistics
description: 统计数据
type:
primitive: any
primitive: string
... ...
... ... @@ -10,4 +10,4 @@ metadata:
result:
- name: partnersProfile
type:
primitive: any
primitive: string
... ...
... ... @@ -5,7 +5,7 @@ metadata:
type: command
description: 创建
payload:
- ref: userTypes
- ref: userType
required: true
- ref: adminType
required: true
... ...
version: v1
kind: Method
metadata:
name: setPermisson
name: setPermission
type: command
description: 设置权限
payload:
... ...
... ... @@ -7,7 +7,7 @@ metadata:
payload:
- ref: userId
required: true
- ref: userTypes
- ref: userType
required: false
- ref: adminType
required: false
... ...