Jay
8 天以前 eca625c35d5ed64c98277d2f83963e46438f50ce
提交 | 用户 | 时间
e7c126 1 ### 请求 /infra/file-config/create 接口 => 成功
H 2 POST {{baseUrl}}/infra/file-config/create
3 Content-Type: application/json
4 tenant-id: {{adminTenentId}}
5 Authorization: Bearer {{token}}
6
7 {
8   "name": "S3 - 七牛云",
9   "remark": "",
10   "storage": 20,
11   "config": {
12     "accessKey": "b7yvuhBSAGjmtPhMFcn9iMOxUOY_I06cA_p0ZUx8",
13     "accessSecret": "kXM1l5ia1RvSX3QaOEcwI3RLz3Y2rmNszWonKZtP",
14     "bucket": "ruoyi-vue-pro",
15     "endpoint": "s3-cn-south-1.qiniucs.com",
16     "domain": "http://test.iailab.iocoder.cn",
17     "region": "oss-cn-beijing"
18   }
19 }
20
21 ### 请求 /infra/file-config/update 接口 => 成功
22 PUT {{baseUrl}}/infra/file-config/update
23 Content-Type: application/json
24 tenant-id: {{adminTenentId}}
25 Authorization: Bearer {{token}}
26
27 {
28   "id": 2,
29   "name": "S3 - 七牛云",
30   "remark": "",
31   "config": {
32     "accessKey": "b7yvuhBSAGjmtPhMFcn9iMOxUOY_I06cA_p0ZUx8",
33     "accessSecret": "kXM1l5ia1RvSX3QaOEcwI3RLz3Y2rmNszWonKZtP",
34     "bucket": "ruoyi-vue-pro",
35     "endpoint": "s3-cn-south-1.qiniucs.com",
36     "domain": "http://test.iailab.iocoder.cn",
37     "region": "oss-cn-beijing"
38   }
39 }
40
41 ### 请求 /infra/file-config/test 接口 => 成功
42 GET {{baseUrl}}/infra/file-config/test?id=2
43 Content-Type: application/json
44 tenant-id: {{adminTenentId}}
45 Authorization: Bearer {{token}}