summaryrefslogtreecommitdiff
path: root/data/goodstech/2019-12-30
diff options
context:
space:
mode:
Diffstat (limited to 'data/goodstech/2019-12-30')
-rw-r--r--data/goodstech/2019-12-30/api-docs.php26
1 files changed, 5 insertions, 21 deletions
diff --git a/data/goodstech/2019-12-30/api-docs.php b/data/goodstech/2019-12-30/api-docs.php
index a745004..83568a6 100644
--- a/data/goodstech/2019-12-30/api-docs.php
+++ b/data/goodstech/2019-12-30/api-docs.php
@@ -1,23 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'goodstech',
- 'version' => '2019-12-30',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'goodstech', 'version' => '2019-12-30'],
'components' => [
'schemas' => [],
],
'apis' => [
'ClassifyCommodity' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -28,18 +18,12 @@
[
'name' => 'ImageURL',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'goodstech.cn-shanghai.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'goodstech.cn-shanghai.aliyuncs.com', 'endpoint' => 'goodstech.cn-shanghai.aliyuncs.com', 'vpc' => 'goodstech-vpc.cn-shanghai.aliyuncs.com'],
],
];