正在显示
6 个修改的文件
包含
52 行增加
和
18 行删除
api/m_api/common/common_partnerType_api.yml
0 → 100644
1 | +name: 获取合伙人类型 | ||
2 | +base_url: ${ENV(base_manager_url)} | ||
3 | +request: | ||
4 | + headers: | ||
5 | + Content-Type: application/json;charset=utf-8 | ||
6 | + User-Agent: okhttp/3.12.3 | ||
7 | + Authorization: Bearer ${get_m_accesstoken()} | ||
8 | + json: | ||
9 | + id: | ||
10 | + method: POST | ||
11 | + url: /v1/common/partnerType | ||
12 | +validate: | ||
13 | + - eq: | ||
14 | + - content.msg | ||
15 | + - ok | ||
16 | + - length_equals: | ||
17 | + - content.data | ||
18 | + - 4 |
1 | -name: /v1/partners/list | 1 | +name: 获取合伙人 |
2 | base_url: ${ENV(base_manager_url)} | 2 | base_url: ${ENV(base_manager_url)} |
3 | -variables: | ||
4 | - partnerName: '合伙人' | ||
5 | request: | 3 | request: |
6 | headers: | 4 | headers: |
7 | Content-Type: application/json;charset=utf-8 | 5 | Content-Type: application/json;charset=utf-8 |
8 | User-Agent: okhttp/3.12.3 | 6 | User-Agent: okhttp/3.12.3 |
9 | Authorization: Bearer ${get_m_accesstoken()} | 7 | Authorization: Bearer ${get_m_accesstoken()} |
10 | json: | 8 | json: |
11 | - partnerName: $partnerName | ||
12 | - partnerType: | ||
13 | - pageNumber: 1 | ||
14 | - pageSize: 10 | 9 | + id: |
15 | method: POST | 10 | method: POST |
16 | - url: v1/partners/list | 11 | + url: /v1/common/partner |
17 | validate: | 12 | validate: |
18 | - eq: | 13 | - eq: |
19 | - content.msg | 14 | - content.msg |
1 | -name: 事业分红列表 | 1 | +name: 分红列表 |
2 | base_url: ${ENV(base_manager_url)} | 2 | base_url: ${ENV(base_manager_url)} |
3 | -#variables: | ||
4 | -# orderid: ${get_actual_id_from_database()} | ||
5 | -# msg: ok | 3 | +variables: |
4 | + orderType: 1 | ||
5 | + partnerCategoryId: 1 | ||
6 | + searchText: "" | ||
6 | request: | 7 | request: |
7 | headers: | 8 | headers: |
8 | Content-Type: application/json;charset=utf-8 | 9 | Content-Type: application/json;charset=utf-8 |
@@ -11,8 +12,9 @@ request: | @@ -11,8 +12,9 @@ request: | ||
11 | json: | 12 | json: |
12 | pageNumber: 1 | 13 | pageNumber: 1 |
13 | pageSize: 500 | 14 | pageSize: 500 |
14 | - partner: '' | ||
15 | - searchText: '' | 15 | + orderType: $orderType |
16 | + partnerCategoryId: $partnerCategoryId | ||
17 | + searchText: $searchText | ||
16 | method: POST | 18 | method: POST |
17 | url: /v1/dividends/list | 19 | url: /v1/dividends/list |
18 | # extract: | 20 | # extract: |
api/m_api/m_login_api/m_auth_profile_api.yml
0 → 100644
1 | +name: 获取当前用户信息 | ||
2 | +base_url: ${ENV(base_manager_url)} | ||
3 | +request: | ||
4 | + headers: | ||
5 | + Content-Type: application/json;charset=utf-8 | ||
6 | + User-Agent: okhttp/3.12.3 | ||
7 | + Authorization: Bearer ${get_m_accesstoken()} | ||
8 | + json: | ||
9 | + id: | ||
10 | + method: POST | ||
11 | + url: /v1/auth/profile | ||
12 | +validate: | ||
13 | +- eq: | ||
14 | + - content.msg | ||
15 | + - ok | ||
16 | +- eq: | ||
17 | + - content.data.user.adminType | ||
18 | + - ${convert_to_string(1)} |
1 | -name: /v1/partners/list | 1 | +name: 合伙人列表:/v1/partners/list |
2 | base_url: ${ENV(base_manager_url)} | 2 | base_url: ${ENV(base_manager_url)} |
3 | variables: | 3 | variables: |
4 | partnerType: 2 | 4 | partnerType: 2 |
5 | + partnerName: '123' | ||
5 | request: | 6 | request: |
6 | headers: | 7 | headers: |
7 | Content-Type: application/json;charset=utf-8 | 8 | Content-Type: application/json;charset=utf-8 |
8 | User-Agent: okhttp/3.12.3 | 9 | User-Agent: okhttp/3.12.3 |
9 | Authorization: Bearer ${get_m_accesstoken()} | 10 | Authorization: Bearer ${get_m_accesstoken()} |
10 | json: | 11 | json: |
11 | - partnerName: "" | 12 | + partnerName: $partnerName |
12 | partnerType: $partnerType | 13 | partnerType: $partnerType |
13 | pageNumber: 1 | 14 | pageNumber: 1 |
14 | - pageSize: 10 | 15 | + pageSize: 100 |
15 | method: POST | 16 | method: POST |
16 | url: /v1/partners/list | 17 | url: /v1/partners/list |
17 | validate: | 18 | validate: |
-
请 注册 或 登录 后发表评论