update dsl:company/partnerInfo/user/permission
正在显示
23 个修改的文件
包含
202 行增加
和
6 行删除
document/partner01/api/http/company.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: company | ||
5 | + path: /companys | ||
6 | + endpoints: | ||
7 | + - method: createCompany | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateCompany | ||
11 | + route: | ||
12 | + put: /{companyId} | ||
13 | + - method: getCompany | ||
14 | + route: | ||
15 | + get: /{companyId} | ||
16 | + - method: removeCompany | ||
17 | + route: | ||
18 | + delete: /{companyId} | ||
19 | + - method: listCompany | ||
20 | + route: | ||
21 | + get: / | ||
22 | + params: | ||
23 | + - name: offset | ||
24 | + - name: limit |
document/partner01/api/http/partner.yaml
0 → 100644
document/partner01/api/http/permission.yaml
0 → 100644
@@ -10,3 +10,16 @@ metadata: | @@ -10,3 +10,16 @@ metadata: | ||
10 | required: true | 10 | required: true |
11 | - ref: regionInfo | 11 | - ref: regionInfo |
12 | required: true | 12 | required: true |
13 | + - ref: status | ||
14 | + required: true | ||
15 | + - ref: cooperateTime | ||
16 | + required: true | ||
17 | + - name: salesmans | ||
18 | + description: 业务员 | ||
19 | + type: | ||
20 | + array: salesman | ||
21 | + - name: partnerCategorys | ||
22 | + description: 合伙人类型 | ||
23 | + type: | ||
24 | + array: partnerCategory | ||
25 | + |
document/partner01/schemas/permission.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: permission | ||
5 | + description: 权限 | ||
6 | + attributes: | ||
7 | + - ref: permissionId | ||
8 | + required: true | ||
9 | + - ref: name | ||
10 | + required: true | ||
11 | + - ref: code | ||
12 | + required: true | ||
13 | + - ref: parentId | ||
14 | + required: true | ||
15 | + - ref: sort | ||
16 | + required: true | ||
17 | + - ref: icon | ||
18 | + required: true |
@@ -6,6 +6,8 @@ metadata: | @@ -6,6 +6,8 @@ metadata: | ||
6 | attributes: | 6 | attributes: |
7 | - ref: userId | 7 | - ref: userId |
8 | required: true | 8 | required: true |
9 | + - ref: userType | ||
10 | + required: true | ||
9 | - ref: permissions | 11 | - ref: permissions |
10 | required: true | 12 | required: true |
11 | - ref: companyId | 13 | - ref: companyId |
@@ -15,4 +17,12 @@ metadata: | @@ -15,4 +17,12 @@ metadata: | ||
15 | - ref: status | 17 | - ref: status |
16 | required: true | 18 | required: true |
17 | - ref: isSenior | 19 | - ref: isSenior |
18 | - required: true | ||
20 | + required: true | ||
21 | + - ref: accessPartners | ||
22 | + required: true | ||
23 | + - ref: createAt | ||
24 | + required: true | ||
25 | + - ref: updateAt | ||
26 | + required: true | ||
27 | + - ref: deleteAt | ||
28 | + required: true |
@@ -12,7 +12,7 @@ metadata: | @@ -12,7 +12,7 @@ metadata: | ||
12 | - ref: status | 12 | - ref: status |
13 | required: true | 13 | required: true |
14 | - ref: remarks | 14 | - ref: remarks |
15 | - required: true | 15 | + required: false |
16 | - name: adminId | 16 | - name: adminId |
17 | description: 公司主管理员Id | 17 | description: 公司主管理员Id |
18 | type: | 18 | type: |
@@ -7,9 +7,20 @@ metadata: | @@ -7,9 +7,20 @@ metadata: | ||
7 | payload: | 7 | payload: |
8 | - ref: companyId | 8 | - ref: companyId |
9 | required: true | 9 | required: true |
10 | + - ref: name | ||
11 | + required: false | ||
12 | + - ref: abbreviation | ||
13 | + required: false | ||
14 | + - ref: status | ||
15 | + required: false | ||
16 | + - ref: remarks | ||
17 | + required: false | ||
18 | + - name: adminId | ||
19 | + description: 公司主管理员Id | ||
20 | + type: | ||
21 | + primitive: int64 | ||
22 | + required: false | ||
10 | result: | 23 | result: |
11 | - - ref: count | ||
12 | - required: true | ||
13 | - name: company | 24 | - name: company |
14 | type: | 25 | type: |
15 | schema: company | 26 | schema: company |
-
请 注册 或 登录 后发表评论