Commit 4e43958fe3000b2cda46ff34b28fb010eadd806e
1 parent
06634a42
fix typo: adminTenentId -> adminTenantId, appTenentId -> appTenantId
Showing
46 changed files
with
135 additions
and
135 deletions
script/idea/http-client.env.json
| @@ -2,16 +2,16 @@ | @@ -2,16 +2,16 @@ | ||
| 2 | "local": { | 2 | "local": { |
| 3 | "baseUrl": "http://127.0.0.1:48080/admin-api", | 3 | "baseUrl": "http://127.0.0.1:48080/admin-api", |
| 4 | "token": "test1", | 4 | "token": "test1", |
| 5 | - "adminTenentId": "1", | 5 | + "adminTenantId": "1", |
| 6 | 6 | ||
| 7 | "appApi": "http://127.0.0.1:48080/app-api", | 7 | "appApi": "http://127.0.0.1:48080/app-api", |
| 8 | "appToken": "test247", | 8 | "appToken": "test247", |
| 9 | - "appTenentId": "1" | 9 | + "appTenantId": "1" |
| 10 | }, | 10 | }, |
| 11 | "gateway": { | 11 | "gateway": { |
| 12 | "baseUrl": "http://127.0.0.1:8888/admin-api", | 12 | "baseUrl": "http://127.0.0.1:8888/admin-api", |
| 13 | "token": "test1", | 13 | "token": "test1", |
| 14 | - "adminTenentId": "1", | 14 | + "adminTenantId": "1", |
| 15 | 15 | ||
| 16 | "appApi": "http://127.0.0.1:8888/app-api", | 16 | "appApi": "http://127.0.0.1:8888/app-api", |
| 17 | "appToken": "test1", | 17 | "appToken": "test1", |
yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/controller/admin/chat/AiChatMessageController.http
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | POST {{baseUrl}}/ai/chat/message/send | 2 | POST {{baseUrl}}/ai/chat/message/send |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | Authorization: {{token}} | 4 | Authorization: {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| 8 | "conversationId": "1781604279872581724", | 8 | "conversationId": "1781604279872581724", |
| @@ -13,7 +13,7 @@ tenant-id: {{adminTenentId}} | @@ -13,7 +13,7 @@ tenant-id: {{adminTenentId}} | ||
| 13 | POST {{baseUrl}}/ai/chat/message/send-stream | 13 | POST {{baseUrl}}/ai/chat/message/send-stream |
| 14 | Content-Type: application/json | 14 | Content-Type: application/json |
| 15 | Authorization: {{token}} | 15 | Authorization: {{token}} |
| 16 | -tenant-id: {{adminTenentId}} | 16 | +tenant-id: {{adminTenantId}} |
| 17 | 17 | ||
| 18 | { | 18 | { |
| 19 | "conversationId": "1781604279872581724", | 19 | "conversationId": "1781604279872581724", |
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/permission/CrmPermissionController.http
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | POST {{baseUrl}}/crm/permission/create | 2 | POST {{baseUrl}}/crm/permission/create |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | Authorization: Bearer {{token}} | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| 8 | "userId": 1, | 8 | "userId": 1, |
| @@ -15,7 +15,7 @@ tenant-id: {{adminTenentId}} | @@ -15,7 +15,7 @@ tenant-id: {{adminTenentId}} | ||
| 15 | PUT {{baseUrl}}/crm/permission/update | 15 | PUT {{baseUrl}}/crm/permission/update |
| 16 | Content-Type: application/json | 16 | Content-Type: application/json |
| 17 | Authorization: Bearer {{token}} | 17 | Authorization: Bearer {{token}} |
| 18 | -tenant-id: {{adminTenentId}} | 18 | +tenant-id: {{adminTenantId}} |
| 19 | 19 | ||
| 20 | { | 20 | { |
| 21 | "userId": 1, | 21 | "userId": 1, |
| @@ -28,5 +28,5 @@ tenant-id: {{adminTenentId}} | @@ -28,5 +28,5 @@ tenant-id: {{adminTenentId}} | ||
| 28 | ### 请求 /delete | 28 | ### 请求 /delete |
| 29 | DELETE {{baseUrl}}/crm/permission/delete?bizType=2&bizId=1&id=1 | 29 | DELETE {{baseUrl}}/crm/permission/delete?bizType=2&bizId=1&id=1 |
| 30 | Authorization: Bearer {{token}} | 30 | Authorization: Bearer {{token}} |
| 31 | -tenant-id: {{adminTenentId}} | 31 | +tenant-id: {{adminTenantId}} |
| 32 | 32 |
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/statistics/CrmStatisticsCustomerController.http
| @@ -2,64 +2,64 @@ | @@ -2,64 +2,64 @@ | ||
| 2 | ### 1.1 客户总量分析(按日期) | 2 | ### 1.1 客户总量分析(按日期) |
| 3 | GET {{baseUrl}}/crm/statistics-customer/get-customer-summary-by-date?deptId=100&interval=2×[0]=2024-01-01 00:00:00×[1]=2024-01-29 23:59:59 | 3 | GET {{baseUrl}}/crm/statistics-customer/get-customer-summary-by-date?deptId=100&interval=2×[0]=2024-01-01 00:00:00×[1]=2024-01-29 23:59:59 |
| 4 | Authorization: Bearer {{token}} | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | ### 1.2 客户总量统计(按用户) | 7 | ### 1.2 客户总量统计(按用户) |
| 8 | GET {{baseUrl}}/crm/statistics-customer/get-customer-summary-by-user?deptId=100×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 | 8 | GET {{baseUrl}}/crm/statistics-customer/get-customer-summary-by-user?deptId=100×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 |
| 9 | Authorization: Bearer {{token}} | 9 | Authorization: Bearer {{token}} |
| 10 | -tenant-id: {{adminTenentId}} | 10 | +tenant-id: {{adminTenantId}} |
| 11 | 11 | ||
| 12 | # == 2. 客户跟进次数分析 == | 12 | # == 2. 客户跟进次数分析 == |
| 13 | ### 2.1 客户跟进次数分析(按日期) | 13 | ### 2.1 客户跟进次数分析(按日期) |
| 14 | GET {{baseUrl}}/crm/statistics-customer/get-follow-up-summary-by-date?deptId=100&interval=2×[0]=2024-01-01 00:00:00×[1]=2024-01-29 23:59:59 | 14 | GET {{baseUrl}}/crm/statistics-customer/get-follow-up-summary-by-date?deptId=100&interval=2×[0]=2024-01-01 00:00:00×[1]=2024-01-29 23:59:59 |
| 15 | Authorization: Bearer {{token}} | 15 | Authorization: Bearer {{token}} |
| 16 | -tenant-id: {{adminTenentId}} | 16 | +tenant-id: {{adminTenantId}} |
| 17 | 17 | ||
| 18 | ### 2.2 客户总量统计(按用户) | 18 | ### 2.2 客户总量统计(按用户) |
| 19 | GET {{baseUrl}}/crm/statistics-customer/get-follow-up-summary-by-user?deptId=100×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 | 19 | GET {{baseUrl}}/crm/statistics-customer/get-follow-up-summary-by-user?deptId=100×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 |
| 20 | Authorization: Bearer {{token}} | 20 | Authorization: Bearer {{token}} |
| 21 | -tenant-id: {{adminTenentId}} | 21 | +tenant-id: {{adminTenantId}} |
| 22 | 22 | ||
| 23 | # == 3. 客户跟进方式分析 == | 23 | # == 3. 客户跟进方式分析 == |
| 24 | ### 3.1 客户跟进方式分析 | 24 | ### 3.1 客户跟进方式分析 |
| 25 | GET {{baseUrl}}/crm/statistics-customer/get-follow-up-summary-by-type?deptId=100&interval=2×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 | 25 | GET {{baseUrl}}/crm/statistics-customer/get-follow-up-summary-by-type?deptId=100&interval=2×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 |
| 26 | Authorization: Bearer {{token}} | 26 | Authorization: Bearer {{token}} |
| 27 | -tenant-id: {{adminTenentId}} | 27 | +tenant-id: {{adminTenantId}} |
| 28 | 28 | ||
| 29 | # == 4. 客户成交周期 == | 29 | # == 4. 客户成交周期 == |
| 30 | ### 4.1 合同摘要信息(客户转化率页面) | 30 | ### 4.1 合同摘要信息(客户转化率页面) |
| 31 | GET {{baseUrl}}/crm/statistics-customer/get-contract-summary?deptId=100&interval=2×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 | 31 | GET {{baseUrl}}/crm/statistics-customer/get-contract-summary?deptId=100&interval=2×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 |
| 32 | Authorization: Bearer {{token}} | 32 | Authorization: Bearer {{token}} |
| 33 | -tenant-id: {{adminTenentId}} | 33 | +tenant-id: {{adminTenantId}} |
| 34 | 34 | ||
| 35 | # == 5. 客户成交周期 == | 35 | # == 5. 客户成交周期 == |
| 36 | ### 5.1 获取客户公海分析(按日期) | 36 | ### 5.1 获取客户公海分析(按日期) |
| 37 | GET {{baseUrl}}/crm/statistics-customer/get-pool-summary-by-date?deptId=100&interval=2×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 | 37 | GET {{baseUrl}}/crm/statistics-customer/get-pool-summary-by-date?deptId=100&interval=2×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 |
| 38 | Authorization: Bearer {{token}} | 38 | Authorization: Bearer {{token}} |
| 39 | -tenant-id: {{adminTenentId}} | 39 | +tenant-id: {{adminTenantId}} |
| 40 | 40 | ||
| 41 | ### 5.2 获取客户公海分析(按用户) | 41 | ### 5.2 获取客户公海分析(按用户) |
| 42 | GET {{baseUrl}}/crm/statistics-customer/get-pool-summary-by-user?deptId=100×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 | 42 | GET {{baseUrl}}/crm/statistics-customer/get-pool-summary-by-user?deptId=100×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 |
| 43 | Authorization: Bearer {{token}} | 43 | Authorization: Bearer {{token}} |
| 44 | -tenant-id: {{adminTenentId}} | 44 | +tenant-id: {{adminTenantId}} |
| 45 | 45 | ||
| 46 | # == 6. 客户成交周期 == | 46 | # == 6. 客户成交周期 == |
| 47 | ### 6.1 客户成交周期(按日期) | 47 | ### 6.1 客户成交周期(按日期) |
| 48 | GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-date?deptId=100&interval=2×[0]=2024-01-01 00:00:00×[1]=2024-01-29 23:59:59 | 48 | GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-date?deptId=100&interval=2×[0]=2024-01-01 00:00:00×[1]=2024-01-29 23:59:59 |
| 49 | Authorization: Bearer {{token}} | 49 | Authorization: Bearer {{token}} |
| 50 | -tenant-id: {{adminTenentId}} | 50 | +tenant-id: {{adminTenantId}} |
| 51 | 51 | ||
| 52 | ### 6.2 获取客户成交周期(按用户) | 52 | ### 6.2 获取客户成交周期(按用户) |
| 53 | GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-user?deptId=100×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 | 53 | GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-user?deptId=100×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 |
| 54 | Authorization: Bearer {{token}} | 54 | Authorization: Bearer {{token}} |
| 55 | -tenant-id: {{adminTenentId}} | 55 | +tenant-id: {{adminTenantId}} |
| 56 | 56 | ||
| 57 | ### 6.3 获取客户成交周期(按区域) | 57 | ### 6.3 获取客户成交周期(按区域) |
| 58 | GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-area?deptId=100×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 | 58 | GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-area?deptId=100×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 |
| 59 | Authorization: Bearer {{token}} | 59 | Authorization: Bearer {{token}} |
| 60 | -tenant-id: {{adminTenentId}} | 60 | +tenant-id: {{adminTenantId}} |
| 61 | 61 | ||
| 62 | ### 6.4 获取客户成交周期(按产品) | 62 | ### 6.4 获取客户成交周期(按产品) |
| 63 | GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-product?deptId=100×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 | 63 | GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-product?deptId=100×[0]=2023-01-01 00:00:00×[1]=2024-12-12 23:59:59 |
| 64 | Authorization: Bearer {{token}} | 64 | Authorization: Bearer {{token}} |
| 65 | -tenant-id: {{adminTenentId}} | 65 | +tenant-id: {{adminTenantId}} |
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/statistics/CrmStatisticsRankController.http
| 1 | ### 合同金额排行榜 | 1 | ### 合同金额排行榜 |
| 2 | GET {{baseUrl}}/crm/statistics-rank/get-contract-price-rank?deptId=100×[0]=2022-12-12 00:00:00×[1]=2024-12-12 23:59:59 | 2 | GET {{baseUrl}}/crm/statistics-rank/get-contract-price-rank?deptId=100×[0]=2022-12-12 00:00:00×[1]=2024-12-12 23:59:59 |
| 3 | Authorization: Bearer {{token}} | 3 | Authorization: Bearer {{token}} |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |
| 5 | 5 | ||
| 6 | ### 回款金额排行榜 | 6 | ### 回款金额排行榜 |
| 7 | GET {{baseUrl}}/crm/statistics-rank/get-receivable-price-rank?deptId=100×[0]=2022-12-12 00:00:00×[1]=2024-12-12 23:59:59 | 7 | GET {{baseUrl}}/crm/statistics-rank/get-receivable-price-rank?deptId=100×[0]=2022-12-12 00:00:00×[1]=2024-12-12 23:59:59 |
| 8 | Authorization: Bearer {{token}} | 8 | Authorization: Bearer {{token}} |
| 9 | -tenant-id: {{adminTenentId}} | ||
| 10 | \ No newline at end of file | 9 | \ No newline at end of file |
| 10 | +tenant-id: {{adminTenantId}} | ||
| 11 | \ No newline at end of file | 11 | \ No newline at end of file |
yudao-module-erp/yudao-module-erp-biz/src/main/java/cn/iocoder/yudao/module/erp/controller/admin/statistics/ErpSaleStatisticsController.http
| 1 | ### 请求 /erp/sale-statistics/summary 接口 => 成功 | 1 | ### 请求 /erp/sale-statistics/summary 接口 => 成功 |
| 2 | GET {{baseUrl}}/erp/sale-statistics/summary | 2 | GET {{baseUrl}}/erp/sale-statistics/summary |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |
| 5 | Authorization: Bearer {{token}} | 5 | Authorization: Bearer {{token}} |
| 6 | 6 | ||
| 7 | ### 请求 /erp/sale-statistics/time-summary 接口 => 成功 | 7 | ### 请求 /erp/sale-statistics/time-summary 接口 => 成功 |
| 8 | GET {{baseUrl}}/erp/sale-statistics/time-summary | 8 | GET {{baseUrl}}/erp/sale-statistics/time-summary |
| 9 | Content-Type: application/json | 9 | Content-Type: application/json |
| 10 | -tenant-id: {{adminTenentId}} | 10 | +tenant-id: {{adminTenantId}} |
| 11 | Authorization: Bearer {{token}} | 11 | Authorization: Bearer {{token}} |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/FileConfigController.http
| 1 | ### 请求 /infra/file-config/create 接口 => 成功 | 1 | ### 请求 /infra/file-config/create 接口 => 成功 |
| 2 | POST {{baseUrl}}/infra/file-config/create | 2 | POST {{baseUrl}}/infra/file-config/create |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |
| 5 | Authorization: Bearer {{token}} | 5 | Authorization: Bearer {{token}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| @@ -21,7 +21,7 @@ Authorization: Bearer {{token}} | @@ -21,7 +21,7 @@ Authorization: Bearer {{token}} | ||
| 21 | ### 请求 /infra/file-config/update 接口 => 成功 | 21 | ### 请求 /infra/file-config/update 接口 => 成功 |
| 22 | PUT {{baseUrl}}/infra/file-config/update | 22 | PUT {{baseUrl}}/infra/file-config/update |
| 23 | Content-Type: application/json | 23 | Content-Type: application/json |
| 24 | -tenant-id: {{adminTenentId}} | 24 | +tenant-id: {{adminTenantId}} |
| 25 | Authorization: Bearer {{token}} | 25 | Authorization: Bearer {{token}} |
| 26 | 26 | ||
| 27 | { | 27 | { |
| @@ -41,5 +41,5 @@ Authorization: Bearer {{token}} | @@ -41,5 +41,5 @@ Authorization: Bearer {{token}} | ||
| 41 | ### 请求 /infra/file-config/test 接口 => 成功 | 41 | ### 请求 /infra/file-config/test 接口 => 成功 |
| 42 | GET {{baseUrl}}/infra/file-config/test?id=2 | 42 | GET {{baseUrl}}/infra/file-config/test?id=2 |
| 43 | Content-Type: application/json | 43 | Content-Type: application/json |
| 44 | -tenant-id: {{adminTenentId}} | 44 | +tenant-id: {{adminTenantId}} |
| 45 | Authorization: Bearer {{token}} | 45 | Authorization: Bearer {{token}} |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/JobController.http
| 1 | ### 请求 /infra/job/sync 接口 => 成功 | 1 | ### 请求 /infra/job/sync 接口 => 成功 |
| 2 | POST {{baseUrl}}/infra/job/sync | 2 | POST {{baseUrl}}/infra/job/sync |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |
| 5 | Authorization: Bearer {{token}} | 5 | Authorization: Bearer {{token}} |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/redis/RedisController.http
| 1 | ### 请求 /infra/redis/get-monitor-info 接口 => 成功 | 1 | ### 请求 /infra/redis/get-monitor-info 接口 => 成功 |
| 2 | GET {{baseUrl}}/infra/redis/get-monitor-info | 2 | GET {{baseUrl}}/infra/redis/get-monitor-info |
| 3 | Authorization: Bearer {{token}} | 3 | Authorization: Bearer {{token}} |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/controller/admin/thinkmodelfunction/IotThinkModelFunctionController.http
| 1 | ### 请求 /iot/think-model-function/create 接口 => 成功 | 1 | ### 请求 /iot/think-model-function/create 接口 => 成功 |
| 2 | POST {{baseUrl}}/iot/think-model-function/create | 2 | POST {{baseUrl}}/iot/think-model-function/create |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |
| 5 | Authorization: Bearer {{token}} | 5 | Authorization: Bearer {{token}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| @@ -32,7 +32,7 @@ Authorization: Bearer {{token}} | @@ -32,7 +32,7 @@ Authorization: Bearer {{token}} | ||
| 32 | ### 请求 /iot/think-model-function/create 接口 => 成功 | 32 | ### 请求 /iot/think-model-function/create 接口 => 成功 |
| 33 | POST {{baseUrl}}/iot/think-model-function/create | 33 | POST {{baseUrl}}/iot/think-model-function/create |
| 34 | Content-Type: application/json | 34 | Content-Type: application/json |
| 35 | -tenant-id: {{adminTenentId}} | 35 | +tenant-id: {{adminTenantId}} |
| 36 | Authorization: Bearer {{token}} | 36 | Authorization: Bearer {{token}} |
| 37 | 37 | ||
| 38 | { | 38 | { |
| @@ -66,7 +66,7 @@ Authorization: Bearer {{token}} | @@ -66,7 +66,7 @@ Authorization: Bearer {{token}} | ||
| 66 | ### 请求 /iot/think-model-function/update 接口 => 成功 | 66 | ### 请求 /iot/think-model-function/update 接口 => 成功 |
| 67 | PUT {{baseUrl}}/iot/think-model-function/update | 67 | PUT {{baseUrl}}/iot/think-model-function/update |
| 68 | Content-Type: application/json | 68 | Content-Type: application/json |
| 69 | -tenant-id: {{adminTenentId}} | 69 | +tenant-id: {{adminTenantId}} |
| 70 | Authorization: Bearer {{token}} | 70 | Authorization: Bearer {{token}} |
| 71 | 71 | ||
| 72 | { | 72 | { |
| @@ -97,16 +97,16 @@ Authorization: Bearer {{token}} | @@ -97,16 +97,16 @@ Authorization: Bearer {{token}} | ||
| 97 | 97 | ||
| 98 | ### 请求 /iot/think-model-function/delete 接口 => 成功 | 98 | ### 请求 /iot/think-model-function/delete 接口 => 成功 |
| 99 | DELETE {{baseUrl}}/iot/think-model-function/delete?id=7 | 99 | DELETE {{baseUrl}}/iot/think-model-function/delete?id=7 |
| 100 | -tenant-id: {{adminTenentId}} | 100 | +tenant-id: {{adminTenantId}} |
| 101 | Authorization: Bearer {{token}} | 101 | Authorization: Bearer {{token}} |
| 102 | 102 | ||
| 103 | ### 请求 /iot/think-model-function/get 接口 => 成功 | 103 | ### 请求 /iot/think-model-function/get 接口 => 成功 |
| 104 | GET {{baseUrl}}/iot/think-model-function/get?id=10 | 104 | GET {{baseUrl}}/iot/think-model-function/get?id=10 |
| 105 | -tenant-id: {{adminTenentId}} | 105 | +tenant-id: {{adminTenantId}} |
| 106 | Authorization: Bearer {{token}} | 106 | Authorization: Bearer {{token}} |
| 107 | 107 | ||
| 108 | 108 | ||
| 109 | ### 请求 /iot/think-model-function/list-by-product-id 接口 => 成功 | 109 | ### 请求 /iot/think-model-function/list-by-product-id 接口 => 成功 |
| 110 | GET {{baseUrl}}/iot/think-model-function/list-by-product-id?productId=1001 | 110 | GET {{baseUrl}}/iot/think-model-function/list-by-product-id?productId=1001 |
| 111 | -tenant-id: {{adminTenentId}} | 111 | +tenant-id: {{adminTenantId}} |
| 112 | Authorization: Bearer {{token}} | 112 | Authorization: Bearer {{token}} |
| 113 | \ No newline at end of file | 113 | \ No newline at end of file |
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/ProductSpuController.http
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/spu/AppProductSpuController.http
| 1 | ### 获得订单交易的分页(默认) | 1 | ### 获得订单交易的分页(默认) |
| 2 | GET {{appApi}}/product/spu/page?pageNo=1&pageSize=10 | 2 | GET {{appApi}}/product/spu/page?pageNo=1&pageSize=10 |
| 3 | Authorization: Bearer {{appToken}} | 3 | Authorization: Bearer {{appToken}} |
| 4 | -tenant-id: {{appTenentId}} | 4 | +tenant-id: {{appTenantId}} |
| 5 | 5 | ||
| 6 | ### 获得订单交易的分页(价格) | 6 | ### 获得订单交易的分页(价格) |
| 7 | GET {{appApi}}/product/spu/page?pageNo=1&pageSize=10&sortField=price&sortAsc=true | 7 | GET {{appApi}}/product/spu/page?pageNo=1&pageSize=10&sortField=price&sortAsc=true |
| 8 | Authorization: Bearer {{appToken}} | 8 | Authorization: Bearer {{appToken}} |
| 9 | -tenant-id: {{appTenentId}} | 9 | +tenant-id: {{appTenantId}} |
| 10 | 10 | ||
| 11 | ### 获得订单交易的分页(销售) | 11 | ### 获得订单交易的分页(销售) |
| 12 | GET {{appApi}}/product/spu/page?pageNo=1&pageSize=10&sortField=salesCount&sortAsc=true | 12 | GET {{appApi}}/product/spu/page?pageNo=1&pageSize=10&sortField=salesCount&sortAsc=true |
| 13 | Authorization: Bearer {{appToken}} | 13 | Authorization: Bearer {{appToken}} |
| 14 | -tenant-id: {{appTenentId}} | 14 | +tenant-id: {{appTenantId}} |
| 15 | 15 | ||
| 16 | ### 获得商品 SPU 明细 | 16 | ### 获得商品 SPU 明细 |
| 17 | GET {{appApi}}/product/spu/get-detail?id=102 | 17 | GET {{appApi}}/product/spu/get-detail?id=102 |
| 18 | -tenant-id: {{appTenentId}} | 18 | +tenant-id: {{appTenantId}} |
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/activity/AppActivityController.http
| @@ -2,4 +2,4 @@ | @@ -2,4 +2,4 @@ | ||
| 2 | GET {{appApi}}/promotion/activity/list-by-spu-ids?spuIds=222&spuIds=633 | 2 | GET {{appApi}}/promotion/activity/list-by-spu-ids?spuIds=222&spuIds=633 |
| 3 | Authorization: Bearer {{appToken}} | 3 | Authorization: Bearer {{appToken}} |
| 4 | Content-Type: application/json | 4 | Content-Type: application/json |
| 5 | -tenant-id: {{appTenentId}} | 5 | +tenant-id: {{appTenantId}} |
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/bargain/AppBargainHelpController.http
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | POST {{appApi}}/promotion/bargain-help/create | 2 | POST {{appApi}}/promotion/bargain-help/create |
| 3 | Authorization: Bearer test248 | 3 | Authorization: Bearer test248 |
| 4 | Content-Type: application/json | 4 | Content-Type: application/json |
| 5 | -tenant-id: {{appTenentId}} | 5 | +tenant-id: {{appTenantId}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| 8 | "recordId": 26 | 8 | "recordId": 26 |
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/bargain/AppBargainRecordController.http
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | POST {{appApi}}/promotion/bargain-record/create | 2 | POST {{appApi}}/promotion/bargain-record/create |
| 3 | Authorization: Bearer {{appToken}} | 3 | Authorization: Bearer {{appToken}} |
| 4 | Content-Type: application/json | 4 | Content-Type: application/json |
| 5 | -tenant-id: {{appTenentId}} | 5 | +tenant-id: {{appTenantId}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| 8 | "activityId": 1 | 8 | "activityId": 1 |
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/admin/aftersale/TradeAfterSaleController.http
| 1 | ### 获得交易售后分页 => 成功 | 1 | ### 获得交易售后分页 => 成功 |
| 2 | GET {{baseUrl}}/trade/after-sale/page?pageNo=1&pageSize=10 | 2 | GET {{baseUrl}}/trade/after-sale/page?pageNo=1&pageSize=10 |
| 3 | Authorization: Bearer {{token}} | 3 | Authorization: Bearer {{token}} |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |
| 5 | 5 | ||
| 6 | ### 同意售后 => 成功 | 6 | ### 同意售后 => 成功 |
| 7 | PUT {{baseUrl}}/trade/after-sale/agree?id=7 | 7 | PUT {{baseUrl}}/trade/after-sale/agree?id=7 |
| 8 | Authorization: Bearer {{token}} | 8 | Authorization: Bearer {{token}} |
| 9 | -tenant-id: {{adminTenentId}} | 9 | +tenant-id: {{adminTenantId}} |
| 10 | Content-Type: application/json | 10 | Content-Type: application/json |
| 11 | 11 | ||
| 12 | ### 拒绝售后 => 成功 | 12 | ### 拒绝售后 => 成功 |
| 13 | PUT {{baseUrl}}/trade/after-sale/disagree | 13 | PUT {{baseUrl}}/trade/after-sale/disagree |
| 14 | Authorization: Bearer {{token}} | 14 | Authorization: Bearer {{token}} |
| 15 | -tenant-id: {{adminTenentId}} | 15 | +tenant-id: {{adminTenantId}} |
| 16 | Content-Type: application/json | 16 | Content-Type: application/json |
| 17 | 17 | ||
| 18 | { | 18 | { |
| @@ -23,11 +23,11 @@ Content-Type: application/json | @@ -23,11 +23,11 @@ Content-Type: application/json | ||
| 23 | ### 确认退款 => 成功 | 23 | ### 确认退款 => 成功 |
| 24 | PUT {{baseUrl}}/trade/after-sale/refund?id=6 | 24 | PUT {{baseUrl}}/trade/after-sale/refund?id=6 |
| 25 | Authorization: Bearer {{token}} | 25 | Authorization: Bearer {{token}} |
| 26 | -tenant-id: {{adminTenentId}} | 26 | +tenant-id: {{adminTenantId}} |
| 27 | Content-Type: application/json | 27 | Content-Type: application/json |
| 28 | 28 | ||
| 29 | ### 确认收货 => 成功 | 29 | ### 确认收货 => 成功 |
| 30 | PUT {{baseUrl}}/trade/after-sale/receive?id=7 | 30 | PUT {{baseUrl}}/trade/after-sale/receive?id=7 |
| 31 | Authorization: Bearer {{token}} | 31 | Authorization: Bearer {{token}} |
| 32 | -tenant-id: {{adminTenentId}} | 32 | +tenant-id: {{adminTenantId}} |
| 33 | Content-Type: application/json | 33 | Content-Type: application/json |
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/admin/order/TradeOrderController.http
| 1 | ### 获得交易订单分页 => 成功 | 1 | ### 获得交易订单分页 => 成功 |
| 2 | GET {{baseUrl}}/trade/order/page?pageNo=1&pageSize=10 | 2 | GET {{baseUrl}}/trade/order/page?pageNo=1&pageSize=10 |
| 3 | Authorization: Bearer {{token}} | 3 | Authorization: Bearer {{token}} |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |
| 5 | 5 | ||
| 6 | ### 获得交易订单分页 => 成功 | 6 | ### 获得交易订单分页 => 成功 |
| 7 | GET {{baseUrl}}/trade/order/get-detail?id=21 | 7 | GET {{baseUrl}}/trade/order/get-detail?id=21 |
| 8 | Authorization: Bearer {{token}} | 8 | Authorization: Bearer {{token}} |
| 9 | -tenant-id: {{adminTenentId}} | 9 | +tenant-id: {{adminTenantId}} |
| 10 | 10 | ||
| 11 | ### 获得交易订单的物流轨迹 => 成功 | 11 | ### 获得交易订单的物流轨迹 => 成功 |
| 12 | GET {{baseUrl}}/trade/order/get-express-track-list?id=21 | 12 | GET {{baseUrl}}/trade/order/get-express-track-list?id=21 |
| 13 | Authorization: Bearer {{token}} | 13 | Authorization: Bearer {{token}} |
| 14 | -tenant-id: {{adminTenentId}} | ||
| 15 | \ No newline at end of file | 14 | \ No newline at end of file |
| 15 | +tenant-id: {{adminTenantId}} | ||
| 16 | \ No newline at end of file | 16 | \ No newline at end of file |
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/cart/AppCartController.http
| 1 | ### 请求 /trade/cart/add 接口 => 成功 | 1 | ### 请求 /trade/cart/add 接口 => 成功 |
| 2 | POST {{appApi}}/trade/cart/add | 2 | POST {{appApi}}/trade/cart/add |
| 3 | -tenant-id: {{appTenentId}} | 3 | +tenant-id: {{appTenantId}} |
| 4 | Authorization: Bearer {{appToken}} | 4 | Authorization: Bearer {{appToken}} |
| 5 | Content-Type: application/json | 5 | Content-Type: application/json |
| 6 | 6 | ||
| @@ -12,7 +12,7 @@ Content-Type: application/json | @@ -12,7 +12,7 @@ Content-Type: application/json | ||
| 12 | 12 | ||
| 13 | ### 请求 /trade/cart/update 接口 => 成功 | 13 | ### 请求 /trade/cart/update 接口 => 成功 |
| 14 | PUT {{appApi}}/trade/cart/update | 14 | PUT {{appApi}}/trade/cart/update |
| 15 | -tenant-id: {{appTenentId}} | 15 | +tenant-id: {{appTenantId}} |
| 16 | Authorization: Bearer {{appToken}} | 16 | Authorization: Bearer {{appToken}} |
| 17 | Content-Type: application/json | 17 | Content-Type: application/json |
| 18 | 18 | ||
| @@ -23,20 +23,20 @@ Content-Type: application/json | @@ -23,20 +23,20 @@ Content-Type: application/json | ||
| 23 | 23 | ||
| 24 | ### 请求 /trade/cart/delete 接口 => 成功 | 24 | ### 请求 /trade/cart/delete 接口 => 成功 |
| 25 | DELETE {{appApi}}/trade/cart/delete?ids=1 | 25 | DELETE {{appApi}}/trade/cart/delete?ids=1 |
| 26 | -tenant-id: {{appTenentId}} | 26 | +tenant-id: {{appTenantId}} |
| 27 | Authorization: Bearer {{appToken}} | 27 | Authorization: Bearer {{appToken}} |
| 28 | 28 | ||
| 29 | ### 请求 /trade/cart/get-count 接口 => 成功 | 29 | ### 请求 /trade/cart/get-count 接口 => 成功 |
| 30 | GET {{appApi}}/trade/cart/get-count | 30 | GET {{appApi}}/trade/cart/get-count |
| 31 | -tenant-id: {{appTenentId}} | 31 | +tenant-id: {{appTenantId}} |
| 32 | Authorization: Bearer {{appToken}} | 32 | Authorization: Bearer {{appToken}} |
| 33 | 33 | ||
| 34 | ### 请求 /trade/cart/get-count-map 接口 => 成功 | 34 | ### 请求 /trade/cart/get-count-map 接口 => 成功 |
| 35 | GET {{appApi}}/trade/cart/get-count-map | 35 | GET {{appApi}}/trade/cart/get-count-map |
| 36 | -tenant-id: {{appTenentId}} | 36 | +tenant-id: {{appTenantId}} |
| 37 | Authorization: Bearer {{appToken}} | 37 | Authorization: Bearer {{appToken}} |
| 38 | 38 | ||
| 39 | ### 请求 /trade/cart/list 接口 => 成功 | 39 | ### 请求 /trade/cart/list 接口 => 成功 |
| 40 | GET {{appApi}}/trade/cart/list | 40 | GET {{appApi}}/trade/cart/list |
| 41 | -tenant-id: {{appTenentId}} | 41 | +tenant-id: {{appTenantId}} |
| 42 | Authorization: Bearer {{appToken}} | 42 | Authorization: Bearer {{appToken}} |
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/AppTradeOrderController.http
| 1 | ### /trade-order/settlement 获得订单结算信息(基于商品) | 1 | ### /trade-order/settlement 获得订单结算信息(基于商品) |
| 2 | GET {{appApi}}/trade/order/settlement?type=0&items[0].skuId=1&items[0].count=2&items[1].skuId=2&items[1].count=3&couponId=1 | 2 | GET {{appApi}}/trade/order/settlement?type=0&items[0].skuId=1&items[0].count=2&items[1].skuId=2&items[1].count=3&couponId=1 |
| 3 | Authorization: Bearer {{appToken}} | 3 | Authorization: Bearer {{appToken}} |
| 4 | -tenant-id: {{appTenentId}} | 4 | +tenant-id: {{appTenantId}} |
| 5 | 5 | ||
| 6 | ### /trade-order/settlement 获得订单结算信息(基于购物车) | 6 | ### /trade-order/settlement 获得订单结算信息(基于购物车) |
| 7 | GET {{appApi}}/trade/order/settlement?type=0&items[0].cartId=50&couponId=1 | 7 | GET {{appApi}}/trade/order/settlement?type=0&items[0].cartId=50&couponId=1 |
| 8 | Authorization: Bearer {{appToken}} | 8 | Authorization: Bearer {{appToken}} |
| 9 | -tenant-id: {{appTenentId}} | 9 | +tenant-id: {{appTenantId}} |
| 10 | 10 | ||
| 11 | ### /trade-order/create 创建订单(基于商品)【快递】 | 11 | ### /trade-order/create 创建订单(基于商品)【快递】 |
| 12 | POST {{appApi}}/trade/order/create | 12 | POST {{appApi}}/trade/order/create |
| 13 | Content-Type: application/json | 13 | Content-Type: application/json |
| 14 | Authorization: Bearer {{appToken}} | 14 | Authorization: Bearer {{appToken}} |
| 15 | -tenant-id: {{appTenentId}} | 15 | +tenant-id: {{appTenantId}} |
| 16 | 16 | ||
| 17 | { | 17 | { |
| 18 | "pointStatus": true, | 18 | "pointStatus": true, |
| @@ -31,7 +31,7 @@ tenant-id: {{appTenentId}} | @@ -31,7 +31,7 @@ tenant-id: {{appTenentId}} | ||
| 31 | POST {{appApi}}/trade/order/create | 31 | POST {{appApi}}/trade/order/create |
| 32 | Content-Type: application/json | 32 | Content-Type: application/json |
| 33 | Authorization: Bearer {{appToken}} | 33 | Authorization: Bearer {{appToken}} |
| 34 | -tenant-id: {{appTenentId}} | 34 | +tenant-id: {{appTenantId}} |
| 35 | 35 | ||
| 36 | { | 36 | { |
| 37 | "pointStatus": true, | 37 | "pointStatus": true, |
| @@ -51,19 +51,19 @@ tenant-id: {{appTenentId}} | @@ -51,19 +51,19 @@ tenant-id: {{appTenentId}} | ||
| 51 | ### 获得订单交易的分页 | 51 | ### 获得订单交易的分页 |
| 52 | GET {{appApi}}/trade/order/page?pageNo=1&pageSize=10 | 52 | GET {{appApi}}/trade/order/page?pageNo=1&pageSize=10 |
| 53 | Authorization: Bearer {{appToken}} | 53 | Authorization: Bearer {{appToken}} |
| 54 | -tenant-id: {{appTenentId}} | 54 | +tenant-id: {{appTenantId}} |
| 55 | 55 | ||
| 56 | ### 获得订单交易的详细 | 56 | ### 获得订单交易的详细 |
| 57 | GET {{appApi}}/trade/order/get-detail?id=21 | 57 | GET {{appApi}}/trade/order/get-detail?id=21 |
| 58 | Authorization: Bearer {{appToken}} | 58 | Authorization: Bearer {{appToken}} |
| 59 | -tenant-id: {{appTenentId}} | 59 | +tenant-id: {{appTenantId}} |
| 60 | 60 | ||
| 61 | ### 获得交易订单的物流轨迹 | 61 | ### 获得交易订单的物流轨迹 |
| 62 | GET {{appApi}}/trade/order/get-express-track-list?id=70 | 62 | GET {{appApi}}/trade/order/get-express-track-list?id=70 |
| 63 | Authorization: Bearer {{appToken}} | 63 | Authorization: Bearer {{appToken}} |
| 64 | -tenant-id: {{appTenentId}} | 64 | +tenant-id: {{appTenantId}} |
| 65 | 65 | ||
| 66 | ### /trade-order/settlement-product 获得商品结算信息 | 66 | ### /trade-order/settlement-product 获得商品结算信息 |
| 67 | GET {{appApi}}/trade/order/settlement-product?spuIds=633 | 67 | GET {{appApi}}/trade/order/settlement-product?spuIds=633 |
| 68 | Authorization: Bearer {{appToken}} | 68 | Authorization: Bearer {{appToken}} |
| 69 | -tenant-id: {{appTenentId}} | ||
| 70 | \ No newline at end of file | 69 | \ No newline at end of file |
| 70 | +tenant-id: {{appTenantId}} | ||
| 71 | \ No newline at end of file | 71 | \ No newline at end of file |
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/address/AppAddressController.http
| 1 | ### 请求 /create 接口 => 成功 | 1 | ### 请求 /create 接口 => 成功 |
| 2 | POST {{appApi}}//member/address/create | 2 | POST {{appApi}}//member/address/create |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{appTenentId}} | 4 | +tenant-id: {{appTenantId}} |
| 5 | Authorization: Bearer {{appToken}} | 5 | Authorization: Bearer {{appToken}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| @@ -16,7 +16,7 @@ Authorization: Bearer {{appToken}} | @@ -16,7 +16,7 @@ Authorization: Bearer {{appToken}} | ||
| 16 | ### 请求 /update 接口 => 成功 | 16 | ### 请求 /update 接口 => 成功 |
| 17 | PUT {{appApi}}//member/address/update | 17 | PUT {{appApi}}//member/address/update |
| 18 | Content-Type: application/json | 18 | Content-Type: application/json |
| 19 | -tenant-id: {{appTenentId}} | 19 | +tenant-id: {{appTenantId}} |
| 20 | Authorization: Bearer {{appToken}} | 20 | Authorization: Bearer {{appToken}} |
| 21 | 21 | ||
| 22 | { | 22 | { |
| @@ -32,23 +32,23 @@ Authorization: Bearer {{appToken}} | @@ -32,23 +32,23 @@ Authorization: Bearer {{appToken}} | ||
| 32 | ### 请求 /delete 接口 => 成功 | 32 | ### 请求 /delete 接口 => 成功 |
| 33 | DELETE {{appApi}}//member/address/delete?id=2 | 33 | DELETE {{appApi}}//member/address/delete?id=2 |
| 34 | Content-Type: application/json | 34 | Content-Type: application/json |
| 35 | -tenant-id: {{appTenentId}} | 35 | +tenant-id: {{appTenantId}} |
| 36 | Authorization: Bearer {{appToken}} | 36 | Authorization: Bearer {{appToken}} |
| 37 | 37 | ||
| 38 | ### 请求 /get 接口 => 成功 | 38 | ### 请求 /get 接口 => 成功 |
| 39 | GET {{appApi}}//member/address/get?id=1 | 39 | GET {{appApi}}//member/address/get?id=1 |
| 40 | Content-Type: application/json | 40 | Content-Type: application/json |
| 41 | -tenant-id: {{appTenentId}} | 41 | +tenant-id: {{appTenantId}} |
| 42 | Authorization: Bearer {{appToken}} | 42 | Authorization: Bearer {{appToken}} |
| 43 | 43 | ||
| 44 | ### 请求 /get-default 接口 => 成功 | 44 | ### 请求 /get-default 接口 => 成功 |
| 45 | GET {{appApi}}//member/address/get-default | 45 | GET {{appApi}}//member/address/get-default |
| 46 | Content-Type: application/json | 46 | Content-Type: application/json |
| 47 | -tenant-id: {{appTenentId}} | 47 | +tenant-id: {{appTenantId}} |
| 48 | Authorization: Bearer {{appToken}} | 48 | Authorization: Bearer {{appToken}} |
| 49 | 49 | ||
| 50 | ### 请求 /list 接口 => 成功 | 50 | ### 请求 /list 接口 => 成功 |
| 51 | GET {{appApi}}//member/address/list | 51 | GET {{appApi}}//member/address/list |
| 52 | Content-Type: application/json | 52 | Content-Type: application/json |
| 53 | -tenant-id: {{appTenentId}} | 53 | +tenant-id: {{appTenantId}} |
| 54 | Authorization: Bearer {{appToken}} | 54 | Authorization: Bearer {{appToken}} |
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/AppAuthController.http
| 1 | ### 请求 /login 接口 => 成功 | 1 | ### 请求 /login 接口 => 成功 |
| 2 | POST {{appApi}}/member/auth/login | 2 | POST {{appApi}}/member/auth/login |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{appTenentId}} | 4 | +tenant-id: {{appTenantId}} |
| 5 | 5 | ||
| 6 | { | 6 | { |
| 7 | "mobile": "15601691388", | 7 | "mobile": "15601691388", |
| @@ -11,7 +11,7 @@ tenant-id: {{appTenentId}} | @@ -11,7 +11,7 @@ tenant-id: {{appTenentId}} | ||
| 11 | ### 请求 /send-sms-code 接口 => 成功 | 11 | ### 请求 /send-sms-code 接口 => 成功 |
| 12 | POST {{appApi}}/member/auth/send-sms-code | 12 | POST {{appApi}}/member/auth/send-sms-code |
| 13 | Content-Type: application/json | 13 | Content-Type: application/json |
| 14 | -tenant-id: {{appTenentId}} | 14 | +tenant-id: {{appTenantId}} |
| 15 | 15 | ||
| 16 | { | 16 | { |
| 17 | "mobile": "15601691388", | 17 | "mobile": "15601691388", |
| @@ -21,7 +21,7 @@ tenant-id: {{appTenentId}} | @@ -21,7 +21,7 @@ tenant-id: {{appTenentId}} | ||
| 21 | ### 请求 /sms-login 接口 => 成功 | 21 | ### 请求 /sms-login 接口 => 成功 |
| 22 | POST {{appApi}}/member/auth/sms-login | 22 | POST {{appApi}}/member/auth/sms-login |
| 23 | Content-Type: application/json | 23 | Content-Type: application/json |
| 24 | -tenant-id: {{appTenentId}} | 24 | +tenant-id: {{appTenantId}} |
| 25 | terminal: 30 | 25 | terminal: 30 |
| 26 | 26 | ||
| 27 | { | 27 | { |
| @@ -32,7 +32,7 @@ terminal: 30 | @@ -32,7 +32,7 @@ terminal: 30 | ||
| 32 | ### 请求 /social-login 接口 => 成功 | 32 | ### 请求 /social-login 接口 => 成功 |
| 33 | POST {{appApi}}/member/auth/social-login | 33 | POST {{appApi}}/member/auth/social-login |
| 34 | Content-Type: application/json | 34 | Content-Type: application/json |
| 35 | -tenant-id: {{appTenentId}} | 35 | +tenant-id: {{appTenantId}} |
| 36 | 36 | ||
| 37 | { | 37 | { |
| 38 | "type": 34, | 38 | "type": 34, |
| @@ -43,7 +43,7 @@ tenant-id: {{appTenentId}} | @@ -43,7 +43,7 @@ tenant-id: {{appTenentId}} | ||
| 43 | ### 请求 /weixin-mini-app-login 接口 => 成功 | 43 | ### 请求 /weixin-mini-app-login 接口 => 成功 |
| 44 | POST {{appApi}}/member/auth/weixin-mini-app-login | 44 | POST {{appApi}}/member/auth/weixin-mini-app-login |
| 45 | Content-Type: application/json | 45 | Content-Type: application/json |
| 46 | -tenant-id: {{appTenentId}} | 46 | +tenant-id: {{appTenantId}} |
| 47 | 47 | ||
| 48 | { | 48 | { |
| 49 | "phoneCode": "618e6412e0c728f5b8fc7164497463d0158a923c9e7fd86af8bba393b9decbc5", | 49 | "phoneCode": "618e6412e0c728f5b8fc7164497463d0158a923c9e7fd86af8bba393b9decbc5", |
| @@ -54,14 +54,14 @@ tenant-id: {{appTenentId}} | @@ -54,14 +54,14 @@ tenant-id: {{appTenentId}} | ||
| 54 | POST {{appApi}}/member/auth/logout | 54 | POST {{appApi}}/member/auth/logout |
| 55 | Content-Type: application/json | 55 | Content-Type: application/json |
| 56 | Authorization: Bearer c1b76bdaf2c146c581caa4d7fd81ee66 | 56 | Authorization: Bearer c1b76bdaf2c146c581caa4d7fd81ee66 |
| 57 | -tenant-id: {{appTenentId}} | 57 | +tenant-id: {{appTenantId}} |
| 58 | 58 | ||
| 59 | ### 请求 /auth/refresh-token 接口 => 成功 | 59 | ### 请求 /auth/refresh-token 接口 => 成功 |
| 60 | POST {{appApi}}/member/auth/refresh-token?refreshToken=bc43d929094849a28b3a69f6e6940d70 | 60 | POST {{appApi}}/member/auth/refresh-token?refreshToken=bc43d929094849a28b3a69f6e6940d70 |
| 61 | Content-Type: application/json | 61 | Content-Type: application/json |
| 62 | -tenant-id: {{appTenentId}} | 62 | +tenant-id: {{appTenantId}} |
| 63 | 63 | ||
| 64 | ### 请求 /auth/create-weixin-jsapi-signature 接口 => 成功 | 64 | ### 请求 /auth/create-weixin-jsapi-signature 接口 => 成功 |
| 65 | POST {{appApi}}/member/auth/create-weixin-jsapi-signature?url=http://www.iocoder.cn | 65 | POST {{appApi}}/member/auth/create-weixin-jsapi-signature?url=http://www.iocoder.cn |
| 66 | Authorization: Bearer {{appToken}} | 66 | Authorization: Bearer {{appToken}} |
| 67 | -tenant-id: {{appTenentId}} | 67 | +tenant-id: {{appTenantId}} |
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/user/AppMemberUserController.http
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/material/MpMaterialController.http
| @@ -2,4 +2,4 @@ | @@ -2,4 +2,4 @@ | ||
| 2 | GET {{baseUrl}}/mp/material/page?permanent=true&pageNo=1&pageSize=10 | 2 | GET {{baseUrl}}/mp/material/page?permanent=true&pageNo=1&pageSize=10 |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | Authorization: Bearer {{token}} | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/menu/MpMenuController.http
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | POST {{baseUrl}}/mp/menu/save | 2 | POST {{baseUrl}}/mp/menu/save |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | Authorization: Bearer {{token}} | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| 8 | "accountId": "1", | 8 | "accountId": "1", |
| @@ -37,7 +37,7 @@ tenant-id: {{adminTenentId}} | @@ -37,7 +37,7 @@ tenant-id: {{adminTenentId}} | ||
| 37 | POST {{baseUrl}}/mp/menu/save | 37 | POST {{baseUrl}}/mp/menu/save |
| 38 | Content-Type: application/json | 38 | Content-Type: application/json |
| 39 | Authorization: Bearer {{token}} | 39 | Authorization: Bearer {{token}} |
| 40 | -tenant-id: {{adminTenentId}} | 40 | +tenant-id: {{adminTenantId}} |
| 41 | 41 | ||
| 42 | { | 42 | { |
| 43 | "accountId": "1", | 43 | "accountId": "1", |
| @@ -47,4 +47,4 @@ tenant-id: {{adminTenentId}} | @@ -47,4 +47,4 @@ tenant-id: {{adminTenentId}} | ||
| 47 | ### 请求 /mp/menu/list 接口 => 成功 | 47 | ### 请求 /mp/menu/list 接口 => 成功 |
| 48 | GET {{baseUrl}}/mp/menu/list?accountId=1 | 48 | GET {{baseUrl}}/mp/menu/list?accountId=1 |
| 49 | Authorization: Bearer {{token}} | 49 | Authorization: Bearer {{token}} |
| 50 | -tenant-id: {{adminTenentId}} | 50 | +tenant-id: {{adminTenantId}} |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/message/MpAutoReplyController.http
| @@ -2,4 +2,4 @@ | @@ -2,4 +2,4 @@ | ||
| 2 | GET {{baseUrl}}/mp/auto-reply/page?accountId=1&pageNo=1&pageSize=10 | 2 | GET {{baseUrl}}/mp/auto-reply/page?accountId=1&pageNo=1&pageSize=10 |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | Authorization: Bearer {{token}} | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/message/MpMessageController.http
| @@ -2,13 +2,13 @@ | @@ -2,13 +2,13 @@ | ||
| 2 | GET {{baseUrl}}/mp/message/page?accountId=1&pageNo=1&pageSize=10 | 2 | GET {{baseUrl}}/mp/message/page?accountId=1&pageNo=1&pageSize=10 |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | Authorization: Bearer {{token}} | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | ### 请求 /mp/message/send 接口 => 成功(文本) | 7 | ### 请求 /mp/message/send 接口 => 成功(文本) |
| 8 | POST {{baseUrl}}/mp/message/send | 8 | POST {{baseUrl}}/mp/message/send |
| 9 | Content-Type: application/json | 9 | Content-Type: application/json |
| 10 | Authorization: Bearer {{token}} | 10 | Authorization: Bearer {{token}} |
| 11 | -tenant-id: {{adminTenentId}} | 11 | +tenant-id: {{adminTenantId}} |
| 12 | 12 | ||
| 13 | { | 13 | { |
| 14 | "userId": 3, | 14 | "userId": 3, |
| @@ -20,7 +20,7 @@ tenant-id: {{adminTenentId}} | @@ -20,7 +20,7 @@ tenant-id: {{adminTenentId}} | ||
| 20 | POST {{baseUrl}}/mp/message/send | 20 | POST {{baseUrl}}/mp/message/send |
| 21 | Content-Type: application/json | 21 | Content-Type: application/json |
| 22 | Authorization: Bearer {{token}} | 22 | Authorization: Bearer {{token}} |
| 23 | -tenant-id: {{adminTenentId}} | 23 | +tenant-id: {{adminTenantId}} |
| 24 | 24 | ||
| 25 | { | 25 | { |
| 26 | "userId": 3, | 26 | "userId": 3, |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/news/MpDraftController.http
| @@ -2,13 +2,13 @@ | @@ -2,13 +2,13 @@ | ||
| 2 | GET {{baseUrl}}/mp/draft/page?accountId=1&pageNo=1&pageSize=10 | 2 | GET {{baseUrl}}/mp/draft/page?accountId=1&pageNo=1&pageSize=10 |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | Authorization: Bearer {{token}} | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | ### 请求 /mp/draft/create 接口 => 成功 | 7 | ### 请求 /mp/draft/create 接口 => 成功 |
| 8 | POST {{baseUrl}}/mp/draft/create?accountId=1 | 8 | POST {{baseUrl}}/mp/draft/create?accountId=1 |
| 9 | Content-Type: application/json | 9 | Content-Type: application/json |
| 10 | Authorization: Bearer {{token}} | 10 | Authorization: Bearer {{token}} |
| 11 | -tenant-id: {{adminTenentId}} | 11 | +tenant-id: {{adminTenantId}} |
| 12 | 12 | ||
| 13 | { | 13 | { |
| 14 | "articles": [ | 14 | "articles": [ |
| @@ -35,7 +35,7 @@ tenant-id: {{adminTenentId}} | @@ -35,7 +35,7 @@ tenant-id: {{adminTenentId}} | ||
| 35 | PUT {{baseUrl}}/mp/draft/update?accountId=1&mediaId=r6ryvl6LrxBU0miaST4Y-q-G9pdsmZw0OYG4FzHQkKfpLfEwIH51wy2bxisx8PvW | 35 | PUT {{baseUrl}}/mp/draft/update?accountId=1&mediaId=r6ryvl6LrxBU0miaST4Y-q-G9pdsmZw0OYG4FzHQkKfpLfEwIH51wy2bxisx8PvW |
| 36 | Content-Type: application/json | 36 | Content-Type: application/json |
| 37 | Authorization: Bearer {{token}} | 37 | Authorization: Bearer {{token}} |
| 38 | -tenant-id: {{adminTenentId}} | 38 | +tenant-id: {{adminTenantId}} |
| 39 | 39 | ||
| 40 | [{ | 40 | [{ |
| 41 | "title": "我是标题(OOO)", | 41 | "title": "我是标题(OOO)", |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/news/MpFreePublishController.http
| @@ -2,12 +2,12 @@ | @@ -2,12 +2,12 @@ | ||
| 2 | GET {{baseUrl}}/mp/free-publish/page?accountId=1&pageNo=1&pageSize=10 | 2 | GET {{baseUrl}}/mp/free-publish/page?accountId=1&pageNo=1&pageSize=10 |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | Authorization: Bearer {{token}} | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | ### 请求 /mp/free-publish/submit 接口 => 成功 | 7 | ### 请求 /mp/free-publish/submit 接口 => 成功 |
| 8 | POST {{baseUrl}}/mp/free-publish/submit?accountId=1&mediaId=r6ryvl6LrxBU0miaST4Y-vilmd7iS51D8IPddxflWrau0hIQ2ovY8YanO5jlgUcM | 8 | POST {{baseUrl}}/mp/free-publish/submit?accountId=1&mediaId=r6ryvl6LrxBU0miaST4Y-vilmd7iS51D8IPddxflWrau0hIQ2ovY8YanO5jlgUcM |
| 9 | Content-Type: application/json | 9 | Content-Type: application/json |
| 10 | Authorization: Bearer {{token}} | 10 | Authorization: Bearer {{token}} |
| 11 | -tenant-id: {{adminTenentId}} | 11 | +tenant-id: {{adminTenantId}} |
| 12 | 12 | ||
| 13 | {} | 13 | {} |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/tag/MpTagController.http
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | POST {{baseUrl}}/mp/tag/create | 2 | POST {{baseUrl}}/mp/tag/create |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | Authorization: Bearer {{token}} | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| 8 | "accountId": "1", | 8 | "accountId": "1", |
| @@ -13,7 +13,7 @@ tenant-id: {{adminTenentId}} | @@ -13,7 +13,7 @@ tenant-id: {{adminTenentId}} | ||
| 13 | PUT {{baseUrl}}/mp/tag/update | 13 | PUT {{baseUrl}}/mp/tag/update |
| 14 | Content-Type: application/json | 14 | Content-Type: application/json |
| 15 | Authorization: Bearer {{token}} | 15 | Authorization: Bearer {{token}} |
| 16 | -tenant-id: {{adminTenentId}} | 16 | +tenant-id: {{adminTenantId}} |
| 17 | 17 | ||
| 18 | { | 18 | { |
| 19 | "id": "3", | 19 | "id": "3", |
| @@ -24,16 +24,16 @@ tenant-id: {{adminTenentId}} | @@ -24,16 +24,16 @@ tenant-id: {{adminTenentId}} | ||
| 24 | DELETE {{baseUrl}}/mp/tag/delete?id=3 | 24 | DELETE {{baseUrl}}/mp/tag/delete?id=3 |
| 25 | Content-Type: application/json | 25 | Content-Type: application/json |
| 26 | Authorization: Bearer {{token}} | 26 | Authorization: Bearer {{token}} |
| 27 | -tenant-id: {{adminTenentId}} | 27 | +tenant-id: {{adminTenantId}} |
| 28 | 28 | ||
| 29 | ### 请求 /mp/tag/page 接口 => 成功 | 29 | ### 请求 /mp/tag/page 接口 => 成功 |
| 30 | GET {{baseUrl}}/mp/tag/page?accountId=1&pageNo=1&pageSize=10 | 30 | GET {{baseUrl}}/mp/tag/page?accountId=1&pageNo=1&pageSize=10 |
| 31 | Content-Type: application/json | 31 | Content-Type: application/json |
| 32 | Authorization: Bearer {{token}} | 32 | Authorization: Bearer {{token}} |
| 33 | -tenant-id: {{adminTenentId}} | 33 | +tenant-id: {{adminTenantId}} |
| 34 | 34 | ||
| 35 | ### 请求 /mp/tag/sync 接口 => 成功 | 35 | ### 请求 /mp/tag/sync 接口 => 成功 |
| 36 | POST {{baseUrl}}/mp/tag/sync?accountId=1 | 36 | POST {{baseUrl}}/mp/tag/sync?accountId=1 |
| 37 | Content-Type: application/json | 37 | Content-Type: application/json |
| 38 | Authorization: Bearer {{token}} | 38 | Authorization: Bearer {{token}} |
| 39 | -tenant-id: {{adminTenentId}} | 39 | +tenant-id: {{adminTenantId}} |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/user/MpUserController.http
| @@ -2,13 +2,13 @@ | @@ -2,13 +2,13 @@ | ||
| 2 | POST {{baseUrl}}/mp/user/sync?accountId=1 | 2 | POST {{baseUrl}}/mp/user/sync?accountId=1 |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | Authorization: Bearer {{token}} | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | ### 请求 /mp/user/update 接口 => 成功 | 7 | ### 请求 /mp/user/update 接口 => 成功 |
| 8 | PUT {{baseUrl}}/mp/user/update | 8 | PUT {{baseUrl}}/mp/user/update |
| 9 | Content-Type: application/json | 9 | Content-Type: application/json |
| 10 | Authorization: Bearer {{token}} | 10 | Authorization: Bearer {{token}} |
| 11 | -tenant-id: {{adminTenentId}} | 11 | +tenant-id: {{adminTenantId}} |
| 12 | 12 | ||
| 13 | { | 13 | { |
| 14 | "id": "3", | 14 | "id": "3", |
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/app/order/AppPayOrderController.http
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | POST {{appApi}}/pay/order/submit | 2 | POST {{appApi}}/pay/order/submit |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | Authorization: Bearer {{appToken}} | 4 | Authorization: Bearer {{appToken}} |
| 5 | -tenant-id: {{appTenentId}} | 5 | +tenant-id: {{appTenantId}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| 8 | "id": 174, | 8 | "id": 174, |
| @@ -13,7 +13,7 @@ tenant-id: {{appTenentId}} | @@ -13,7 +13,7 @@ tenant-id: {{appTenentId}} | ||
| 13 | POST {{appApi}}/pay/order/submit | 13 | POST {{appApi}}/pay/order/submit |
| 14 | Content-Type: application/json | 14 | Content-Type: application/json |
| 15 | Authorization: Bearer {{appToken}} | 15 | Authorization: Bearer {{appToken}} |
| 16 | -tenant-id: {{appTenentId}} | 16 | +tenant-id: {{appTenantId}} |
| 17 | 17 | ||
| 18 | { | 18 | { |
| 19 | "id": 202, | 19 | "id": 202, |
| @@ -27,7 +27,7 @@ tenant-id: {{appTenentId}} | @@ -27,7 +27,7 @@ tenant-id: {{appTenentId}} | ||
| 27 | POST {{appApi}}/pay/order/submit | 27 | POST {{appApi}}/pay/order/submit |
| 28 | Content-Type: application/json | 28 | Content-Type: application/json |
| 29 | Authorization: Bearer {{appToken}} | 29 | Authorization: Bearer {{appToken}} |
| 30 | -tenant-id: {{appTenentId}} | 30 | +tenant-id: {{appTenantId}} |
| 31 | 31 | ||
| 32 | { | 32 | { |
| 33 | "id": 202, | 33 | "id": 202, |
| @@ -41,7 +41,7 @@ tenant-id: {{appTenentId}} | @@ -41,7 +41,7 @@ tenant-id: {{appTenentId}} | ||
| 41 | POST {{appApi}}/pay/order/submit | 41 | POST {{appApi}}/pay/order/submit |
| 42 | Content-Type: application/json | 42 | Content-Type: application/json |
| 43 | Authorization: Bearer {{appToken}} | 43 | Authorization: Bearer {{appToken}} |
| 44 | -tenant-id: {{appTenentId}} | 44 | +tenant-id: {{appTenantId}} |
| 45 | 45 | ||
| 46 | { | 46 | { |
| 47 | "id": 202, | 47 | "id": 202, |
| @@ -55,7 +55,7 @@ tenant-id: {{appTenentId}} | @@ -55,7 +55,7 @@ tenant-id: {{appTenentId}} | ||
| 55 | POST {{appApi}}/pay/order/submit | 55 | POST {{appApi}}/pay/order/submit |
| 56 | Content-Type: application/json | 56 | Content-Type: application/json |
| 57 | Authorization: Bearer {{appToken}} | 57 | Authorization: Bearer {{appToken}} |
| 58 | -tenant-id: {{appTenentId}} | 58 | +tenant-id: {{appTenantId}} |
| 59 | 59 | ||
| 60 | { | 60 | { |
| 61 | "id": 202, | 61 | "id": 202, |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/auth/AuthController.http
| 1 | ### 请求 /login 接口 => 成功 | 1 | ### 请求 /login 接口 => 成功 |
| 2 | POST {{baseUrl}}/system/auth/login | 2 | POST {{baseUrl}}/system/auth/login |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |
| 5 | tag: Yunai.local | 5 | tag: Yunai.local |
| 6 | 6 | ||
| 7 | { | 7 | { |
| @@ -14,7 +14,7 @@ tag: Yunai.local | @@ -14,7 +14,7 @@ tag: Yunai.local | ||
| 14 | ### 请求 /login 接口 => 成功(无验证码) | 14 | ### 请求 /login 接口 => 成功(无验证码) |
| 15 | POST {{baseUrl}}/system/auth/login | 15 | POST {{baseUrl}}/system/auth/login |
| 16 | Content-Type: application/json | 16 | Content-Type: application/json |
| 17 | -tenant-id: {{adminTenentId}} | 17 | +tenant-id: {{adminTenantId}} |
| 18 | 18 | ||
| 19 | { | 19 | { |
| 20 | "username": "admin", | 20 | "username": "admin", |
| @@ -24,10 +24,10 @@ tenant-id: {{adminTenentId}} | @@ -24,10 +24,10 @@ tenant-id: {{adminTenentId}} | ||
| 24 | ### 请求 /get-permission-info 接口 => 成功 | 24 | ### 请求 /get-permission-info 接口 => 成功 |
| 25 | GET {{baseUrl}}/system/auth/get-permission-info | 25 | GET {{baseUrl}}/system/auth/get-permission-info |
| 26 | Authorization: Bearer {{token}} | 26 | Authorization: Bearer {{token}} |
| 27 | -tenant-id: {{adminTenentId}} | 27 | +tenant-id: {{adminTenantId}} |
| 28 | 28 | ||
| 29 | ### 请求 /list-menus 接口 => 成功 | 29 | ### 请求 /list-menus 接口 => 成功 |
| 30 | GET {{baseUrl}}/system/list-menus | 30 | GET {{baseUrl}}/system/list-menus |
| 31 | Authorization: Bearer {{token}} | 31 | Authorization: Bearer {{token}} |
| 32 | #Authorization: Bearer a6aa7714a2e44c95aaa8a2c5adc2a67a | 32 | #Authorization: Bearer a6aa7714a2e44c95aaa8a2c5adc2a67a |
| 33 | -tenant-id: {{adminTenentId}} | 33 | +tenant-id: {{adminTenantId}} |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/DictDataController.http
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/ip/AreaController.http
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/OperateLogController.http
| 1 | ### 请求 /system/operate-log/page 接口 => 成功 | 1 | ### 请求 /system/operate-log/page 接口 => 成功 |
| 2 | GET {{baseUrl}}/system/operate-log/page | 2 | GET {{baseUrl}}/system/operate-log/page |
| 3 | Authorization: Bearer {{token}} | 3 | Authorization: Bearer {{token}} |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/mail/MailTemplateController.http
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | POST {{baseUrl}}/system/mail-template/send-mail | 2 | POST {{baseUrl}}/system/mail-template/send-mail |
| 3 | Authorization: Bearer {{token}} | 3 | Authorization: Bearer {{token}} |
| 4 | Content-Type: application/json | 4 | Content-Type: application/json |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| 8 | "templateCode": "test_01", | 8 | "templateCode": "test_01", |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/OAuth2ClientController.http
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | POST {{baseUrl}}/system/oauth2-client/create | 2 | POST {{baseUrl}}/system/oauth2-client/create |
| 3 | Content-Type: application/json | 3 | Content-Type: application/json |
| 4 | Authorization: Bearer {{token}} | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| 8 | "id": "1", | 8 | "id": "1", |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/OAuth2OpenController.http
| 1 | ### 请求 /system/oauth2/authorize 接口 => 成功 | 1 | ### 请求 /system/oauth2/authorize 接口 => 成功 |
| 2 | GET {{baseUrl}}/system/oauth2/authorize?clientId=default | 2 | GET {{baseUrl}}/system/oauth2/authorize?clientId=default |
| 3 | Authorization: Bearer {{token}} | 3 | Authorization: Bearer {{token}} |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |
| 5 | 5 | ||
| 6 | ### 请求 /system/oauth2/authorize + token 接口 => 成功 | 6 | ### 请求 /system/oauth2/authorize + token 接口 => 成功 |
| 7 | POST {{baseUrl}}/system/oauth2/authorize | 7 | POST {{baseUrl}}/system/oauth2/authorize |
| 8 | Content-Type: application/x-www-form-urlencoded | 8 | Content-Type: application/x-www-form-urlencoded |
| 9 | Authorization: Bearer {{token}} | 9 | Authorization: Bearer {{token}} |
| 10 | -tenant-id: {{adminTenentId}} | 10 | +tenant-id: {{adminTenantId}} |
| 11 | 11 | ||
| 12 | response_type=token&client_id=default&scope={"user.read": true}&redirect_uri=https://www.iocoder.cn&auto_approve=true | 12 | response_type=token&client_id=default&scope={"user.read": true}&redirect_uri=https://www.iocoder.cn&auto_approve=true |
| 13 | 13 | ||
| @@ -15,7 +15,7 @@ response_type=token&client_id=default&scope={"user.read": true}&redirect_uri=htt | @@ -15,7 +15,7 @@ response_type=token&client_id=default&scope={"user.read": true}&redirect_uri=htt | ||
| 15 | POST {{baseUrl}}/system/oauth2/authorize | 15 | POST {{baseUrl}}/system/oauth2/authorize |
| 16 | Content-Type: application/x-www-form-urlencoded | 16 | Content-Type: application/x-www-form-urlencoded |
| 17 | Authorization: Bearer {{token}} | 17 | Authorization: Bearer {{token}} |
| 18 | -tenant-id: {{adminTenentId}} | 18 | +tenant-id: {{adminTenantId}} |
| 19 | 19 | ||
| 20 | response_type=code&client_id=default&scope={"user.read": true}&redirect_uri=https://www.iocoder.cn&auto_approve=false | 20 | response_type=code&client_id=default&scope={"user.read": true}&redirect_uri=https://www.iocoder.cn&auto_approve=false |
| 21 | 21 | ||
| @@ -23,7 +23,7 @@ response_type=code&client_id=default&scope={"user.read": true}&redirect_uri=http | @@ -23,7 +23,7 @@ response_type=code&client_id=default&scope={"user.read": true}&redirect_uri=http | ||
| 23 | POST {{baseUrl}}/system/oauth2/token | 23 | POST {{baseUrl}}/system/oauth2/token |
| 24 | Content-Type: application/x-www-form-urlencoded | 24 | Content-Type: application/x-www-form-urlencoded |
| 25 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== | 25 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== |
| 26 | -tenant-id: {{adminTenentId}} | 26 | +tenant-id: {{adminTenantId}} |
| 27 | 27 | ||
| 28 | grant_type=authorization_code&redirect_uri=https://www.iocoder.cn&code=189956c07a174588a97157eabef2f93a | 28 | grant_type=authorization_code&redirect_uri=https://www.iocoder.cn&code=189956c07a174588a97157eabef2f93a |
| 29 | 29 | ||
| @@ -31,7 +31,7 @@ grant_type=authorization_code&redirect_uri=https://www.iocoder.cn&code=189956c07 | @@ -31,7 +31,7 @@ grant_type=authorization_code&redirect_uri=https://www.iocoder.cn&code=189956c07 | ||
| 31 | POST {{baseUrl}}/system/oauth2/token | 31 | POST {{baseUrl}}/system/oauth2/token |
| 32 | Content-Type: application/x-www-form-urlencoded | 32 | Content-Type: application/x-www-form-urlencoded |
| 33 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== | 33 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== |
| 34 | -tenant-id: {{adminTenentId}} | 34 | +tenant-id: {{adminTenantId}} |
| 35 | 35 | ||
| 36 | grant_type=password&username=admin&password=admin123&scope=user.read | 36 | grant_type=password&username=admin&password=admin123&scope=user.read |
| 37 | 37 | ||
| @@ -39,16 +39,16 @@ grant_type=password&username=admin&password=admin123&scope=user.read | @@ -39,16 +39,16 @@ grant_type=password&username=admin&password=admin123&scope=user.read | ||
| 39 | POST {{baseUrl}}/system/oauth2/token | 39 | POST {{baseUrl}}/system/oauth2/token |
| 40 | Content-Type: application/x-www-form-urlencoded | 40 | Content-Type: application/x-www-form-urlencoded |
| 41 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== | 41 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== |
| 42 | -tenant-id: {{adminTenentId}} | 42 | +tenant-id: {{adminTenantId}} |
| 43 | 43 | ||
| 44 | grant_type=refresh_token&refresh_token=00895465d6994f72a9d926ceeed0f588 | 44 | grant_type=refresh_token&refresh_token=00895465d6994f72a9d926ceeed0f588 |
| 45 | 45 | ||
| 46 | ### 请求 /system/oauth2/token + DELETE 接口 => 成功 | 46 | ### 请求 /system/oauth2/token + DELETE 接口 => 成功 |
| 47 | DELETE {{baseUrl}}/system/oauth2/token?token=ca8a188f464441d6949c51493a2b7596 | 47 | DELETE {{baseUrl}}/system/oauth2/token?token=ca8a188f464441d6949c51493a2b7596 |
| 48 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== | 48 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== |
| 49 | -tenant-id: {{adminTenentId}} | 49 | +tenant-id: {{adminTenantId}} |
| 50 | 50 | ||
| 51 | ### 请求 /system/oauth2/check-token 接口 => 成功 | 51 | ### 请求 /system/oauth2/check-token 接口 => 成功 |
| 52 | POST {{baseUrl}}/system/oauth2/check-token?token=620d307c5b4148df8a98dd6c6c547106 | 52 | POST {{baseUrl}}/system/oauth2/check-token?token=620d307c5b4148df8a98dd6c6c547106 |
| 53 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== | 53 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== |
| 54 | -tenant-id: {{adminTenentId}} | 54 | +tenant-id: {{adminTenantId}} |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/OAuth2UserController.http
| 1 | ### 请求 /system/oauth2/user/get 接口 => 成功 | 1 | ### 请求 /system/oauth2/user/get 接口 => 成功 |
| 2 | GET {{baseUrl}}/system/oauth2/user/get | 2 | GET {{baseUrl}}/system/oauth2/user/get |
| 3 | Authorization: Bearer 47f9c74ec11041f193b777ebb95c3b0d | 3 | Authorization: Bearer 47f9c74ec11041f193b777ebb95c3b0d |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |
| 5 | 5 | ||
| 6 | ### 请求 /system/oauth2/user/update 接口 => 成功 | 6 | ### 请求 /system/oauth2/user/update 接口 => 成功 |
| 7 | PUT {{baseUrl}}/system/oauth2/user/update | 7 | PUT {{baseUrl}}/system/oauth2/user/update |
| 8 | Content-Type: application/json | 8 | Content-Type: application/json |
| 9 | Authorization: Bearer 47f9c74ec11041f193b777ebb95c3b0d | 9 | Authorization: Bearer 47f9c74ec11041f193b777ebb95c3b0d |
| 10 | -tenant-id: {{adminTenentId}} | 10 | +tenant-id: {{adminTenantId}} |
| 11 | 11 | ||
| 12 | { | 12 | { |
| 13 | "nickname": "芋道源码" | 13 | "nickname": "芋道源码" |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/MenuController.http
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/RoleController.http
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | POST {{baseUrl}}/system/role/create | 2 | POST {{baseUrl}}/system/role/create |
| 3 | Authorization: Bearer {{token}} | 3 | Authorization: Bearer {{token}} |
| 4 | Content-Type: application/json | 4 | Content-Type: application/json |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| 8 | "name": "测试角色", | 8 | "name": "测试角色", |
| @@ -14,7 +14,7 @@ tenant-id: {{adminTenentId}} | @@ -14,7 +14,7 @@ tenant-id: {{adminTenentId}} | ||
| 14 | POST {{baseUrl}}/system/role/update | 14 | POST {{baseUrl}}/system/role/update |
| 15 | Authorization: Bearer {{token}} | 15 | Authorization: Bearer {{token}} |
| 16 | Content-Type: application/json | 16 | Content-Type: application/json |
| 17 | -tenant-id: {{adminTenentId}} | 17 | +tenant-id: {{adminTenantId}} |
| 18 | 18 | ||
| 19 | { | 19 | { |
| 20 | "id": 100, | 20 | "id": 100, |
| @@ -26,7 +26,7 @@ tenant-id: {{adminTenentId}} | @@ -26,7 +26,7 @@ tenant-id: {{adminTenentId}} | ||
| 26 | POST {{baseUrl}}/system/role/delete | 26 | POST {{baseUrl}}/system/role/delete |
| 27 | Content-Type: application/x-www-form-urlencoded | 27 | Content-Type: application/x-www-form-urlencoded |
| 28 | Authorization: Bearer {{token}} | 28 | Authorization: Bearer {{token}} |
| 29 | -tenant-id: {{adminTenentId}} | 29 | +tenant-id: {{adminTenantId}} |
| 30 | 30 | ||
| 31 | roleId=14 | 31 | roleId=14 |
| 32 | 32 | ||
| @@ -34,9 +34,9 @@ roleId=14 | @@ -34,9 +34,9 @@ roleId=14 | ||
| 34 | GET {{baseUrl}}/system/role/get?id=100 | 34 | GET {{baseUrl}}/system/role/get?id=100 |
| 35 | Content-Type: application/x-www-form-urlencoded | 35 | Content-Type: application/x-www-form-urlencoded |
| 36 | Authorization: Bearer {{token}} | 36 | Authorization: Bearer {{token}} |
| 37 | -tenant-id: {{adminTenentId}} | 37 | +tenant-id: {{adminTenantId}} |
| 38 | 38 | ||
| 39 | ### /role/page 成功 | 39 | ### /role/page 成功 |
| 40 | GET {{baseUrl}}/system/role/page?pageNo=1&pageSize=10 | 40 | GET {{baseUrl}}/system/role/page?pageNo=1&pageSize=10 |
| 41 | Authorization: Bearer {{token}} | 41 | Authorization: Bearer {{token}} |
| 42 | -tenant-id: {{adminTenentId}} | 42 | +tenant-id: {{adminTenantId}} |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/SmsTemplateController.http
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | POST {{baseUrl}}/system/sms-template/send-sms | 2 | POST {{baseUrl}}/system/sms-template/send-sms |
| 3 | Authorization: Bearer {{token}} | 3 | Authorization: Bearer {{token}} |
| 4 | Content-Type: application/json | 4 | Content-Type: application/json |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
| 6 | 6 | ||
| 7 | { | 7 | { |
| 8 | "templateCode": "test_01", | 8 | "templateCode": "test_01", |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/socail/SocialClientController.http
| @@ -3,7 +3,7 @@ POST {{baseUrl}}/system/social-client/send-subscribe-message | @@ -3,7 +3,7 @@ POST {{baseUrl}}/system/social-client/send-subscribe-message | ||
| 3 | Authorization: Bearer {{token}} | 3 | Authorization: Bearer {{token}} |
| 4 | Content-Type: application/json | 4 | Content-Type: application/json |
| 5 | #Authorization: Bearer test100 | 5 | #Authorization: Bearer test100 |
| 6 | -tenant-id: {{adminTenentId}} | 6 | +tenant-id: {{adminTenantId}} |
| 7 | 7 | ||
| 8 | { | 8 | { |
| 9 | "userId": 247, | 9 | "userId": 247, |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/TenantController.http
| @@ -5,7 +5,7 @@ GET {{baseUrl}}/system/tenant/get-id-by-name?name=芋道源码 | @@ -5,7 +5,7 @@ GET {{baseUrl}}/system/tenant/get-id-by-name?name=芋道源码 | ||
| 5 | POST {{baseUrl}}/system/tenant/create | 5 | POST {{baseUrl}}/system/tenant/create |
| 6 | Content-Type: application/json | 6 | Content-Type: application/json |
| 7 | Authorization: Bearer {{token}} | 7 | Authorization: Bearer {{token}} |
| 8 | -tenant-id: {{adminTenentId}} | 8 | +tenant-id: {{adminTenantId}} |
| 9 | 9 | ||
| 10 | { | 10 | { |
| 11 | "name": "芋道", | 11 | "name": "芋道", |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserController.http
| @@ -2,4 +2,4 @@ | @@ -2,4 +2,4 @@ | ||
| 2 | GET {{baseUrl}}/system/user/page?pageNo=1&pageSize=10 | 2 | GET {{baseUrl}}/system/user/page?pageNo=1&pageSize=10 |
| 3 | Authorization: Bearer {{token}} | 3 | Authorization: Bearer {{token}} |
| 4 | #Authorization: Bearer test100 | 4 | #Authorization: Bearer test100 |
| 5 | -tenant-id: {{adminTenentId}} | 5 | +tenant-id: {{adminTenantId}} |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserProfileController.http
| 1 | ### 请求 /system/user/profile/get 接口 => 没有权限 | 1 | ### 请求 /system/user/profile/get 接口 => 没有权限 |
| 2 | GET {{baseUrl}}/system/user/profile/get | 2 | GET {{baseUrl}}/system/user/profile/get |
| 3 | Authorization: Bearer {{token}} | 3 | Authorization: Bearer {{token}} |
| 4 | -tenant-id: {{adminTenentId}} | 4 | +tenant-id: {{adminTenantId}} |