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 | 2 | "local": { |
| 3 | 3 | "baseUrl": "http://127.0.0.1:48080/admin-api", |
| 4 | 4 | "token": "test1", |
| 5 | - "adminTenentId": "1", | |
| 5 | + "adminTenantId": "1", | |
| 6 | 6 | |
| 7 | 7 | "appApi": "http://127.0.0.1:48080/app-api", |
| 8 | 8 | "appToken": "test247", |
| 9 | - "appTenentId": "1" | |
| 9 | + "appTenantId": "1" | |
| 10 | 10 | }, |
| 11 | 11 | "gateway": { |
| 12 | 12 | "baseUrl": "http://127.0.0.1:8888/admin-api", |
| 13 | 13 | "token": "test1", |
| 14 | - "adminTenentId": "1", | |
| 14 | + "adminTenantId": "1", | |
| 15 | 15 | |
| 16 | 16 | "appApi": "http://127.0.0.1:8888/app-api", |
| 17 | 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 | 2 | POST {{baseUrl}}/ai/chat/message/send |
| 3 | 3 | Content-Type: application/json |
| 4 | 4 | Authorization: {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | |
| 5 | +tenant-id: {{adminTenantId}} | |
| 6 | 6 | |
| 7 | 7 | { |
| 8 | 8 | "conversationId": "1781604279872581724", |
| ... | ... | @@ -13,7 +13,7 @@ tenant-id: {{adminTenentId}} |
| 13 | 13 | POST {{baseUrl}}/ai/chat/message/send-stream |
| 14 | 14 | Content-Type: application/json |
| 15 | 15 | Authorization: {{token}} |
| 16 | -tenant-id: {{adminTenentId}} | |
| 16 | +tenant-id: {{adminTenantId}} | |
| 17 | 17 | |
| 18 | 18 | { |
| 19 | 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 | 2 | POST {{baseUrl}}/crm/permission/create |
| 3 | 3 | Content-Type: application/json |
| 4 | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | |
| 5 | +tenant-id: {{adminTenantId}} | |
| 6 | 6 | |
| 7 | 7 | { |
| 8 | 8 | "userId": 1, |
| ... | ... | @@ -15,7 +15,7 @@ tenant-id: {{adminTenentId}} |
| 15 | 15 | PUT {{baseUrl}}/crm/permission/update |
| 16 | 16 | Content-Type: application/json |
| 17 | 17 | Authorization: Bearer {{token}} |
| 18 | -tenant-id: {{adminTenentId}} | |
| 18 | +tenant-id: {{adminTenantId}} | |
| 19 | 19 | |
| 20 | 20 | { |
| 21 | 21 | "userId": 1, |
| ... | ... | @@ -28,5 +28,5 @@ tenant-id: {{adminTenentId}} |
| 28 | 28 | ### 请求 /delete |
| 29 | 29 | DELETE {{baseUrl}}/crm/permission/delete?bizType=2&bizId=1&id=1 |
| 30 | 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 | 2 | ### 1.1 客户总量分析(按日期) |
| 3 | 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 | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | |
| 5 | +tenant-id: {{adminTenantId}} | |
| 6 | 6 | |
| 7 | 7 | ### 1.2 客户总量统计(按用户) |
| 8 | 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 | 9 | Authorization: Bearer {{token}} |
| 10 | -tenant-id: {{adminTenentId}} | |
| 10 | +tenant-id: {{adminTenantId}} | |
| 11 | 11 | |
| 12 | 12 | # == 2. 客户跟进次数分析 == |
| 13 | 13 | ### 2.1 客户跟进次数分析(按日期) |
| 14 | 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 | 15 | Authorization: Bearer {{token}} |
| 16 | -tenant-id: {{adminTenentId}} | |
| 16 | +tenant-id: {{adminTenantId}} | |
| 17 | 17 | |
| 18 | 18 | ### 2.2 客户总量统计(按用户) |
| 19 | 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 | 20 | Authorization: Bearer {{token}} |
| 21 | -tenant-id: {{adminTenentId}} | |
| 21 | +tenant-id: {{adminTenantId}} | |
| 22 | 22 | |
| 23 | 23 | # == 3. 客户跟进方式分析 == |
| 24 | 24 | ### 3.1 客户跟进方式分析 |
| 25 | 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 | 26 | Authorization: Bearer {{token}} |
| 27 | -tenant-id: {{adminTenentId}} | |
| 27 | +tenant-id: {{adminTenantId}} | |
| 28 | 28 | |
| 29 | 29 | # == 4. 客户成交周期 == |
| 30 | 30 | ### 4.1 合同摘要信息(客户转化率页面) |
| 31 | 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 | 32 | Authorization: Bearer {{token}} |
| 33 | -tenant-id: {{adminTenentId}} | |
| 33 | +tenant-id: {{adminTenantId}} | |
| 34 | 34 | |
| 35 | 35 | # == 5. 客户成交周期 == |
| 36 | 36 | ### 5.1 获取客户公海分析(按日期) |
| 37 | 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 | 38 | Authorization: Bearer {{token}} |
| 39 | -tenant-id: {{adminTenentId}} | |
| 39 | +tenant-id: {{adminTenantId}} | |
| 40 | 40 | |
| 41 | 41 | ### 5.2 获取客户公海分析(按用户) |
| 42 | 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 | 43 | Authorization: Bearer {{token}} |
| 44 | -tenant-id: {{adminTenentId}} | |
| 44 | +tenant-id: {{adminTenantId}} | |
| 45 | 45 | |
| 46 | 46 | # == 6. 客户成交周期 == |
| 47 | 47 | ### 6.1 客户成交周期(按日期) |
| 48 | 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 | 49 | Authorization: Bearer {{token}} |
| 50 | -tenant-id: {{adminTenentId}} | |
| 50 | +tenant-id: {{adminTenantId}} | |
| 51 | 51 | |
| 52 | 52 | ### 6.2 获取客户成交周期(按用户) |
| 53 | 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 | 54 | Authorization: Bearer {{token}} |
| 55 | -tenant-id: {{adminTenentId}} | |
| 55 | +tenant-id: {{adminTenantId}} | |
| 56 | 56 | |
| 57 | 57 | ### 6.3 获取客户成交周期(按区域) |
| 58 | 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 | 59 | Authorization: Bearer {{token}} |
| 60 | -tenant-id: {{adminTenentId}} | |
| 60 | +tenant-id: {{adminTenantId}} | |
| 61 | 61 | |
| 62 | 62 | ### 6.4 获取客户成交周期(按产品) |
| 63 | 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 | 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 | 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 | 3 | Authorization: Bearer {{token}} |
| 4 | -tenant-id: {{adminTenentId}} | |
| 4 | +tenant-id: {{adminTenantId}} | |
| 5 | 5 | |
| 6 | 6 | ### 回款金额排行榜 |
| 7 | 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 | 8 | Authorization: Bearer {{token}} |
| 9 | -tenant-id: {{adminTenentId}} | |
| 10 | 9 | \ No newline at end of file |
| 10 | +tenant-id: {{adminTenantId}} | |
| 11 | 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 | 1 | ### 请求 /erp/sale-statistics/summary 接口 => 成功 |
| 2 | 2 | GET {{baseUrl}}/erp/sale-statistics/summary |
| 3 | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{adminTenentId}} | |
| 4 | +tenant-id: {{adminTenantId}} | |
| 5 | 5 | Authorization: Bearer {{token}} |
| 6 | 6 | |
| 7 | 7 | ### 请求 /erp/sale-statistics/time-summary 接口 => 成功 |
| 8 | 8 | GET {{baseUrl}}/erp/sale-statistics/time-summary |
| 9 | 9 | Content-Type: application/json |
| 10 | -tenant-id: {{adminTenentId}} | |
| 10 | +tenant-id: {{adminTenantId}} | |
| 11 | 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 | 1 | ### 请求 /infra/file-config/create 接口 => 成功 |
| 2 | 2 | POST {{baseUrl}}/infra/file-config/create |
| 3 | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{adminTenentId}} | |
| 4 | +tenant-id: {{adminTenantId}} | |
| 5 | 5 | Authorization: Bearer {{token}} |
| 6 | 6 | |
| 7 | 7 | { |
| ... | ... | @@ -21,7 +21,7 @@ Authorization: Bearer {{token}} |
| 21 | 21 | ### 请求 /infra/file-config/update 接口 => 成功 |
| 22 | 22 | PUT {{baseUrl}}/infra/file-config/update |
| 23 | 23 | Content-Type: application/json |
| 24 | -tenant-id: {{adminTenentId}} | |
| 24 | +tenant-id: {{adminTenantId}} | |
| 25 | 25 | Authorization: Bearer {{token}} |
| 26 | 26 | |
| 27 | 27 | { |
| ... | ... | @@ -41,5 +41,5 @@ Authorization: Bearer {{token}} |
| 41 | 41 | ### 请求 /infra/file-config/test 接口 => 成功 |
| 42 | 42 | GET {{baseUrl}}/infra/file-config/test?id=2 |
| 43 | 43 | Content-Type: application/json |
| 44 | -tenant-id: {{adminTenentId}} | |
| 44 | +tenant-id: {{adminTenantId}} | |
| 45 | 45 | Authorization: Bearer {{token}} | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/JobController.http
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/redis/RedisController.http
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/controller/admin/thinkmodelfunction/IotThinkModelFunctionController.http
| 1 | 1 | ### 请求 /iot/think-model-function/create 接口 => 成功 |
| 2 | 2 | POST {{baseUrl}}/iot/think-model-function/create |
| 3 | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{adminTenentId}} | |
| 4 | +tenant-id: {{adminTenantId}} | |
| 5 | 5 | Authorization: Bearer {{token}} |
| 6 | 6 | |
| 7 | 7 | { |
| ... | ... | @@ -32,7 +32,7 @@ Authorization: Bearer {{token}} |
| 32 | 32 | ### 请求 /iot/think-model-function/create 接口 => 成功 |
| 33 | 33 | POST {{baseUrl}}/iot/think-model-function/create |
| 34 | 34 | Content-Type: application/json |
| 35 | -tenant-id: {{adminTenentId}} | |
| 35 | +tenant-id: {{adminTenantId}} | |
| 36 | 36 | Authorization: Bearer {{token}} |
| 37 | 37 | |
| 38 | 38 | { |
| ... | ... | @@ -66,7 +66,7 @@ Authorization: Bearer {{token}} |
| 66 | 66 | ### 请求 /iot/think-model-function/update 接口 => 成功 |
| 67 | 67 | PUT {{baseUrl}}/iot/think-model-function/update |
| 68 | 68 | Content-Type: application/json |
| 69 | -tenant-id: {{adminTenentId}} | |
| 69 | +tenant-id: {{adminTenantId}} | |
| 70 | 70 | Authorization: Bearer {{token}} |
| 71 | 71 | |
| 72 | 72 | { |
| ... | ... | @@ -97,16 +97,16 @@ Authorization: Bearer {{token}} |
| 97 | 97 | |
| 98 | 98 | ### 请求 /iot/think-model-function/delete 接口 => 成功 |
| 99 | 99 | DELETE {{baseUrl}}/iot/think-model-function/delete?id=7 |
| 100 | -tenant-id: {{adminTenentId}} | |
| 100 | +tenant-id: {{adminTenantId}} | |
| 101 | 101 | Authorization: Bearer {{token}} |
| 102 | 102 | |
| 103 | 103 | ### 请求 /iot/think-model-function/get 接口 => 成功 |
| 104 | 104 | GET {{baseUrl}}/iot/think-model-function/get?id=10 |
| 105 | -tenant-id: {{adminTenentId}} | |
| 105 | +tenant-id: {{adminTenantId}} | |
| 106 | 106 | Authorization: Bearer {{token}} |
| 107 | 107 | |
| 108 | 108 | |
| 109 | 109 | ### 请求 /iot/think-model-function/list-by-product-id 接口 => 成功 |
| 110 | 110 | GET {{baseUrl}}/iot/think-model-function/list-by-product-id?productId=1001 |
| 111 | -tenant-id: {{adminTenentId}} | |
| 111 | +tenant-id: {{adminTenantId}} | |
| 112 | 112 | Authorization: Bearer {{token}} |
| 113 | 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 | 2 | GET {{appApi}}/product/spu/page?pageNo=1&pageSize=10 |
| 3 | 3 | Authorization: Bearer {{appToken}} |
| 4 | -tenant-id: {{appTenentId}} | |
| 4 | +tenant-id: {{appTenantId}} | |
| 5 | 5 | |
| 6 | 6 | ### 获得订单交易的分页(价格) |
| 7 | 7 | GET {{appApi}}/product/spu/page?pageNo=1&pageSize=10&sortField=price&sortAsc=true |
| 8 | 8 | Authorization: Bearer {{appToken}} |
| 9 | -tenant-id: {{appTenentId}} | |
| 9 | +tenant-id: {{appTenantId}} | |
| 10 | 10 | |
| 11 | 11 | ### 获得订单交易的分页(销售) |
| 12 | 12 | GET {{appApi}}/product/spu/page?pageNo=1&pageSize=10&sortField=salesCount&sortAsc=true |
| 13 | 13 | Authorization: Bearer {{appToken}} |
| 14 | -tenant-id: {{appTenentId}} | |
| 14 | +tenant-id: {{appTenantId}} | |
| 15 | 15 | |
| 16 | 16 | ### 获得商品 SPU 明细 |
| 17 | 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
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/bargain/AppBargainHelpController.http
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/bargain/AppBargainRecordController.http
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/admin/aftersale/TradeAfterSaleController.http
| 1 | 1 | ### 获得交易售后分页 => 成功 |
| 2 | 2 | GET {{baseUrl}}/trade/after-sale/page?pageNo=1&pageSize=10 |
| 3 | 3 | Authorization: Bearer {{token}} |
| 4 | -tenant-id: {{adminTenentId}} | |
| 4 | +tenant-id: {{adminTenantId}} | |
| 5 | 5 | |
| 6 | 6 | ### 同意售后 => 成功 |
| 7 | 7 | PUT {{baseUrl}}/trade/after-sale/agree?id=7 |
| 8 | 8 | Authorization: Bearer {{token}} |
| 9 | -tenant-id: {{adminTenentId}} | |
| 9 | +tenant-id: {{adminTenantId}} | |
| 10 | 10 | Content-Type: application/json |
| 11 | 11 | |
| 12 | 12 | ### 拒绝售后 => 成功 |
| 13 | 13 | PUT {{baseUrl}}/trade/after-sale/disagree |
| 14 | 14 | Authorization: Bearer {{token}} |
| 15 | -tenant-id: {{adminTenentId}} | |
| 15 | +tenant-id: {{adminTenantId}} | |
| 16 | 16 | Content-Type: application/json |
| 17 | 17 | |
| 18 | 18 | { |
| ... | ... | @@ -23,11 +23,11 @@ Content-Type: application/json |
| 23 | 23 | ### 确认退款 => 成功 |
| 24 | 24 | PUT {{baseUrl}}/trade/after-sale/refund?id=6 |
| 25 | 25 | Authorization: Bearer {{token}} |
| 26 | -tenant-id: {{adminTenentId}} | |
| 26 | +tenant-id: {{adminTenantId}} | |
| 27 | 27 | Content-Type: application/json |
| 28 | 28 | |
| 29 | 29 | ### 确认收货 => 成功 |
| 30 | 30 | PUT {{baseUrl}}/trade/after-sale/receive?id=7 |
| 31 | 31 | Authorization: Bearer {{token}} |
| 32 | -tenant-id: {{adminTenentId}} | |
| 32 | +tenant-id: {{adminTenantId}} | |
| 33 | 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 | 2 | GET {{baseUrl}}/trade/order/page?pageNo=1&pageSize=10 |
| 3 | 3 | Authorization: Bearer {{token}} |
| 4 | -tenant-id: {{adminTenentId}} | |
| 4 | +tenant-id: {{adminTenantId}} | |
| 5 | 5 | |
| 6 | 6 | ### 获得交易订单分页 => 成功 |
| 7 | 7 | GET {{baseUrl}}/trade/order/get-detail?id=21 |
| 8 | 8 | Authorization: Bearer {{token}} |
| 9 | -tenant-id: {{adminTenentId}} | |
| 9 | +tenant-id: {{adminTenantId}} | |
| 10 | 10 | |
| 11 | 11 | ### 获得交易订单的物流轨迹 => 成功 |
| 12 | 12 | GET {{baseUrl}}/trade/order/get-express-track-list?id=21 |
| 13 | 13 | Authorization: Bearer {{token}} |
| 14 | -tenant-id: {{adminTenentId}} | |
| 15 | 14 | \ No newline at end of file |
| 15 | +tenant-id: {{adminTenantId}} | |
| 16 | 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 | 1 | ### 请求 /trade/cart/add 接口 => 成功 |
| 2 | 2 | POST {{appApi}}/trade/cart/add |
| 3 | -tenant-id: {{appTenentId}} | |
| 3 | +tenant-id: {{appTenantId}} | |
| 4 | 4 | Authorization: Bearer {{appToken}} |
| 5 | 5 | Content-Type: application/json |
| 6 | 6 | |
| ... | ... | @@ -12,7 +12,7 @@ Content-Type: application/json |
| 12 | 12 | |
| 13 | 13 | ### 请求 /trade/cart/update 接口 => 成功 |
| 14 | 14 | PUT {{appApi}}/trade/cart/update |
| 15 | -tenant-id: {{appTenentId}} | |
| 15 | +tenant-id: {{appTenantId}} | |
| 16 | 16 | Authorization: Bearer {{appToken}} |
| 17 | 17 | Content-Type: application/json |
| 18 | 18 | |
| ... | ... | @@ -23,20 +23,20 @@ Content-Type: application/json |
| 23 | 23 | |
| 24 | 24 | ### 请求 /trade/cart/delete 接口 => 成功 |
| 25 | 25 | DELETE {{appApi}}/trade/cart/delete?ids=1 |
| 26 | -tenant-id: {{appTenentId}} | |
| 26 | +tenant-id: {{appTenantId}} | |
| 27 | 27 | Authorization: Bearer {{appToken}} |
| 28 | 28 | |
| 29 | 29 | ### 请求 /trade/cart/get-count 接口 => 成功 |
| 30 | 30 | GET {{appApi}}/trade/cart/get-count |
| 31 | -tenant-id: {{appTenentId}} | |
| 31 | +tenant-id: {{appTenantId}} | |
| 32 | 32 | Authorization: Bearer {{appToken}} |
| 33 | 33 | |
| 34 | 34 | ### 请求 /trade/cart/get-count-map 接口 => 成功 |
| 35 | 35 | GET {{appApi}}/trade/cart/get-count-map |
| 36 | -tenant-id: {{appTenentId}} | |
| 36 | +tenant-id: {{appTenantId}} | |
| 37 | 37 | Authorization: Bearer {{appToken}} |
| 38 | 38 | |
| 39 | 39 | ### 请求 /trade/cart/list 接口 => 成功 |
| 40 | 40 | GET {{appApi}}/trade/cart/list |
| 41 | -tenant-id: {{appTenentId}} | |
| 41 | +tenant-id: {{appTenantId}} | |
| 42 | 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 | 1 | ### /trade-order/settlement 获得订单结算信息(基于商品) |
| 2 | 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 | 3 | Authorization: Bearer {{appToken}} |
| 4 | -tenant-id: {{appTenentId}} | |
| 4 | +tenant-id: {{appTenantId}} | |
| 5 | 5 | |
| 6 | 6 | ### /trade-order/settlement 获得订单结算信息(基于购物车) |
| 7 | 7 | GET {{appApi}}/trade/order/settlement?type=0&items[0].cartId=50&couponId=1 |
| 8 | 8 | Authorization: Bearer {{appToken}} |
| 9 | -tenant-id: {{appTenentId}} | |
| 9 | +tenant-id: {{appTenantId}} | |
| 10 | 10 | |
| 11 | 11 | ### /trade-order/create 创建订单(基于商品)【快递】 |
| 12 | 12 | POST {{appApi}}/trade/order/create |
| 13 | 13 | Content-Type: application/json |
| 14 | 14 | Authorization: Bearer {{appToken}} |
| 15 | -tenant-id: {{appTenentId}} | |
| 15 | +tenant-id: {{appTenantId}} | |
| 16 | 16 | |
| 17 | 17 | { |
| 18 | 18 | "pointStatus": true, |
| ... | ... | @@ -31,7 +31,7 @@ tenant-id: {{appTenentId}} |
| 31 | 31 | POST {{appApi}}/trade/order/create |
| 32 | 32 | Content-Type: application/json |
| 33 | 33 | Authorization: Bearer {{appToken}} |
| 34 | -tenant-id: {{appTenentId}} | |
| 34 | +tenant-id: {{appTenantId}} | |
| 35 | 35 | |
| 36 | 36 | { |
| 37 | 37 | "pointStatus": true, |
| ... | ... | @@ -51,19 +51,19 @@ tenant-id: {{appTenentId}} |
| 51 | 51 | ### 获得订单交易的分页 |
| 52 | 52 | GET {{appApi}}/trade/order/page?pageNo=1&pageSize=10 |
| 53 | 53 | Authorization: Bearer {{appToken}} |
| 54 | -tenant-id: {{appTenentId}} | |
| 54 | +tenant-id: {{appTenantId}} | |
| 55 | 55 | |
| 56 | 56 | ### 获得订单交易的详细 |
| 57 | 57 | GET {{appApi}}/trade/order/get-detail?id=21 |
| 58 | 58 | Authorization: Bearer {{appToken}} |
| 59 | -tenant-id: {{appTenentId}} | |
| 59 | +tenant-id: {{appTenantId}} | |
| 60 | 60 | |
| 61 | 61 | ### 获得交易订单的物流轨迹 |
| 62 | 62 | GET {{appApi}}/trade/order/get-express-track-list?id=70 |
| 63 | 63 | Authorization: Bearer {{appToken}} |
| 64 | -tenant-id: {{appTenentId}} | |
| 64 | +tenant-id: {{appTenantId}} | |
| 65 | 65 | |
| 66 | 66 | ### /trade-order/settlement-product 获得商品结算信息 |
| 67 | 67 | GET {{appApi}}/trade/order/settlement-product?spuIds=633 |
| 68 | 68 | Authorization: Bearer {{appToken}} |
| 69 | -tenant-id: {{appTenentId}} | |
| 70 | 69 | \ No newline at end of file |
| 70 | +tenant-id: {{appTenantId}} | |
| 71 | 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 | 1 | ### 请求 /create 接口 => 成功 |
| 2 | 2 | POST {{appApi}}//member/address/create |
| 3 | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{appTenentId}} | |
| 4 | +tenant-id: {{appTenantId}} | |
| 5 | 5 | Authorization: Bearer {{appToken}} |
| 6 | 6 | |
| 7 | 7 | { |
| ... | ... | @@ -16,7 +16,7 @@ Authorization: Bearer {{appToken}} |
| 16 | 16 | ### 请求 /update 接口 => 成功 |
| 17 | 17 | PUT {{appApi}}//member/address/update |
| 18 | 18 | Content-Type: application/json |
| 19 | -tenant-id: {{appTenentId}} | |
| 19 | +tenant-id: {{appTenantId}} | |
| 20 | 20 | Authorization: Bearer {{appToken}} |
| 21 | 21 | |
| 22 | 22 | { |
| ... | ... | @@ -32,23 +32,23 @@ Authorization: Bearer {{appToken}} |
| 32 | 32 | ### 请求 /delete 接口 => 成功 |
| 33 | 33 | DELETE {{appApi}}//member/address/delete?id=2 |
| 34 | 34 | Content-Type: application/json |
| 35 | -tenant-id: {{appTenentId}} | |
| 35 | +tenant-id: {{appTenantId}} | |
| 36 | 36 | Authorization: Bearer {{appToken}} |
| 37 | 37 | |
| 38 | 38 | ### 请求 /get 接口 => 成功 |
| 39 | 39 | GET {{appApi}}//member/address/get?id=1 |
| 40 | 40 | Content-Type: application/json |
| 41 | -tenant-id: {{appTenentId}} | |
| 41 | +tenant-id: {{appTenantId}} | |
| 42 | 42 | Authorization: Bearer {{appToken}} |
| 43 | 43 | |
| 44 | 44 | ### 请求 /get-default 接口 => 成功 |
| 45 | 45 | GET {{appApi}}//member/address/get-default |
| 46 | 46 | Content-Type: application/json |
| 47 | -tenant-id: {{appTenentId}} | |
| 47 | +tenant-id: {{appTenantId}} | |
| 48 | 48 | Authorization: Bearer {{appToken}} |
| 49 | 49 | |
| 50 | 50 | ### 请求 /list 接口 => 成功 |
| 51 | 51 | GET {{appApi}}//member/address/list |
| 52 | 52 | Content-Type: application/json |
| 53 | -tenant-id: {{appTenentId}} | |
| 53 | +tenant-id: {{appTenantId}} | |
| 54 | 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 | 1 | ### 请求 /login 接口 => 成功 |
| 2 | 2 | POST {{appApi}}/member/auth/login |
| 3 | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{appTenentId}} | |
| 4 | +tenant-id: {{appTenantId}} | |
| 5 | 5 | |
| 6 | 6 | { |
| 7 | 7 | "mobile": "15601691388", |
| ... | ... | @@ -11,7 +11,7 @@ tenant-id: {{appTenentId}} |
| 11 | 11 | ### 请求 /send-sms-code 接口 => 成功 |
| 12 | 12 | POST {{appApi}}/member/auth/send-sms-code |
| 13 | 13 | Content-Type: application/json |
| 14 | -tenant-id: {{appTenentId}} | |
| 14 | +tenant-id: {{appTenantId}} | |
| 15 | 15 | |
| 16 | 16 | { |
| 17 | 17 | "mobile": "15601691388", |
| ... | ... | @@ -21,7 +21,7 @@ tenant-id: {{appTenentId}} |
| 21 | 21 | ### 请求 /sms-login 接口 => 成功 |
| 22 | 22 | POST {{appApi}}/member/auth/sms-login |
| 23 | 23 | Content-Type: application/json |
| 24 | -tenant-id: {{appTenentId}} | |
| 24 | +tenant-id: {{appTenantId}} | |
| 25 | 25 | terminal: 30 |
| 26 | 26 | |
| 27 | 27 | { |
| ... | ... | @@ -32,7 +32,7 @@ terminal: 30 |
| 32 | 32 | ### 请求 /social-login 接口 => 成功 |
| 33 | 33 | POST {{appApi}}/member/auth/social-login |
| 34 | 34 | Content-Type: application/json |
| 35 | -tenant-id: {{appTenentId}} | |
| 35 | +tenant-id: {{appTenantId}} | |
| 36 | 36 | |
| 37 | 37 | { |
| 38 | 38 | "type": 34, |
| ... | ... | @@ -43,7 +43,7 @@ tenant-id: {{appTenentId}} |
| 43 | 43 | ### 请求 /weixin-mini-app-login 接口 => 成功 |
| 44 | 44 | POST {{appApi}}/member/auth/weixin-mini-app-login |
| 45 | 45 | Content-Type: application/json |
| 46 | -tenant-id: {{appTenentId}} | |
| 46 | +tenant-id: {{appTenantId}} | |
| 47 | 47 | |
| 48 | 48 | { |
| 49 | 49 | "phoneCode": "618e6412e0c728f5b8fc7164497463d0158a923c9e7fd86af8bba393b9decbc5", |
| ... | ... | @@ -54,14 +54,14 @@ tenant-id: {{appTenentId}} |
| 54 | 54 | POST {{appApi}}/member/auth/logout |
| 55 | 55 | Content-Type: application/json |
| 56 | 56 | Authorization: Bearer c1b76bdaf2c146c581caa4d7fd81ee66 |
| 57 | -tenant-id: {{appTenentId}} | |
| 57 | +tenant-id: {{appTenantId}} | |
| 58 | 58 | |
| 59 | 59 | ### 请求 /auth/refresh-token 接口 => 成功 |
| 60 | 60 | POST {{appApi}}/member/auth/refresh-token?refreshToken=bc43d929094849a28b3a69f6e6940d70 |
| 61 | 61 | Content-Type: application/json |
| 62 | -tenant-id: {{appTenentId}} | |
| 62 | +tenant-id: {{appTenantId}} | |
| 63 | 63 | |
| 64 | 64 | ### 请求 /auth/create-weixin-jsapi-signature 接口 => 成功 |
| 65 | 65 | POST {{appApi}}/member/auth/create-weixin-jsapi-signature?url=http://www.iocoder.cn |
| 66 | 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
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 | 2 | POST {{baseUrl}}/mp/menu/save |
| 3 | 3 | Content-Type: application/json |
| 4 | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | |
| 5 | +tenant-id: {{adminTenantId}} | |
| 6 | 6 | |
| 7 | 7 | { |
| 8 | 8 | "accountId": "1", |
| ... | ... | @@ -37,7 +37,7 @@ tenant-id: {{adminTenentId}} |
| 37 | 37 | POST {{baseUrl}}/mp/menu/save |
| 38 | 38 | Content-Type: application/json |
| 39 | 39 | Authorization: Bearer {{token}} |
| 40 | -tenant-id: {{adminTenentId}} | |
| 40 | +tenant-id: {{adminTenantId}} | |
| 41 | 41 | |
| 42 | 42 | { |
| 43 | 43 | "accountId": "1", |
| ... | ... | @@ -47,4 +47,4 @@ tenant-id: {{adminTenentId}} |
| 47 | 47 | ### 请求 /mp/menu/list 接口 => 成功 |
| 48 | 48 | GET {{baseUrl}}/mp/menu/list?accountId=1 |
| 49 | 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
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 | 2 | GET {{baseUrl}}/mp/message/page?accountId=1&pageNo=1&pageSize=10 |
| 3 | 3 | Content-Type: application/json |
| 4 | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | |
| 5 | +tenant-id: {{adminTenantId}} | |
| 6 | 6 | |
| 7 | 7 | ### 请求 /mp/message/send 接口 => 成功(文本) |
| 8 | 8 | POST {{baseUrl}}/mp/message/send |
| 9 | 9 | Content-Type: application/json |
| 10 | 10 | Authorization: Bearer {{token}} |
| 11 | -tenant-id: {{adminTenentId}} | |
| 11 | +tenant-id: {{adminTenantId}} | |
| 12 | 12 | |
| 13 | 13 | { |
| 14 | 14 | "userId": 3, |
| ... | ... | @@ -20,7 +20,7 @@ tenant-id: {{adminTenentId}} |
| 20 | 20 | POST {{baseUrl}}/mp/message/send |
| 21 | 21 | Content-Type: application/json |
| 22 | 22 | Authorization: Bearer {{token}} |
| 23 | -tenant-id: {{adminTenentId}} | |
| 23 | +tenant-id: {{adminTenantId}} | |
| 24 | 24 | |
| 25 | 25 | { |
| 26 | 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 | 2 | GET {{baseUrl}}/mp/draft/page?accountId=1&pageNo=1&pageSize=10 |
| 3 | 3 | Content-Type: application/json |
| 4 | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | |
| 5 | +tenant-id: {{adminTenantId}} | |
| 6 | 6 | |
| 7 | 7 | ### 请求 /mp/draft/create 接口 => 成功 |
| 8 | 8 | POST {{baseUrl}}/mp/draft/create?accountId=1 |
| 9 | 9 | Content-Type: application/json |
| 10 | 10 | Authorization: Bearer {{token}} |
| 11 | -tenant-id: {{adminTenentId}} | |
| 11 | +tenant-id: {{adminTenantId}} | |
| 12 | 12 | |
| 13 | 13 | { |
| 14 | 14 | "articles": [ |
| ... | ... | @@ -35,7 +35,7 @@ tenant-id: {{adminTenentId}} |
| 35 | 35 | PUT {{baseUrl}}/mp/draft/update?accountId=1&mediaId=r6ryvl6LrxBU0miaST4Y-q-G9pdsmZw0OYG4FzHQkKfpLfEwIH51wy2bxisx8PvW |
| 36 | 36 | Content-Type: application/json |
| 37 | 37 | Authorization: Bearer {{token}} |
| 38 | -tenant-id: {{adminTenentId}} | |
| 38 | +tenant-id: {{adminTenantId}} | |
| 39 | 39 | |
| 40 | 40 | [{ |
| 41 | 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 | 2 | GET {{baseUrl}}/mp/free-publish/page?accountId=1&pageNo=1&pageSize=10 |
| 3 | 3 | Content-Type: application/json |
| 4 | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | |
| 5 | +tenant-id: {{adminTenantId}} | |
| 6 | 6 | |
| 7 | 7 | ### 请求 /mp/free-publish/submit 接口 => 成功 |
| 8 | 8 | POST {{baseUrl}}/mp/free-publish/submit?accountId=1&mediaId=r6ryvl6LrxBU0miaST4Y-vilmd7iS51D8IPddxflWrau0hIQ2ovY8YanO5jlgUcM |
| 9 | 9 | Content-Type: application/json |
| 10 | 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 | 2 | POST {{baseUrl}}/mp/tag/create |
| 3 | 3 | Content-Type: application/json |
| 4 | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | |
| 5 | +tenant-id: {{adminTenantId}} | |
| 6 | 6 | |
| 7 | 7 | { |
| 8 | 8 | "accountId": "1", |
| ... | ... | @@ -13,7 +13,7 @@ tenant-id: {{adminTenentId}} |
| 13 | 13 | PUT {{baseUrl}}/mp/tag/update |
| 14 | 14 | Content-Type: application/json |
| 15 | 15 | Authorization: Bearer {{token}} |
| 16 | -tenant-id: {{adminTenentId}} | |
| 16 | +tenant-id: {{adminTenantId}} | |
| 17 | 17 | |
| 18 | 18 | { |
| 19 | 19 | "id": "3", |
| ... | ... | @@ -24,16 +24,16 @@ tenant-id: {{adminTenentId}} |
| 24 | 24 | DELETE {{baseUrl}}/mp/tag/delete?id=3 |
| 25 | 25 | Content-Type: application/json |
| 26 | 26 | Authorization: Bearer {{token}} |
| 27 | -tenant-id: {{adminTenentId}} | |
| 27 | +tenant-id: {{adminTenantId}} | |
| 28 | 28 | |
| 29 | 29 | ### 请求 /mp/tag/page 接口 => 成功 |
| 30 | 30 | GET {{baseUrl}}/mp/tag/page?accountId=1&pageNo=1&pageSize=10 |
| 31 | 31 | Content-Type: application/json |
| 32 | 32 | Authorization: Bearer {{token}} |
| 33 | -tenant-id: {{adminTenentId}} | |
| 33 | +tenant-id: {{adminTenantId}} | |
| 34 | 34 | |
| 35 | 35 | ### 请求 /mp/tag/sync 接口 => 成功 |
| 36 | 36 | POST {{baseUrl}}/mp/tag/sync?accountId=1 |
| 37 | 37 | Content-Type: application/json |
| 38 | 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 | 2 | POST {{baseUrl}}/mp/user/sync?accountId=1 |
| 3 | 3 | Content-Type: application/json |
| 4 | 4 | Authorization: Bearer {{token}} |
| 5 | -tenant-id: {{adminTenentId}} | |
| 5 | +tenant-id: {{adminTenantId}} | |
| 6 | 6 | |
| 7 | 7 | ### 请求 /mp/user/update 接口 => 成功 |
| 8 | 8 | PUT {{baseUrl}}/mp/user/update |
| 9 | 9 | Content-Type: application/json |
| 10 | 10 | Authorization: Bearer {{token}} |
| 11 | -tenant-id: {{adminTenentId}} | |
| 11 | +tenant-id: {{adminTenantId}} | |
| 12 | 12 | |
| 13 | 13 | { |
| 14 | 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 | 2 | POST {{appApi}}/pay/order/submit |
| 3 | 3 | Content-Type: application/json |
| 4 | 4 | Authorization: Bearer {{appToken}} |
| 5 | -tenant-id: {{appTenentId}} | |
| 5 | +tenant-id: {{appTenantId}} | |
| 6 | 6 | |
| 7 | 7 | { |
| 8 | 8 | "id": 174, |
| ... | ... | @@ -13,7 +13,7 @@ tenant-id: {{appTenentId}} |
| 13 | 13 | POST {{appApi}}/pay/order/submit |
| 14 | 14 | Content-Type: application/json |
| 15 | 15 | Authorization: Bearer {{appToken}} |
| 16 | -tenant-id: {{appTenentId}} | |
| 16 | +tenant-id: {{appTenantId}} | |
| 17 | 17 | |
| 18 | 18 | { |
| 19 | 19 | "id": 202, |
| ... | ... | @@ -27,7 +27,7 @@ tenant-id: {{appTenentId}} |
| 27 | 27 | POST {{appApi}}/pay/order/submit |
| 28 | 28 | Content-Type: application/json |
| 29 | 29 | Authorization: Bearer {{appToken}} |
| 30 | -tenant-id: {{appTenentId}} | |
| 30 | +tenant-id: {{appTenantId}} | |
| 31 | 31 | |
| 32 | 32 | { |
| 33 | 33 | "id": 202, |
| ... | ... | @@ -41,7 +41,7 @@ tenant-id: {{appTenentId}} |
| 41 | 41 | POST {{appApi}}/pay/order/submit |
| 42 | 42 | Content-Type: application/json |
| 43 | 43 | Authorization: Bearer {{appToken}} |
| 44 | -tenant-id: {{appTenentId}} | |
| 44 | +tenant-id: {{appTenantId}} | |
| 45 | 45 | |
| 46 | 46 | { |
| 47 | 47 | "id": 202, |
| ... | ... | @@ -55,7 +55,7 @@ tenant-id: {{appTenentId}} |
| 55 | 55 | POST {{appApi}}/pay/order/submit |
| 56 | 56 | Content-Type: application/json |
| 57 | 57 | Authorization: Bearer {{appToken}} |
| 58 | -tenant-id: {{appTenentId}} | |
| 58 | +tenant-id: {{appTenantId}} | |
| 59 | 59 | |
| 60 | 60 | { |
| 61 | 61 | "id": 202, | ... | ... |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/auth/AuthController.http
| 1 | 1 | ### 请求 /login 接口 => 成功 |
| 2 | 2 | POST {{baseUrl}}/system/auth/login |
| 3 | 3 | Content-Type: application/json |
| 4 | -tenant-id: {{adminTenentId}} | |
| 4 | +tenant-id: {{adminTenantId}} | |
| 5 | 5 | tag: Yunai.local |
| 6 | 6 | |
| 7 | 7 | { |
| ... | ... | @@ -14,7 +14,7 @@ tag: Yunai.local |
| 14 | 14 | ### 请求 /login 接口 => 成功(无验证码) |
| 15 | 15 | POST {{baseUrl}}/system/auth/login |
| 16 | 16 | Content-Type: application/json |
| 17 | -tenant-id: {{adminTenentId}} | |
| 17 | +tenant-id: {{adminTenantId}} | |
| 18 | 18 | |
| 19 | 19 | { |
| 20 | 20 | "username": "admin", |
| ... | ... | @@ -24,10 +24,10 @@ tenant-id: {{adminTenentId}} |
| 24 | 24 | ### 请求 /get-permission-info 接口 => 成功 |
| 25 | 25 | GET {{baseUrl}}/system/auth/get-permission-info |
| 26 | 26 | Authorization: Bearer {{token}} |
| 27 | -tenant-id: {{adminTenentId}} | |
| 27 | +tenant-id: {{adminTenantId}} | |
| 28 | 28 | |
| 29 | 29 | ### 请求 /list-menus 接口 => 成功 |
| 30 | 30 | GET {{baseUrl}}/system/list-menus |
| 31 | 31 | Authorization: Bearer {{token}} |
| 32 | 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
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/mail/MailTemplateController.http
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/OAuth2ClientController.http
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/OAuth2OpenController.http
| 1 | 1 | ### 请求 /system/oauth2/authorize 接口 => 成功 |
| 2 | 2 | GET {{baseUrl}}/system/oauth2/authorize?clientId=default |
| 3 | 3 | Authorization: Bearer {{token}} |
| 4 | -tenant-id: {{adminTenentId}} | |
| 4 | +tenant-id: {{adminTenantId}} | |
| 5 | 5 | |
| 6 | 6 | ### 请求 /system/oauth2/authorize + token 接口 => 成功 |
| 7 | 7 | POST {{baseUrl}}/system/oauth2/authorize |
| 8 | 8 | Content-Type: application/x-www-form-urlencoded |
| 9 | 9 | Authorization: Bearer {{token}} |
| 10 | -tenant-id: {{adminTenentId}} | |
| 10 | +tenant-id: {{adminTenantId}} | |
| 11 | 11 | |
| 12 | 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 | 15 | POST {{baseUrl}}/system/oauth2/authorize |
| 16 | 16 | Content-Type: application/x-www-form-urlencoded |
| 17 | 17 | Authorization: Bearer {{token}} |
| 18 | -tenant-id: {{adminTenentId}} | |
| 18 | +tenant-id: {{adminTenantId}} | |
| 19 | 19 | |
| 20 | 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 | 23 | POST {{baseUrl}}/system/oauth2/token |
| 24 | 24 | Content-Type: application/x-www-form-urlencoded |
| 25 | 25 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== |
| 26 | -tenant-id: {{adminTenentId}} | |
| 26 | +tenant-id: {{adminTenantId}} | |
| 27 | 27 | |
| 28 | 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 | 31 | POST {{baseUrl}}/system/oauth2/token |
| 32 | 32 | Content-Type: application/x-www-form-urlencoded |
| 33 | 33 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== |
| 34 | -tenant-id: {{adminTenentId}} | |
| 34 | +tenant-id: {{adminTenantId}} | |
| 35 | 35 | |
| 36 | 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 | 39 | POST {{baseUrl}}/system/oauth2/token |
| 40 | 40 | Content-Type: application/x-www-form-urlencoded |
| 41 | 41 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== |
| 42 | -tenant-id: {{adminTenentId}} | |
| 42 | +tenant-id: {{adminTenantId}} | |
| 43 | 43 | |
| 44 | 44 | grant_type=refresh_token&refresh_token=00895465d6994f72a9d926ceeed0f588 |
| 45 | 45 | |
| 46 | 46 | ### 请求 /system/oauth2/token + DELETE 接口 => 成功 |
| 47 | 47 | DELETE {{baseUrl}}/system/oauth2/token?token=ca8a188f464441d6949c51493a2b7596 |
| 48 | 48 | Authorization: Basic ZGVmYXVsdDphZG1pbjEyMw== |
| 49 | -tenant-id: {{adminTenentId}} | |
| 49 | +tenant-id: {{adminTenantId}} | |
| 50 | 50 | |
| 51 | 51 | ### 请求 /system/oauth2/check-token 接口 => 成功 |
| 52 | 52 | POST {{baseUrl}}/system/oauth2/check-token?token=620d307c5b4148df8a98dd6c6c547106 |
| 53 | 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 | 1 | ### 请求 /system/oauth2/user/get 接口 => 成功 |
| 2 | 2 | GET {{baseUrl}}/system/oauth2/user/get |
| 3 | 3 | Authorization: Bearer 47f9c74ec11041f193b777ebb95c3b0d |
| 4 | -tenant-id: {{adminTenentId}} | |
| 4 | +tenant-id: {{adminTenantId}} | |
| 5 | 5 | |
| 6 | 6 | ### 请求 /system/oauth2/user/update 接口 => 成功 |
| 7 | 7 | PUT {{baseUrl}}/system/oauth2/user/update |
| 8 | 8 | Content-Type: application/json |
| 9 | 9 | Authorization: Bearer 47f9c74ec11041f193b777ebb95c3b0d |
| 10 | -tenant-id: {{adminTenentId}} | |
| 10 | +tenant-id: {{adminTenantId}} | |
| 11 | 11 | |
| 12 | 12 | { |
| 13 | 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 | 2 | POST {{baseUrl}}/system/role/create |
| 3 | 3 | Authorization: Bearer {{token}} |
| 4 | 4 | Content-Type: application/json |
| 5 | -tenant-id: {{adminTenentId}} | |
| 5 | +tenant-id: {{adminTenantId}} | |
| 6 | 6 | |
| 7 | 7 | { |
| 8 | 8 | "name": "测试角色", |
| ... | ... | @@ -14,7 +14,7 @@ tenant-id: {{adminTenentId}} |
| 14 | 14 | POST {{baseUrl}}/system/role/update |
| 15 | 15 | Authorization: Bearer {{token}} |
| 16 | 16 | Content-Type: application/json |
| 17 | -tenant-id: {{adminTenentId}} | |
| 17 | +tenant-id: {{adminTenantId}} | |
| 18 | 18 | |
| 19 | 19 | { |
| 20 | 20 | "id": 100, |
| ... | ... | @@ -26,7 +26,7 @@ tenant-id: {{adminTenentId}} |
| 26 | 26 | POST {{baseUrl}}/system/role/delete |
| 27 | 27 | Content-Type: application/x-www-form-urlencoded |
| 28 | 28 | Authorization: Bearer {{token}} |
| 29 | -tenant-id: {{adminTenentId}} | |
| 29 | +tenant-id: {{adminTenantId}} | |
| 30 | 30 | |
| 31 | 31 | roleId=14 |
| 32 | 32 | |
| ... | ... | @@ -34,9 +34,9 @@ roleId=14 |
| 34 | 34 | GET {{baseUrl}}/system/role/get?id=100 |
| 35 | 35 | Content-Type: application/x-www-form-urlencoded |
| 36 | 36 | Authorization: Bearer {{token}} |
| 37 | -tenant-id: {{adminTenentId}} | |
| 37 | +tenant-id: {{adminTenantId}} | |
| 38 | 38 | |
| 39 | 39 | ### /role/page 成功 |
| 40 | 40 | GET {{baseUrl}}/system/role/page?pageNo=1&pageSize=10 |
| 41 | 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
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/socail/SocialClientController.http
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/TenantController.http
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserController.http
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserProfileController.http