作者 yangfu

fix some dsl error

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