From 7347bac4ab7e136157fc94777e6cf87ef9e08599 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Fri, 13 Feb 2026 10:54:11 +0800 Subject: first commit --- data/zh_cn/cloudesl/2018-08-01/api-docs.php | 2812 ++++++++++ data/zh_cn/cloudesl/2019-08-01/api-docs.php | 4126 +++++++++++++++ data/zh_cn/cloudesl/2020-02-01/api-docs.php | 7387 +++++++++++++++++++++++++++ 3 files changed, 14325 insertions(+) create mode 100644 data/zh_cn/cloudesl/2018-08-01/api-docs.php create mode 100644 data/zh_cn/cloudesl/2019-08-01/api-docs.php create mode 100644 data/zh_cn/cloudesl/2020-02-01/api-docs.php (limited to 'data/zh_cn/cloudesl') diff --git a/data/zh_cn/cloudesl/2018-08-01/api-docs.php b/data/zh_cn/cloudesl/2018-08-01/api-docs.php new file mode 100644 index 0000000..1696676 --- /dev/null +++ b/data/zh_cn/cloudesl/2018-08-01/api-docs.php @@ -0,0 +1,2812 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'cloudesl', + 'version' => '2018-08-01', + ], + 'directories' => [ + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'ActivateApService', + 'BindApStoreService', + 'BindEslDevice', + 'BatchInsertItems', + 'BindEslDeviceShelf', + 'CreateStore', + 'DeleteApService', + 'DeleteEslDevice', + 'DeleteItem', + 'DeleteItemBySkuId', + 'DeleteStore', + 'DescribeAlarms', + 'DescribeCompany', + 'DescribeEslDevices', + 'DescribeItems', + 'DescribeStores', + 'DescribeUserOperationLog', + 'DescribeUserRamPolicy', + 'SearchApService', + 'UnbindEslDevice', + 'UnbindEslDeviceShelf', + 'UpdateStore', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'ActivateApService' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'description' => '门店ID。', + 'type' => 'string', + 'required' => true, + 'example' => 's-sds1233****', + ], + ], + [ + 'name' => 'ApMac', + 'in' => 'query', + 'schema' => [ + 'description' => 'AP的mac地址。', + 'type' => 'string', + 'required' => true, + 'example' => '23sdsf343****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '123-1212-sdfsf2', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'ERROR', + ], + 'Success' => [ + 'description' => '请求状态标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"123-1212-sdfsf2\\",\\n \\"ErrorCode\\": \\"ERROR\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n\\n success\\n A7E52C64-959B-4452-8479-DEE18346A9B8\\n true\\n \\n ","errorExample":""}]', + 'title' => '激活基站设备', + 'summary' => '激活云价签基站设备。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'BindApStoreService' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ApMac', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'BindEslDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'description' => '门店ID', + 'type' => 'string', + 'required' => true, + 'example' => 's-eakv0a21k6', + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'query', + 'schema' => [ + 'description' => '价签条码', + 'type' => 'string', + 'required' => true, + 'example' => '1234567', + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'query', + 'schema' => [ + 'description' => '商品条码', + 'type' => 'string', + 'required' => true, + 'example' => '755439', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '出错提示消息', + 'type' => 'string', + 'example' => '未找到对应商品', + ], + 'RequestId' => [ + 'description' => '请求ID', + 'type' => 'string', + 'example' => 'dFDAA-FB4A-46C5-8C04-89ACCDC62514', + ], + 'ErrorCode' => [ + 'description' => '错误码', + 'type' => 'string', + 'example' => 'No.Find.Item', + ], + 'Success' => [ + 'description' => '是否成功', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"未找到对应商品\\",\\n \\"RequestId\\": \\"dFDAA-FB4A-46C5-8C04-89ACCDC62514\\",\\n \\"ErrorCode\\": \\"No.Find.Item\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '绑定价签设备', + 'summary' => '把商品绑定到指定价签设备上进行显示,一旦该接口调用成功,对应价签设备就会被添加到调用时的门店里面。', + ], + 'BatchInsertItems' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ItemInfo', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActionPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ItemTitle' => [ + 'type' => 'string', + ], + 'BrandName' => [ + 'type' => 'string', + ], + 'CustomizeFeatureH' => [ + 'type' => 'string', + ], + 'PriceUnit' => [ + 'type' => 'string', + ], + 'SourceCode' => [ + 'type' => 'string', + ], + 'OriginalPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ForestFirstId' => [ + 'type' => 'string', + ], + 'CustomizeFeatureI' => [ + 'type' => 'string', + ], + 'ProductionPlace' => [ + 'type' => 'string', + ], + 'ItemShortTitle' => [ + 'type' => 'string', + ], + 'CustomizeFeatureB' => [ + 'type' => 'string', + ], + 'CustomizeFeatureF' => [ + 'type' => 'string', + ], + 'CustomizeFeatureA' => [ + 'type' => 'string', + ], + 'EnergyEfficiency' => [ + 'type' => 'string', + ], + 'CustomizeFeatureD' => [ + 'type' => 'string', + ], + 'MemberPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PromotionStart' => [ + 'type' => 'string', + ], + 'ModelNumber' => [ + 'type' => 'string', + ], + 'CustomizeFeatureC' => [ + 'type' => 'string', + ], + 'ItemId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CompanyId' => [ + 'type' => 'string', + ], + 'CategoryName' => [ + 'type' => 'string', + ], + 'CustomizeFeatureE' => [ + 'type' => 'string', + ], + 'SuggestPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'ExtraAttribute' => [ + 'type' => 'string', + ], + 'SaleSpec' => [ + 'type' => 'string', + ], + 'PromotionText' => [ + 'type' => 'string', + ], + 'CustomizeFeatureJ' => [ + 'type' => 'string', + ], + 'OptionGroups' => [ + 'type' => 'string', + ], + 'Rank' => [ + 'type' => 'string', + ], + 'SkuId' => [ + 'type' => 'string', + ], + 'PromotionReason' => [ + 'type' => 'string', + ], + 'BePromotion' => [ + 'type' => 'boolean', + ], + 'BeSourceCode' => [ + 'type' => 'boolean', + ], + 'ItemQrCode' => [ + 'type' => 'string', + ], + 'ForestSecondId' => [ + 'type' => 'string', + ], + 'ItemBarCode' => [ + 'type' => 'string', + ], + 'PromotionEnd' => [ + 'type' => 'string', + ], + 'CustomizeFeatureG' => [ + 'type' => 'string', + ], + ], + ], + 'required' => true, + 'maxItems' => 500, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'BatchResults' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'BatchResult' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Message' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'BindEslDeviceShelf' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'description' => '商家ID', + 'type' => 'string', + 'required' => true, + 'example' => 's-eakv0a21k6', + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'query', + 'schema' => [ + 'description' => '价签条码', + 'type' => 'string', + 'required' => true, + 'example' => '1234567', + ], + ], + [ + 'name' => 'ShelfCode', + 'in' => 'query', + 'schema' => [ + 'description' => '货架条码', + 'type' => 'string', + 'required' => true, + 'example' => '8765', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '出错提示消息', + 'type' => 'string', + 'example' => '找不到对应的价签设备', + ], + 'RequestId' => [ + 'description' => '请求ID', + 'type' => 'string', + 'example' => 'dFDAA-FB4A-46C5-8C04-89ACCDC62514', + ], + 'ErrorCode' => [ + 'description' => '错误码', + 'type' => 'string', + 'example' => 'No.Find.Device', + ], + 'Success' => [ + 'description' => '是否成功', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"找不到对应的价签设备\\",\\n \\"RequestId\\": \\"dFDAA-FB4A-46C5-8C04-89ACCDC62514\\",\\n \\"ErrorCode\\": \\"No.Find.Device\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '绑定货架', + 'summary' => '绑定价签和货架关系。', + 'description' => '绑定货架', + ], + 'CreateStore' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'CompanyId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'StoreName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Brand', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OutId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Groups', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Comments', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ParentId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Phone', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'StoreId' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DeleteApService' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ApMac', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DeleteEslDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DeleteItem' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DeleteItemBySkuId' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'SkuId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DeleteStore' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeAlarms' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'AlarmId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'AlarmType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ErrorType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'AlarmStatus', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'FromAlarmTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ToAlarmTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'default' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Alarms' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'AlarmInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AlarmStatus' => [ + 'type' => 'string', + ], + 'ItemTitle' => [ + 'type' => 'string', + ], + 'DeviceType' => [ + 'type' => 'string', + ], + 'DeviceBarCode' => [ + 'type' => 'string', + ], + 'AlarmType' => [ + 'type' => 'string', + ], + 'CompanyId' => [ + 'type' => 'string', + ], + 'Vendor' => [ + 'type' => 'string', + ], + 'DealTime' => [ + 'type' => 'string', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'Model' => [ + 'type' => 'string', + ], + 'DeviceMac' => [ + 'type' => 'string', + ], + 'AlarmTime' => [ + 'type' => 'string', + ], + 'DealUserId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AlarmId' => [ + 'type' => 'string', + ], + 'ErrorType' => [ + 'type' => 'string', + ], + 'ItemBarCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeCompany' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Platform' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'CompanyId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeEslDevices' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Mac', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Vendor', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ShelfCode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'default' => '10', + ], + ], + [ + 'name' => 'FromBatteryLevel', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + ], + ], + [ + 'name' => 'ToBatteryLevel', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + ], + ], + [ + 'name' => 'BeBind', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'EslDevices' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'EslDeviceInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ShelfCode' => [ + 'type' => 'string', + ], + 'Type' => [ + 'type' => 'string', + ], + 'EslBarCode' => [ + 'type' => 'string', + ], + 'LastCommunicateTime' => [ + 'type' => 'string', + ], + 'ItemTitle' => [ + 'type' => 'string', + ], + 'ScreenHeight' => [ + 'type' => 'string', + ], + 'ItemId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CompanyId' => [ + 'type' => 'string', + ], + 'BatteryLevel' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Vendor' => [ + 'type' => 'string', + ], + 'Mac' => [ + 'type' => 'string', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'Model' => [ + 'type' => 'string', + ], + 'ItemActionPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ScreenWidth' => [ + 'type' => 'string', + ], + 'BeBind' => [ + 'type' => 'string', + ], + 'ItemBarCode' => [ + 'type' => 'string', + ], + 'ItemPriceUnit' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeItems' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ItemId', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'ItemTitle', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'SkuId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'BePromotion', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'default' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Items' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ItemInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActionPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ItemTitle' => [ + 'type' => 'string', + ], + 'CustomizeFeatureH' => [ + 'type' => 'string', + ], + 'BrandName' => [ + 'type' => 'string', + ], + 'SourceCode' => [ + 'type' => 'string', + ], + 'PriceUnit' => [ + 'type' => 'string', + ], + 'OriginalPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ForestFirstId' => [ + 'type' => 'string', + ], + 'CustomizeFeatureI' => [ + 'type' => 'string', + ], + 'ProductionPlace' => [ + 'type' => 'string', + ], + 'CustomizeFeatureB' => [ + 'type' => 'string', + ], + 'ItemShortTitle' => [ + 'type' => 'string', + ], + 'CustomizeFeatureF' => [ + 'type' => 'string', + ], + 'CustomizeFeatureA' => [ + 'type' => 'string', + ], + 'EnergyEfficiency' => [ + 'type' => 'string', + ], + 'CustomizeFeatureD' => [ + 'type' => 'string', + ], + 'MemberPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PromotionStart' => [ + 'type' => 'string', + ], + 'ModelNumber' => [ + 'type' => 'string', + ], + 'CustomizeFeatureC' => [ + 'type' => 'string', + ], + 'ItemId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CompanyId' => [ + 'type' => 'string', + ], + 'CategoryName' => [ + 'type' => 'string', + ], + 'CustomizeFeatureE' => [ + 'type' => 'string', + ], + 'SuggestPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ExtraAttribute' => [ + 'type' => 'string', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'SaleSpec' => [ + 'type' => 'string', + ], + 'PromotionText' => [ + 'type' => 'string', + ], + 'CustomizeFeatureJ' => [ + 'type' => 'string', + ], + 'OptionGroups' => [ + 'type' => 'string', + ], + 'BePromotion' => [ + 'type' => 'boolean', + ], + 'PromotionReason' => [ + 'type' => 'string', + ], + 'SkuId' => [ + 'type' => 'string', + ], + 'Rank' => [ + 'type' => 'string', + ], + 'BeSourceCode' => [ + 'type' => 'boolean', + ], + 'ForestSecondId' => [ + 'type' => 'string', + ], + 'ItemQrCode' => [ + 'type' => 'string', + ], + 'CustomizeFeatureG' => [ + 'type' => 'string', + ], + 'PromotionEnd' => [ + 'type' => 'string', + ], + 'ItemBarCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeStores' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StoreName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Brand', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Groups', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'FromDate', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ToDate', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'default' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Stores' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'StoreInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Brand' => [ + 'type' => 'string', + ], + 'OutId' => [ + 'type' => 'string', + ], + 'CompanyId' => [ + 'type' => 'string', + ], + 'StoreName' => [ + 'type' => 'string', + ], + 'GmtModified' => [ + 'type' => 'string', + ], + 'Phone' => [ + 'type' => 'string', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'ParentId' => [ + 'type' => 'string', + ], + 'Groups' => [ + 'type' => 'string', + ], + 'Comments' => [ + 'type' => 'string', + ], + 'GmtCreate' => [ + 'type' => 'string', + ], + 'Level' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeUserOperationLog' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ItemId', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'ItemTitle', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OperateType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OperateStatus', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OperateUserId', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'FromDate', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ToDate', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Reverse', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + 'default' => 'false', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '1', + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'default' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'OperationLogs' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'OperationLogInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ShelfCode' => [ + 'type' => 'string', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'OperateTime' => [ + 'type' => 'string', + ], + 'EslBarCode' => [ + 'type' => 'string', + ], + 'OperateType' => [ + 'type' => 'string', + ], + 'ItemActionPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ItemTitle' => [ + 'type' => 'string', + ], + 'OperateUserId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ItemId' => [ + 'type' => 'string', + ], + 'OperateStatus' => [ + 'type' => 'string', + ], + 'ItemBarCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeUserRamPolicy' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'UserType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'enum' => [ + 'company_admin', + 'store_admin', + 'client_operator', + ], + ], + ], + [ + 'name' => 'CompanyId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'Policy' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'SearchApService' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ApMac', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Activated', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Items' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ApInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'type' => 'boolean', + ], + 'IsActivate' => [ + 'type' => 'boolean', + ], + 'Model' => [ + 'type' => 'string', + ], + 'Mac' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'UnbindEslDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'UnbindEslDeviceShelf' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'UpdateStore' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'StoreName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Brand', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OutId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Groups', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Comments', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Phone', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'ap-northeast-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-2-pop', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-south-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-2', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-finance-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-finance-pop', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-gov-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-nu16-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-chengdu', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-edge-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-fujian', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-haidian-cm12-c01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-bj-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-finance', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-prod-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-2', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-3', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-test-306', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong-finance-pop', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-huhehaote', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-north-2-gov-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao-nebula', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-et15-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-et2-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-inner', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-internal-test-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-finance-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-inner', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-st4-d01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-su18-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wuhan', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-yushanfang', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangbei-na61-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou-na62-a01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhengzhou-nebula-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1-oxs', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'me-east-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'rus-west-1-pop', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'cloudesl.cn-hangzhou.aliyuncs.com', + ], + ], +]; diff --git a/data/zh_cn/cloudesl/2019-08-01/api-docs.php b/data/zh_cn/cloudesl/2019-08-01/api-docs.php new file mode 100644 index 0000000..d9a3337 --- /dev/null +++ b/data/zh_cn/cloudesl/2019-08-01/api-docs.php @@ -0,0 +1,4126 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'cloudesl', + 'version' => '2019-08-01', + ], + 'directories' => [ + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'ActivateApDevice', + 'AddEslDevice', + 'AddApDevice', + 'AddUser', + 'AssignUser', + 'BatchInsertItems', + 'BindEslDevice', + 'BindEslDeviceShelf', + 'CreateStore', + 'DeleteApDevice', + 'DeleteEslDevice', + 'DeleteItem', + 'DeleteItemBySkuId', + 'DeleteStore', + 'DeleteUser', + 'DescribeAlarms', + 'DescribeApDevices', + 'DescribeEslDevices', + 'DescribeItems', + 'DescribePlanogramRails', + 'DescribeStores', + 'DescribeUserLog', + 'DescribeUsers', + 'GetCompany', + 'GetUser', + 'MapPlanogramRail', + 'RefreshTaobaoItem', + 'UnassignUser', + 'UnbindEslDevice', + 'UnbindEslDeviceShelf', + 'UnmapPlanogramRail', + 'UpdateEslDeviceLight', + 'UpdateStore', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'ActivateApDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'ApMac', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'AddEslDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'AddApDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ApMac', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'AddUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '用户id', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'user1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求状态标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。取值说明如下:请求成功:不返回ErrorCode字段。 请求失败:返回ErrorCode字段。具体信息,请参见本文的错误码列表。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => 'HTTP状态码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '响应消息,若成功请求为success', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数ErrMessage错误信息中的%s。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '与本次请求相关的动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","type":"json"}]', + 'title' => 'AddUser', + 'summary' => '增加用户信息。', + ], + 'AssignUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'Stores', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'UserType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'BatchInsertItems' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ItemInfo', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActionPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ItemTitle' => [ + 'type' => 'string', + ], + 'BrandName' => [ + 'type' => 'string', + ], + 'CustomizeFeatureH' => [ + 'type' => 'string', + ], + 'PriceUnit' => [ + 'type' => 'string', + ], + 'SourceCode' => [ + 'type' => 'string', + ], + 'OriginalPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ForestFirstId' => [ + 'type' => 'string', + ], + 'CustomizeFeatureI' => [ + 'type' => 'string', + ], + 'ProductionPlace' => [ + 'type' => 'string', + ], + 'ItemShortTitle' => [ + 'type' => 'string', + ], + 'CustomizeFeatureB' => [ + 'type' => 'string', + ], + 'CustomizeFeatureF' => [ + 'type' => 'string', + ], + 'CustomizeFeatureA' => [ + 'type' => 'string', + ], + 'EnergyEfficiency' => [ + 'type' => 'string', + ], + 'CustomizeFeatureD' => [ + 'type' => 'string', + ], + 'MemberPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PromotionStart' => [ + 'type' => 'string', + ], + 'ModelNumber' => [ + 'type' => 'string', + ], + 'CustomizeFeatureC' => [ + 'type' => 'string', + ], + 'CompanyId' => [ + 'type' => 'string', + ], + 'ItemId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CategoryName' => [ + 'type' => 'string', + ], + 'CustomizeFeatureE' => [ + 'type' => 'string', + ], + 'SuggestPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'ExtraAttribute' => [ + 'type' => 'string', + ], + 'SaleSpec' => [ + 'type' => 'string', + ], + 'PromotionText' => [ + 'type' => 'string', + ], + 'CustomizeFeatureJ' => [ + 'type' => 'string', + ], + 'OptionGroups' => [ + 'type' => 'string', + ], + 'PromotionReason' => [ + 'type' => 'string', + ], + 'BePromotion' => [ + 'type' => 'boolean', + ], + 'SkuId' => [ + 'type' => 'string', + ], + 'Rank' => [ + 'type' => 'string', + ], + 'BeSourceCode' => [ + 'type' => 'boolean', + ], + 'ItemQrCode' => [ + 'type' => 'string', + ], + 'ForestSecondId' => [ + 'type' => 'string', + ], + 'ItemInfoIndex' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ItemBarCode' => [ + 'type' => 'string', + ], + 'PromotionEnd' => [ + 'type' => 'string', + ], + 'CustomizeFeatureG' => [ + 'type' => 'string', + ], + ], + ], + 'required' => true, + 'maxItems' => 500, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'BatchResults' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'BatchResult' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Message' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'BindEslDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'BindEslDeviceShelf' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ShelfCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'CreateStore' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'Groups', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ParentId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Comments', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'CompanyId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Phone', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'StoreName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'OutId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Brand', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'StoreId' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DeleteApDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'ApMac', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DeleteEslDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DeleteItem' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DeleteItemBySkuId' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'SkuId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DeleteStore' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DeleteUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeAlarms' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'AlarmId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'ErrorType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ToAlarmTime', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'AlarmType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'AlarmStatus', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'FromAlarmTime', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'Alarms' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'AlarmInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AlarmStatus' => [ + 'type' => 'string', + ], + 'ItemTitle' => [ + 'type' => 'string', + ], + 'DeviceType' => [ + 'type' => 'string', + ], + 'DeviceBarCode' => [ + 'type' => 'string', + ], + 'CompanyId' => [ + 'type' => 'string', + ], + 'AlarmType' => [ + 'type' => 'string', + ], + 'Vendor' => [ + 'type' => 'string', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'DealTime' => [ + 'type' => 'string', + ], + 'DeviceMac' => [ + 'type' => 'string', + ], + 'Model' => [ + 'type' => 'string', + ], + 'AlarmTime' => [ + 'type' => 'string', + ], + 'DealUserId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ErrorType' => [ + 'type' => 'string', + ], + 'AlarmId' => [ + 'type' => 'string', + ], + 'ItemBarCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeApDevices' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'ApMac', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'Activated', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'ApDevices' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ApInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'type' => 'boolean', + ], + 'Model' => [ + 'type' => 'string', + ], + 'IsActivate' => [ + 'type' => 'boolean', + ], + 'Mac' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeEslDevices' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'Mac', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Type', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'BeBind', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'Vendor', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ToBatteryLevel', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'ShelfCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'EslStatus', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'FromBatteryLevel', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'EslDevices' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'EslDeviceInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ShelfCode' => [ + 'type' => 'string', + ], + 'Type' => [ + 'type' => 'string', + ], + 'EslBarCode' => [ + 'type' => 'string', + ], + 'LastCommunicateTime' => [ + 'type' => 'string', + ], + 'ItemTitle' => [ + 'type' => 'string', + ], + 'ScreenHeight' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ConnectAp' => [ + 'type' => 'string', + ], + 'PositionCode' => [ + 'type' => 'string', + ], + 'CompanyId' => [ + 'type' => 'string', + ], + 'ItemId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'BatteryLevel' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Vendor' => [ + 'type' => 'string', + ], + 'Mac' => [ + 'type' => 'string', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'Model' => [ + 'type' => 'string', + ], + 'ItemActionPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ScreenWidth' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'BeBind' => [ + 'type' => 'boolean', + ], + 'EslStatus' => [ + 'type' => 'string', + ], + 'ItemBarCode' => [ + 'type' => 'string', + ], + 'ItemPriceUnit' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeItems' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'ItemTitle', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'SkuId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ItemId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'BePromotion', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'Items' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ItemInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActionPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ItemTitle' => [ + 'type' => 'string', + ], + 'BrandName' => [ + 'type' => 'string', + ], + 'CustomizeFeatureH' => [ + 'type' => 'string', + ], + 'PriceUnit' => [ + 'type' => 'string', + ], + 'SourceCode' => [ + 'type' => 'string', + ], + 'OriginalPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ForestFirstId' => [ + 'type' => 'string', + ], + 'CustomizeFeatureI' => [ + 'type' => 'string', + ], + 'ProductionPlace' => [ + 'type' => 'string', + ], + 'ItemShortTitle' => [ + 'type' => 'string', + ], + 'CustomizeFeatureB' => [ + 'type' => 'string', + ], + 'CustomizeFeatureF' => [ + 'type' => 'string', + ], + 'CustomizeFeatureA' => [ + 'type' => 'string', + ], + 'EnergyEfficiency' => [ + 'type' => 'string', + ], + 'MemberPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'CustomizeFeatureD' => [ + 'type' => 'string', + ], + 'PromotionStart' => [ + 'type' => 'string', + ], + 'ModelNumber' => [ + 'type' => 'string', + ], + 'CustomizeFeatureC' => [ + 'type' => 'string', + ], + 'CompanyId' => [ + 'type' => 'string', + ], + 'ItemId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CategoryName' => [ + 'type' => 'string', + ], + 'CustomizeFeatureE' => [ + 'type' => 'string', + ], + 'SuggestPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ExtraAttribute' => [ + 'type' => 'string', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'SaleSpec' => [ + 'type' => 'string', + ], + 'PromotionText' => [ + 'type' => 'string', + ], + 'CustomizeFeatureJ' => [ + 'type' => 'string', + ], + 'OptionGroups' => [ + 'type' => 'string', + ], + 'BePromotion' => [ + 'type' => 'boolean', + ], + 'PromotionReason' => [ + 'type' => 'string', + ], + 'Rank' => [ + 'type' => 'string', + ], + 'SkuId' => [ + 'type' => 'string', + ], + 'BeSourceCode' => [ + 'type' => 'boolean', + ], + 'ForestSecondId' => [ + 'type' => 'string', + ], + 'ItemQrCode' => [ + 'type' => 'string', + ], + 'ItemInfoIndex' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ItemBarCode' => [ + 'type' => 'string', + ], + 'CustomizeFeatureG' => [ + 'type' => 'string', + ], + 'PromotionEnd' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribePlanogramRails' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'RailCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Shelf', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Layer', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PlanogramRailInfos' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Shelf' => [ + 'type' => 'string', + ], + 'GapUnit' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'RailCode' => [ + 'type' => 'string', + ], + 'Layer' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeStores' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'StoreName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Brand', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ToDate', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'FromDate', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'CompanyId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'Stores' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'StoreInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OutId' => [ + 'type' => 'string', + ], + 'Brand' => [ + 'type' => 'string', + ], + 'StoreName' => [ + 'type' => 'string', + ], + 'CompanyId' => [ + 'type' => 'string', + ], + 'GmtModified' => [ + 'type' => 'string', + ], + 'Phone' => [ + 'type' => 'string', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'ParentId' => [ + 'type' => 'string', + ], + 'Groups' => [ + 'type' => 'string', + ], + 'GmtCreate' => [ + 'type' => 'string', + ], + 'Comments' => [ + 'type' => 'string', + ], + 'Level' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeUserLog' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'OperateUserId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'FromDate', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ItemId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'OperateType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Reverse', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'OperateStatus', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ToDate', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'ItemTitle', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'UserLogs' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UserLogInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ShelfCode' => [ + 'type' => 'string', + ], + 'OperateTime' => [ + 'type' => 'string', + ], + 'EslBarCode' => [ + 'type' => 'string', + ], + 'ItemTitle' => [ + 'type' => 'string', + ], + 'ItemId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Mac' => [ + 'type' => 'string', + ], + 'StoreId' => [ + 'type' => 'string', + ], + 'OperateType' => [ + 'type' => 'string', + ], + 'ItemActionPrice' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'OperateUserId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'OperateStatus' => [ + 'type' => 'string', + ], + 'ItemBarCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeUsers' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'UserType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'UserName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'Users' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UserInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UserType' => [ + 'type' => 'string', + ], + 'Stores' => [ + 'type' => 'string', + ], + 'UserName' => [ + 'type' => 'string', + ], + 'UserId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'GetCompany' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'CompanyType' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'CompanyId' => [ + 'type' => 'string', + ], + 'Bid' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'OwnerId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'GetUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'User' => [ + 'type' => 'object', + 'properties' => [ + 'UserType' => [ + 'type' => 'string', + ], + 'Stores' => [ + 'type' => 'string', + ], + 'UserName' => [ + 'type' => 'string', + ], + 'UserId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'MapPlanogramRail' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'RailCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Layer', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Shelf', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'RefreshTaobaoItem' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'SkuId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OuterId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'TaobaoItemId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'UnassignUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'UnbindEslDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'UnbindEslDeviceShelf' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'UnmapPlanogramRail' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'RailCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'UpdateEslDeviceLight' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'LedColor', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Frequency', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'LightUpTime', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'FailCount' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'FailEslBarCodes' => [ + 'type' => 'string', + ], + 'SuccessCount' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'UpdateStore' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'StoreName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OutId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Brand', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Groups', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Comments', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Phone', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'ap-northeast-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-2-pop', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-south-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-2', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-finance-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-finance-pop', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-gov-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-nu16-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-chengdu', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-edge-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-fujian', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-haidian-cm12-c01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-bj-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-finance', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-prod-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-2', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-3', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-test-306', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong-finance-pop', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-huhehaote', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-north-2-gov-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao-nebula', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-et15-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-et2-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-inner', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-internal-test-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-finance-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-inner', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-st4-d01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-su18-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wuhan', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-yushanfang', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangbei-na61-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou-na62-a01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhengzhou-nebula-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1-oxs', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'me-east-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'rus-west-1-pop', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'cloudesl.cn-hangzhou.aliyuncs.com', + ], + ], +]; diff --git a/data/zh_cn/cloudesl/2020-02-01/api-docs.php b/data/zh_cn/cloudesl/2020-02-01/api-docs.php new file mode 100644 index 0000000..ef5edc3 --- /dev/null +++ b/data/zh_cn/cloudesl/2020-02-01/api-docs.php @@ -0,0 +1,7387 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'cloudesl', + 'version' => '2020-02-01', + ], + 'directories' => [ + [ + 'id' => 149062, + 'title' => '价签设备', + 'type' => 'directory', + 'children' => [ + 'BindEslDevice', + 'UnbindEslDevice', + 'UpdateEslDeviceLight', + 'DescribeBinders', + 'DescribeEslDevice', + 'DescribeEslDevices', + ], + ], + [ + 'id' => 149069, + 'title' => '门店', + 'type' => 'directory', + 'children' => [ + 'CreateStore', + 'DeleteStore', + 'UpdateStore', + 'UpdateStoreConfig', + 'DescribeStores', + 'DescribeStoreConfig', + ], + ], + [ + 'id' => 149076, + 'title' => '商品', + 'type' => 'directory', + 'children' => [ + 'DeleteItem', + 'BatchInsertItems', + 'DescribeItems', + ], + ], + [ + 'id' => 149080, + 'title' => '用户', + 'type' => 'directory', + 'children' => [ + 'AddUser', + 'DeleteUser', + 'AssignUser', + 'UnassignUser', + 'DescribeUserLog', + 'DescribeUsers', + 'GetUser', + ], + ], + [ + 'id' => 149088, + 'title' => '基站设备', + 'type' => 'directory', + 'children' => [ + 'AddApDevice', + 'DeleteApDevice', + 'ActivateApDevice', + 'DescribeApDevices', + ], + ], + [ + 'id' => 362556, + 'title' => '其他', + 'type' => 'directory', + 'children' => [ + 'ApplyCompanyTemplateVersionToStores', + 'DescribeStoreByTemplateVersion', + 'DescribeCompanyTemplateVersions', + 'DescribeEslModelByTemplateVersion', + 'DescribeTemplateByModel', + 'DescribeAvailableEslModels', + 'DeleteCompanyTemplate', + 'AddCompanyTemplate', + 'SyncAddMaterial', + 'QueryTemplateListByGroupId', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'BindEslDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '商品条码。', + 'type' => 'string', + 'required' => false, + 'example' => '690560583****', + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '价签条码。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '18bc5a63****', + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'Shelf', + 'in' => 'formData', + 'schema' => [ + 'description' => '陈列系统中的货架号。', + 'type' => 'string', + 'required' => false, + 'example' => '20200201', + ], + ], + [ + 'name' => 'Layer', + 'in' => 'formData', + 'schema' => [ + 'description' => '陈列系统中的层号。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Column', + 'in' => 'formData', + 'schema' => [ + 'description' => '陈列系统中的逻辑列。', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '扩展参数', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + [ + 'name' => 'LayoutId', + 'in' => 'formData', + 'schema' => [ + 'description' => '布局ID。仅支持传单个ID。', + 'type' => 'string', + 'required' => false, + 'example' => '7', + ], + ], + [ + 'name' => 'ContainerId', + 'in' => 'formData', + 'schema' => [ + 'description' => '容器id', + 'type' => 'string', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'ContainerName', + 'in' => 'formData', + 'schema' => [ + 'description' => '容器名称。', + 'type' => 'string', + 'required' => false, + 'example' => '区域4号', + ], + ], + [ + 'name' => 'LayoutName', + 'in' => 'formData', + 'schema' => [ + 'description' => '布局名称。', + 'type' => 'string', + 'required' => false, + 'example' => '布局2号', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 418 => [ + [ + 'errorCode' => 'LayoutOrContainerIsNotExistErrorPub', + 'errorMessage' => 'Layout or Container is not exist.', + ], + [ + 'errorCode' => 'ContainerTemplateNoMatchPub', + 'errorMessage' => 'The Template of the Container has not match at all.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 8F124625-DF0A-4B08-B205-2CF538FAF713\\n true\\n\\n8F124625-DF0A-4B08-B205-2CF538FAF713\\ntrue","errorExample":""}]', + 'title' => '绑定价签设备', + 'summary' => '绑定价签设备。', + 'description' => '该接口分为陈列模式和普通模式两种。陈列模式是用陈列货位和价签条码进行绑定,普通模式是用商品条码和价签条码进行绑定。', + 'requestParamsDescription' => ' 普通绑定模式下,StoreId+EslBarCode+ItemBarCode必填;'."\n" + .'陈列绑定模式下,StoreId+EslBarCode+Shelf+Layer+Column必填,ItemBarCode如果填写要和陈列货位上的信息保存一致。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'UnbindEslDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '价签条码。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '18bc5a63****', + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '商品条码。', + 'type' => 'string', + 'required' => false, + 'example' => '690560583****', + ], + ], + [ + 'name' => 'Column', + 'in' => 'formData', + 'schema' => [ + 'description' => '陈列系统的逻辑列。', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'Shelf', + 'in' => 'formData', + 'schema' => [ + 'description' => '陈列系统的货架号。', + 'type' => 'string', + 'required' => false, + 'example' => '20200201', + ], + ], + [ + 'name' => 'Layer', + 'in' => 'formData', + 'schema' => [ + 'description' => '陈列系统的层号。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '扩展参数', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + [ + 'name' => 'ContainerName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 8F124625-DF0A-4B08-B205-2CF538FAF713\\n true\\n\\n8F124625-DF0A-4B08-B205-2CF538FAF713\\ntrue","errorExample":""}]', + 'title' => '解绑价签设备', + 'summary' => '解绑价签设备。', + 'description' => '该接口分为陈列模式和普通模式两种。陈列模式是用陈列货位和价签条码进行解绑,普通模式是用商品条码和价签条码进行解绑。', + 'requestParamsDescription' => '普通模式下,StoreId+EslBarCode必填; 陈列模式下,StoreId+EslBarCode+Shelf+Layer+Column必填,当前货位上要有入参的EslBarCode,ItemBarCode如果填写要和陈列货位上的信息保存一致。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'UpdateEslDeviceLight' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'LedColor', + 'in' => 'formData', + 'schema' => [ + 'description' => '亮灯颜色,可选值:'."\n" + ."\n" + .'- `GREEN`:绿色'."\n" + ."\n" + .'- `RED`:红色'."\n" + ."\n" + .'- `BLUE`:蓝色'."\n" + ."\n" + .'- `OFF`:关闭。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'GREEN', + ], + ], + [ + 'name' => 'Frequency', + 'in' => 'formData', + 'schema' => [ + 'description' => '亮灯频率,可选值:'."\n" + ."\n" + .'- `ALWAYS`:持续亮灯'."\n" + ."\n" + .'- `HEIGHT`:高频率亮灯'."\n" + ."\n" + .'- `MIDDLE`:中频率亮灯'."\n" + ."\n" + .'- `NORMAL`:正常频率亮灯。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'NORMAL', + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '商品条码。', + 'type' => 'string', + 'required' => false, + 'example' => '6905605836648', + ], + ], + [ + 'name' => 'LightUpTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '亮灯时长,单位:s,取值大于1。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '30', + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '价签条码。', + 'type' => 'string', + 'required' => false, + 'example' => '18bc5a631ak9', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '扩展参数', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'POP请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => 'POP请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'FailCount' => [ + 'description' => '失败数量。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'SuccessCount' => [ + 'description' => '成功数量。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'LightFailEslInfos' => [ + 'description' => '失败价签信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EslBarCode' => [ + 'description' => '价签条码', + 'type' => 'string', + 'example' => '18bc5a63****', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified ESL device does not exist.', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"FailCount\\": 0,\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"SuccessCount\\": 1,\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"LightFailEslInfos\\": [\\n {\\n \\"EslBarCode\\": \\"18bc5a63****\\",\\n \\"ErrorMessage\\": \\"The specified ESL device does not exist.\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 8F124625-DF0A-4B08-B205-2CF538FAF713\\n true\\n\\n8F124625-DF0A-4B08-B205-2CF538FAF713\\ntrue","errorExample":""}]', + 'title' => '操作价签的Led灯', + 'summary' => '操作价签的Led灯,进行频率和色彩的变换。', + 'requestParamsDescription' => ' ItemBarCode和EslBarCode二选一,两个都填时EslBarCode优先级比较高。'."\n" + .'只填EslBarCode时,点亮单个价签。'."\n" + .'只填ItemBarCode时,点亮该商品条码绑定的所有价签。', + 'responseParamsDescription' => ' 使用EslBarCode点亮时,返回成功或失败;'."\n" + .'使用ItemBarCode点亮时,返回成功数量和失败数量,以及失败的价签信息。', + 'extraInfo' => ' ', + ], + 'DescribeBinders' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '商品条码', + 'type' => 'string', + 'required' => false, + 'example' => '690560583****', + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '价签条码,使用门店ID+价签条码查询时,不用填写货架号和层号。', + 'type' => 'string', + 'required' => false, + 'example' => '18bc5a63****', + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ItemTitle', + 'in' => 'formData', + 'schema' => [ + 'description' => '商品名称。', + 'type' => 'string', + 'required' => false, + 'example' => '纯牛奶', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:每页显示条数,默认值10。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6E0FF7FA-3F89-598F-9BF2-57DF480FE111', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '是否成功', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。取值说明如下:请求成功:不返回ErrorCode字段。 请求失败:返回ErrorCode字段。具体信息,请参见本文的错误码目录。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '后端错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '返回信息。', + 'type' => 'string', + 'example' => 'null', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的%s。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'PageNumber' => [ + 'description' => '分页参数:当前页码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '分页参数:每页显示条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'description' => '总数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '24', + ], + 'DynamicCode' => [ + 'description' => '错误代码', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'EslItemBindInfos' => [ + 'description' => '绑定信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EslBarCode' => [ + 'description' => '价签条码,使用门店ID+价签条码查询时,不用填写货架号和层号。', + 'type' => 'string', + 'example' => '18bc5a63****', + ], + 'TemplateSceneId' => [ + 'description' => '自定义模板ID', + 'type' => 'string', + 'example' => '123456', + ], + 'ActionPrice' => [ + 'description' => '实际销售价格(单位:分)。', + 'type' => 'string', + 'example' => '690', + ], + 'ItemTitle' => [ + 'description' => '商品名称。', + 'type' => 'string', + 'example' => '麦麸吐司', + ], + 'PromotionStart' => [ + 'description' => '促销开始时间 UTC格式 "yyyy-MM-dd\'T\'HH:mm:ss\'Z\'"。', + 'type' => 'string', + 'example' => '2020-03-16T07:05:34Z', + ], + 'PriceUnit' => [ + 'description' => '计价单位,最长64个字符;', + 'type' => 'string', + 'example' => '187', + ], + 'OriginalPrice' => [ + 'description' => '原价(单位:分)。', + 'type' => 'string', + 'example' => '500', + ], + 'ItemId' => [ + 'description' => '自定义商品条码。', + 'type' => 'string', + 'example' => '1234567', + ], + 'GmtModified' => [ + 'description' => '修改时间。', + 'type' => 'string', + 'example' => '1656469716000', + ], + 'EslPic' => [ + 'description' => '价签显示图片,请使用Base64解码工具解码成图片。', + 'type' => 'string', + 'example' => 'kUzlfuzgayDo5uTXW3D66Q', + ], + 'StoreId' => [ + 'description' => '门店ID。', + 'type' => 'string', + 'example' => 's-pdwrrnkufn', + ], + 'ItemShortTitle' => [ + 'description' => '商品简称,不输入则从商品全称中截取,最长64字符;', + 'type' => 'string', + 'example' => '牛奶', + ], + 'BindId' => [ + 'description' => '绑定ID。', + 'type' => 'string', + 'example' => 'b4adf048-f36d-4da5-a8bb-ab4adbd5eb04', + ], + 'PromotionText' => [ + 'description' => '促销文案,最长64个字符;', + 'type' => 'string', + 'example' => '买一送一', + ], + 'EslModel' => [ + 'description' => '价签型号。', + 'type' => 'string', + 'example' => 'AESL0213', + ], + 'BePromotion' => [ + 'description' => '是否匹配促销模板显示,默认值为false;', + 'type' => 'boolean', + 'example' => 'true', + ], + 'SkuId' => [ + 'description' => '商品ID(SKU)。', + 'type' => 'string', + 'example' => '124', + ], + 'EslConnectAp' => [ + 'description' => '价签链接基站Mac。', + 'type' => 'string', + 'example' => '11:22:33:44:55:66', + ], + 'EslStatus' => [ + 'description' => '价签状态,返回值对应关系:'."\n" + ."\n" + .'- `ESL_STATUS_ONLINE`:在线,已绑定'."\n" + ."\n" + .'- `ESL_STATUS_OFFLINE`:离线,已绑定'."\n" + ."\n" + .'- `ESL_STATUS_UNBIND`:未绑定。', + 'type' => 'string', + 'example' => 'ESL_STATUS_ONLINE', + ], + 'TemplateId' => [ + 'description' => '模板ID', + 'type' => 'string', + 'example' => '123456', + ], + 'PromotionEnd' => [ + 'description' => '促销结束时间 UTC格式 "yyyy-MM-dd\'T\'HH:mm:ss\'Z\'"。', + 'type' => 'string', + 'example' => '2020-03-17T07:05:34Z', + ], + 'ItemBarCode' => [ + 'description' => '商品条码。', + 'type' => 'string', + 'example' => '690560583****', + ], + 'ContainerName' => [ + 'title' => '绑定的模板区域名称', + 'description' => '绑定的模板区域名称', + 'type' => 'string', + 'example' => '2', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6E0FF7FA-3F89-598F-9BF2-57DF480FE111\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"null\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 24,\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"EslItemBindInfos\\": [\\n {\\n \\"EslBarCode\\": \\"18bc5a63****\\",\\n \\"TemplateSceneId\\": \\"123456\\",\\n \\"ActionPrice\\": \\"690\\",\\n \\"ItemTitle\\": \\"麦麸吐司\\",\\n \\"PromotionStart\\": \\"2020-03-16T07:05:34Z\\",\\n \\"PriceUnit\\": \\"187\\",\\n \\"OriginalPrice\\": \\"500\\",\\n \\"ItemId\\": \\"1234567\\",\\n \\"GmtModified\\": \\"1656469716000\\",\\n \\"EslPic\\": \\"kUzlfuzgayDo5uTXW3D66Q\\",\\n \\"StoreId\\": \\"s-pdwrrnkufn\\",\\n \\"ItemShortTitle\\": \\"牛奶\\",\\n \\"BindId\\": \\"b4adf048-f36d-4da5-a8bb-ab4adbd5eb04\\",\\n \\"PromotionText\\": \\"买一送一\\",\\n \\"EslModel\\": \\"AESL0213\\",\\n \\"BePromotion\\": true,\\n \\"SkuId\\": \\"124\\",\\n \\"EslConnectAp\\": \\"11:22:33:44:55:66\\",\\n \\"EslStatus\\": \\"ESL_STATUS_ONLINE\\",\\n \\"TemplateId\\": \\"123456\\",\\n \\"PromotionEnd\\": \\"2020-03-17T07:05:34Z\\",\\n \\"ItemBarCode\\": \\"690560583****\\",\\n \\"ContainerName\\": \\"2\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 6E0FF7FA-3F89-598F-9BF2-57DF480FE111\\n The specified resource type is invalid.\\n true\\n MandatoryParameters\\n -1001\\n null\\n The specified store %s does not exist.\\n 1\\n 20\\n 24\\n PlatformResponseError.%s\\n \\n 18bc5a63****\\n 123456\\n 690\\n 麦麸吐司\\n 2020-03-16T07:05:34Z\\n 187\\n 500\\n 1234567\\n 1656469716000\\n kUzlfuzgayDo5uTXW3D66Q\\n s-pdwrrnkufn\\n 牛奶\\n b4adf048-f36d-4da5-a8bb-ab4adbd5eb04\\n 买一送一\\n AESL0213\\n true\\n 124\\n 11:22:33:44:55:66\\n ESL_STATUS_ONLINE\\n 123456\\n 2020-03-17T07:05:34Z\\n 690560583****\\n 2\\n \\n","errorExample":""}]', + 'title' => '查询绑定信息', + 'summary' => '查询商品和价签的绑定信息。', + ], + 'DescribeEslDevice' => [ + 'summary' => '增量查询价签绑定状态', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'FromDate', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'ToDate', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'EslDetails' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EslBarCode' => [ + 'type' => 'string', + ], + 'LastUpdateTime' => [ + 'type' => 'string', + ], + 'ItemBarCode' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ItemId' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ItemShortTitle' => [ + 'type' => 'string', + ], + 'Status' => [ + 'type' => 'string', + ], + 'StoreId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + 'DescribeEslDevices' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Type', + 'in' => 'formData', + 'schema' => [ + 'description' => '价签类型,可选值:'."\n" + ."\n" + .'- `ESL_TYPE_E_INK`:电子墨水屏幕'."\n" + ."\n" + .'- `ESL_TYPE_DM_LCD`:段码屏幕'."\n" + ."\n" + .'- `ESL_TYPE_FULL_COLOR`:彩色屏幕。', + 'type' => 'string', + 'required' => false, + 'example' => 'ESL_TYPE_E_INK', + ], + ], + [ + 'name' => 'TypeEncode', + 'in' => 'formData', + 'schema' => [ + 'title' => '类型编码'."\n" + .'取值范围如下:'."\n" + .'NORMAL 常规'."\n" + .'LOW_TEMPLATE 低温价签'."\n" + .'THREE_COLOR 三色价签'."\n" + .'ESL_TYPE_DM_LCD 段码屏幕'."\n" + .'ESL_TYPE_FULL_COLOR 彩色屏幕'."\n" + .'ESL_TYPE_MUTIMEDIA 多媒体', + 'description' => '价签类型,可选值:'."\n" + ."\n" + .'- `NORMAL`:常规'."\n" + ."\n" + .'- `LOW_TEMPLATE`:低温'."\n" + ."\n" + .'- `THREE_COLOR`:三色'."\n" + ."\n" + .'- `ESL_TYPE_DM_LCD`:段码'."\n" + ."\n" + .'- `ESL_TYPE_FULL_COLOR`:彩色'."\n" + ."\n" + .'- `ESL_TYPE_MUTI_MEDIA`:多媒体。', + 'type' => 'string', + 'required' => false, + 'example' => 'LOW_TEMPLATE', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:每页显示条数,默认值10。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'ToBatteryLevel', + 'in' => 'formData', + 'schema' => [ + 'description' => '电量区间右偏移,电量大于等于输入值。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '80', + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'EslStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '价签状态,可选值:'."\n" + ."\n" + .'- `ESL_STATUS_ONLINE`:在线,已绑定'."\n" + ."\n" + .'- `ESL_STATUS_OFFLINE`:离线,已绑定'."\n" + ."\n" + .'- `ESL_STATUS_UNBIND`:未绑定。', + 'type' => 'string', + 'required' => false, + 'example' => 'ESL_STATUS_ONLINE', + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '价签条码。', + 'type' => 'string', + 'required' => false, + 'example' => '18bc5a63****', + ], + ], + [ + 'name' => 'FromBatteryLevel', + 'in' => 'formData', + 'schema' => [ + 'description' => '电量区间左偏移,电量小于等于输入值。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '扩展参数', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters ', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'PageNumber' => [ + 'description' => '分页参数:当前页码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '分页参数:每页显示条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '总条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'EslDevices' => [ + 'description' => '价签信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '价签类型,返回值对应关系:'."\n" + ."\n" + .'- `ESL_TYPE_E_INK`:电子墨水屏幕'."\n" + ."\n" + .'- `ESL_TYPE_DM_LCD`:段码屏幕'."\n" + ."\n" + .'- `ESL_TYPE_FULL_COLOR`:彩色屏幕。', + 'type' => 'string', + 'example' => 'ESL_TYPE_E_INK', + ], + 'StoreId' => [ + 'description' => '门店ID。', + 'type' => 'string', + 'example' => 's-dxsxx****', + ], + 'EslBarCode' => [ + 'description' => '价签条码。', + 'type' => 'string', + 'example' => '18bc5a63****', + ], + 'Model' => [ + 'description' => '价签型号。', + 'type' => 'string', + 'example' => 'AESL0213', + ], + 'LastCommunicateTime' => [ + 'description' => '最后通讯时间。', + 'type' => 'string', + 'example' => '2020-03-16T07:04:16Z', + ], + 'ScreenHeight' => [ + 'description' => '屏幕高度,单位为px。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'ScreenWidth' => [ + 'description' => '屏幕宽度,单位为px。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'EslSignal' => [ + 'description' => '价签信号', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '54', + ], + 'BatteryLevel' => [ + 'description' => '电量。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'EslStatus' => [ + 'description' => '价签状态,返回值对应关系:'."\n" + ."\n" + .'- `ESL_STATUS_ONLINE`:在线,已绑定'."\n" + ."\n" + .'- `ESL_STATUS_OFFLINE`:离线,已绑定'."\n" + ."\n" + .'- `ESL_STATUS_UNBIND`:未绑定。', + 'type' => 'string', + 'example' => 'ESL_STATUS_ONLINE', + ], + 'Mac' => [ + 'description' => '价签Mac地址。', + 'type' => 'string', + 'example' => '18:bc:5a:63:**:**', + ], + 'TypeEncode' => [ + 'title' => '类型编码'."\n" + .'取值范围如下:'."\n" + .'NORMAL 常规'."\n" + .'LOW_TEMPLATE 低温价签'."\n" + .'THREE_COLOR 三色价签'."\n" + .'ESL_TYPE_DM_LCD 段码屏幕'."\n" + .'ESL_TYPE_FULL_COLOR 彩色屏幕'."\n" + .'ESL_TYPE_MUTIMEDIA 多媒体'."\n", + 'description' => '类型编码'."\n" + .'取值范围如下:'."\n" + .'NORMAL 常规'."\n" + .'LOW_TEMPLATE 低温价签'."\n" + .'THREE_COLOR 三色价签'."\n" + .'ESL_TYPE_DM_LCD 段码屏幕'."\n" + .'ESL_TYPE_FULL_COLOR 彩色屏幕'."\n" + .'ESL_TYPE_MUTIMEDIA 多媒体'."\n", + 'type' => 'string', + 'example' => 'THREE_COLOR', + ], + 'LayoutId' => [ + 'description' => '布局ID。仅支持传单个ID。', + 'type' => 'string', + 'example' => '7', + ], + 'LayoutName' => [ + 'description' => '布局名称。', + 'type' => 'string', + 'example' => '新增布局', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters \\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"EslDevices\\": [\\n {\\n \\"Type\\": \\"ESL_TYPE_E_INK\\",\\n \\"StoreId\\": \\"s-dxsxx****\\",\\n \\"EslBarCode\\": \\"18bc5a63****\\",\\n \\"Model\\": \\"AESL0213\\",\\n \\"LastCommunicateTime\\": \\"2020-03-16T07:04:16Z\\",\\n \\"ScreenHeight\\": 200,\\n \\"ScreenWidth\\": 200,\\n \\"EslSignal\\": 54,\\n \\"BatteryLevel\\": 100,\\n \\"EslStatus\\": \\"ESL_STATUS_ONLINE\\",\\n \\"Mac\\": \\"18:bc:5a:63:**:**\\",\\n \\"TypeEncode\\": \\"THREE_COLOR\\",\\n \\"LayoutId\\": \\"7\\",\\n \\"LayoutName\\": \\"新增布局\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 4\\n 10\\n 80B45212-5669-4B27-9B8E-80BDCB18E99C\\n 1\\n \\n 18bc5a63****\\n ESL_TYPE_E_INK\\n 100\\n s-ph5agd****\\n 320\\n ESL_STATUS_ONLINE\\n 240\\n 2020-03-16T07:04:16Z\\n 18:bc:5a:63:**:**\\n 47\\n \\n \\n 18bc5a7a****\\n ESL_TYPE_E_INK\\n 100\\n s-ph5agd****\\n 400\\n ESL_STATUS_OFFLINE\\n 300\\n 2020-03-14T17:19:57Z\\n 18:bc:5a:7a:**:**\\n 47\\n \\n true\\n\\n80B45212-5669-4B27-9B8E-80BDCB18E99C\\ntrue","errorExample":""}]', + 'title' => '查询价签设备', + 'summary' => '查询价签设备信息。', + 'requestParamsDescription' => ' 根据电量区间查询暂时不支持', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateStore' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'ParentId', + 'in' => 'formData', + 'schema' => [ + 'description' => '父门店ID', + 'type' => 'string', + 'required' => false, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'UserStoreCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '商家自定义门店ID', + 'type' => 'string', + 'required' => false, + 'example' => '20200201', + ], + ], + [ + 'name' => 'StoreName', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店名称', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '天猫旗舰店', + ], + ], + [ + 'name' => 'Phone', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店联系电话', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0571-5666888', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端token', + 'type' => 'string', + 'required' => false, + 'example' => '1212', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + [ + 'name' => 'TimeZone', + 'in' => 'formData', + 'schema' => [ + 'description' => '时区', + 'type' => 'string', + 'required' => false, + 'example' => 'GMT+08:00', + ], + ], + [ + 'name' => 'BarCodeEncode', + 'in' => 'formData', + 'schema' => [ + 'description' => '条形码编码方式:0:Code128 ,1:EAN13(默认0)', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '1', + 'minimum' => '0', + 'enumValueTitles' => [], + 'example' => '0', + 'default' => '0', + ], + ], + [ + 'name' => 'AutoUnbindOfflineEsl', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否启用自动解绑离线价签', + 'description' => '是否启用自动解绑离线价签', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + 'default' => 'false', + ], + ], + [ + 'name' => 'AutoUnbindDays', + 'in' => 'formData', + 'schema' => [ + 'title' => '自动解绑离线价签条件-价签离线天数', + 'description' => '自动解绑离线价签条件-价签离线天数', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '7', + 'example' => '30', + 'default' => '36500', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'StoreId' => [ + 'description' => '门店ID。', + 'type' => 'string', + 'example' => 's-dxsxx****', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"StoreId\\": \\"s-dxsxx****\\",\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 8F124625-DF0A-4B08-B205-2CF538FAF713\\n true\\n\\n8F124625-DF0A-4B08-B205-2CF538FAF713\\ntrue","errorExample":""}]', + 'title' => '创建门店', + 'summary' => '增加一个门店。', + 'requestParamsDescription' => ' ParentId字段,暂时不支持。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteStore' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 8F124625-DF0A-4B08-B205-2CF538FAF713\\n true\\n\\n8F124625-DF0A-4B08-B205-2CF538FAF713\\ntrue","errorExample":""}]', + 'title' => 'DeleteStore', + 'summary' => '删除门店。', + 'description' => '删除门店的前提条件:该门店下没有商品和价签', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' 删除门店前,需先保证门店下没有商品、价签设备和基站设备;', + ], + 'UpdateStore' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'UserStoreCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '商家自定义门店ID。', + 'type' => 'string', + 'required' => false, + 'example' => '123456', + ], + ], + [ + 'name' => 'StoreName', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店名称。', + 'type' => 'string', + 'required' => false, + 'example' => '天猫超市', + ], + ], + [ + 'name' => 'Phone', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店所在监督工商局的监督电话。', + 'type' => 'string', + 'required' => false, + 'example' => '0571-5666888', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + [ + 'name' => 'TemplateVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店模板版本;', + 'type' => 'string', + 'required' => false, + 'example' => '1.1.0', + ], + ], + [ + 'name' => 'Timezone', + 'in' => 'formData', + 'schema' => [ + 'description' => '时区。', + 'type' => 'string', + 'required' => false, + 'example' => 'GMT+08:00', + ], + ], + [ + 'name' => 'BarCodeEncode', + 'in' => 'formData', + 'schema' => [ + 'description' => '条形码编码方式:0:Code128 ,1:EAN13(默认0)', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '1', + 'minimum' => '0', + 'example' => '0', + 'default' => '0', + ], + ], + [ + 'name' => 'AutoUnbindOfflineEsl', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否启用自动解绑离线价签', + 'description' => '是否自动解绑离线价签', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + 'default' => 'false', + ], + ], + [ + 'name' => 'AutoUnbindDays', + 'in' => 'formData', + 'schema' => [ + 'title' => '自动解绑离线价签条件-价签离线天数', + 'description' => '自动解绑时间,单位:日', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '36500', + 'minimum' => '7', + 'example' => '1', + 'default' => '36500', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求状态标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '后端错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"\\n E69C8998-1787-4999-8C75-D663FF1173CF\\n The specified resource type is invalid.\\n true\\n MandatoryParameters\\n -1001\\n success\\n The specified store %s does not exist.\\n PlatformResponseError.%s\\n","errorExample":""}]', + 'title' => '修改门店信息', + 'summary' => '修改门店基础信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'UpdateStoreConfig' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'NotificationSilentTimes', + 'in' => 'formData', + 'schema' => [ + 'description' => '用户配置的静默期,不发通知消息,JSON列表,单位为分钟,每个JSON字段表示一个静默期时间段,里面的值为UTC时间下一天里面的分钟数,from为静默期的起始分钟数,to为结束分钟数。', + 'type' => 'string', + 'required' => false, + 'example' => '[{"from":960,"to":1320},{"from":1170,"to":1230}]', + ], + ], + [ + 'name' => 'EnableNotification', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否启用钉钉异常消息通知,true 启用,false不启用。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-sds1233****', + ], + ], + [ + 'name' => 'NotificationWebHook', + 'in' => 'formData', + 'schema' => [ + 'description' => '钉钉消息的webHook地址。', + 'type' => 'string', + 'required' => false, + 'example' => 'https://oapi.dingtalk.com/robot/send?.', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统扩展字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + [ + 'name' => 'SubscribeContents', + 'in' => 'formData', + 'schema' => [ + 'description' => '订阅内容。', + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '本次请求的ID。', + 'type' => 'string', + 'example' => '97B41B7F-A6EC-524C-9B8F-1BDD7E733F5E', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求状态标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"97B41B7F-A6EC-524C-9B8F-1BDD7E733F5E\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","type":"json"}]', + 'title' => '修改门店配置', + 'summary' => '修改门店的配置信息。', + ], + 'DescribeStores' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'UserStoreCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '商家自定义门店ID。', + 'type' => 'string', + 'required' => false, + 'example' => '123456', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:每页显示条数,默认值10。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'StoreName', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店名称。', + 'type' => 'string', + 'required' => false, + 'example' => '天猫超市', + ], + ], + [ + 'name' => 'ToDate', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店创建时间:结束时间。', + 'type' => 'string', + 'required' => false, + 'example' => '2020-03-08T02:58:16Z', + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID。', + 'type' => 'string', + 'required' => false, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'FromDate', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店创建时间:开始时间。', + 'type' => 'string', + 'required' => false, + 'example' => '2020-03-06T02:58:16Z', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + [ + 'name' => 'TemplateVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店配置的模板版本号;', + 'type' => 'string', + 'required' => false, + 'example' => '1.1.0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '后端错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'PageNumber' => [ + 'description' => '分页参数:当前页码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '分页参数:每页显示条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '总条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'Stores' => [ + 'description' => '门店信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StoreId' => [ + 'description' => '门店ID。', + 'type' => 'string', + 'example' => 's-dxsxx**** ', + ], + 'ParentId' => [ + 'description' => '父门店ID。', + 'type' => 'string', + 'example' => 's-aasx****', + ], + 'TimeZone' => [ + 'description' => '门店时区配置', + 'type' => 'string', + 'example' => 'GMT+08:00', + ], + 'GmtCreate' => [ + 'description' => '创建时间。', + 'type' => 'string', + 'example' => '2020-03-06T02:58:16Z', + ], + 'StoreName' => [ + 'description' => '门店名称。', + 'type' => 'string', + 'example' => '天猫旗舰店', + ], + 'GmtModified' => [ + 'description' => '修改时间。', + 'type' => 'string', + 'example' => '2020-03-06T02:58:16Z', + ], + 'TemplateVersion' => [ + 'description' => '门店模板版本号;', + 'type' => 'string', + 'example' => '1.1.0', + ], + 'Level' => [ + 'description' => '级别。', + 'type' => 'string', + 'example' => '1级', + ], + 'Phone' => [ + 'description' => '门店所在监督工商局的监督电话。', + 'type' => 'string', + 'example' => '0571-5666888', + ], + 'UserStoreCode' => [ + 'description' => '商家自定义门店ID。', + 'type' => 'string', + 'example' => '20200201', + ], + 'BarCodeEncode' => [ + 'description' => '条形码编码方式:0:Code128 ,1:EAN13(默认0)', + 'type' => 'integer', + 'format' => 'int32', + 'maximum' => '1', + 'minimum' => '0', + 'example' => '0', + 'default' => '0', + ], + 'AutoUnbindOfflineEsl' => [ + 'title' => '是否启用自动解绑离线价签', + 'description' => '是否启用自动解绑离线价签', + 'type' => 'boolean', + 'example' => 'true', + 'default' => 'false', + ], + 'AutoUnbindDays' => [ + 'title' => '自动解绑离线价签条件-价签离线天数', + 'description' => '自动解绑离线价签条件-价签离线天数', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'default' => '36500', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"Stores\\": [\\n {\\n \\"StoreId\\": \\"s-dxsxx**** \\",\\n \\"ParentId\\": \\"s-aasx****\\",\\n \\"TimeZone\\": \\"GMT+08:00\\",\\n \\"GmtCreate\\": \\"2020-03-06T02:58:16Z\\",\\n \\"StoreName\\": \\"天猫旗舰店\\",\\n \\"GmtModified\\": \\"2020-03-06T02:58:16Z\\",\\n \\"TemplateVersion\\": \\"1.1.0\\",\\n \\"Level\\": \\"1级\\",\\n \\"Phone\\": \\"0571-5666888\\",\\n \\"UserStoreCode\\": \\"20200201\\",\\n \\"BarCodeEncode\\": 0,\\n \\"AutoUnbindOfflineEsl\\": true,\\n \\"AutoUnbindDays\\": 1\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n E69C8998-1787-4999-8C75-D663FF1173CF\\n The specified resource type is invalid.\\n true\\n MandatoryParameters\\n -1001\\n success\\n The specified store %s does not exist.\\n 1\\n 10\\n 100\\n PlatformResponseError.%s\\n \\n s-dxsxx****\\n s-aasx****\\n GMT+08:00\\n 2020-03-06T02:58:16Z\\n 天猫旗舰店\\n 2020-03-06T02:58:16Z\\n 1.1.0\\n 1级\\n 0571-5666888\\n 20200201\\n 0\\n true\\n 1\\n \\n","errorExample":""}]', + 'title' => '查询门店', + 'summary' => '查询门店基础信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeStoreConfig' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求状态标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'StoreConfigInfo' => [ + 'description' => '门店配置信息列表。', + 'type' => 'object', + 'properties' => [ + 'StoreId' => [ + 'description' => '门店ID。', + 'type' => 'string', + 'example' => 's-dxsxx****', + ], + 'EnableNotification' => [ + 'description' => '是否启用钉钉异常消息通知。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'NotificationWebHook' => [ + 'description' => '钉钉消息的webHook地址。', + 'type' => 'string', + 'example' => 'https://oapi.dingtalk.com/robot/send?.', + ], + 'NotificationSilentTimes' => [ + 'description' => '用户配置的静默期,不发通知消息,JSON列表,单位为分钟,每个JSON字段表示一个静默期时间段,里面的值为UTC时间下一天里面的分钟数,from为静默期的起始分钟数,to为结束分钟数。', + 'type' => 'string', + 'example' => '[{"from":960,"to":1320},{"from":1170,"to":1230}]', + ], + 'SubscribeContents' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Category' => [ + 'type' => 'string', + ], + 'Enable' => [ + 'type' => 'boolean', + ], + 'Threshold' => [ + 'type' => 'string', + ], + 'AtAll' => [ + 'type' => 'boolean', + ], + 'AtMobileList' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"StoreConfigInfo\\": {\\n \\"StoreId\\": \\"s-dxsxx****\\",\\n \\"EnableNotification\\": true,\\n \\"NotificationWebHook\\": \\"https://oapi.dingtalk.com/robot/send?.\\",\\n \\"NotificationSilentTimes\\": \\"[{\\\\\\"from\\\\\\":960,\\\\\\"to\\\\\\":1320},{\\\\\\"from\\\\\\":1170,\\\\\\"to\\\\\\":1230}]\\",\\n \\"SubscribeContents\\": [\\n {\\n \\"Category\\": \\"\\",\\n \\"Enable\\": true,\\n \\"Threshold\\": \\"\\",\\n \\"AtAll\\": true,\\n \\"AtMobileList\\": \\"\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n CE715689-3EBA-422C-B3E7-76D98B7D0AE8\\n \\n s-cc3nq****\\n true\\n \\n true\\n\\nCE715689-3EBA-422C-B3E7-76D98B7D0AE8\\ntrue","errorExample":""}]', + 'title' => 'DescribeStoreConfig', + 'summary' => '查询门店配置信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteItem' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '商品条码。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '693737264225', + ], + ], + [ + 'name' => 'UnbindEslDevice', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否解绑该商品已绑定的价签设备,默认值false', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"\\n E69C8998-1787-4999-8C75-D663FF1173CF\\n The specified resource type is invalid.\\n true\\n MandatoryParameters\\n -1001\\n success\\n The specified store %s does not exist.\\n PlatformResponseError.%s\\n","errorExample":""}]', + 'title' => '删除门店商品', + 'summary' => '删除门店商品。', + ], + 'BatchInsertItems' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID,一次最多插入100条数据。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统扩展字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + [ + 'name' => 'SyncByItemId', + 'in' => 'formData', + 'schema' => [ + 'description' => '默认值为false,如果配置为true则商品信息会更新门店下其它ItemId字段相同的商品信息;如果一次商品列表中包含多个ItemId相同的商品,则以排在最后那个内容做更新;', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ItemInfo', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '商品信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActionPrice' => [ + 'description' => '实际销售价格(单位:分)。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '500', + ], + 'ItemTitle' => [ + 'description' => '商品全称,最长100字符;', + 'type' => 'string', + 'required' => true, + 'example' => '光明儿童星', + ], + 'BrandName' => [ + 'description' => '品牌名称,最长64字符;', + 'type' => 'string', + 'required' => false, + 'example' => '光明乳业', + ], + 'SourceCode' => [ + 'description' => '溯源码,最长128个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '1234567', + ], + 'PriceUnit' => [ + 'description' => '计价单位,最长64个字符;', + 'type' => 'string', + 'required' => true, + 'example' => '箱', + ], + 'ForestFirstId' => [ + 'description' => '一类商品类目ID,最长32个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '食品', + ], + 'CustomizeFeatureF' => [ + 'description' => '自定义属性F,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性F', + ], + 'CustomizeFeatureA' => [ + 'description' => '自定义属性A,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性A', + ], + 'CustomizeFeatureK' => [ + 'description' => '自定义属性K,最长128个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性K', + ], + 'TemplateSceneId' => [ + 'description' => '客户自定义模板ID,如果有输入有效字符则匹配客户自定义模板进行商品展示,默认值为空字符“”;', + 'type' => 'string', + 'required' => false, + 'example' => '23452', + ], + 'CustomizeFeatureD' => [ + 'description' => '自定义属性D,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性D', + ], + 'MemberPrice' => [ + 'description' => '会员价(单位:分)。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '800', + ], + 'ModelNumber' => [ + 'description' => '型号,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '330', + ], + 'PromotionStart' => [ + 'description' => '促销开始时间 UTC格式 "yyyy-MM-dd\'T\'HH:mm:ss\'Z\'"。', + 'type' => 'string', + 'required' => false, + 'example' => '2020-02-10T00:00:00Z', + ], + 'CategoryName' => [ + 'description' => '品类,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '饮料', + ], + 'CustomizeFeatureE' => [ + 'description' => '自定义属性E,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性E', + ], + 'SuggestPrice' => [ + 'description' => '建议零售价(单位:分)。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '600', + ], + 'SaleSpec' => [ + 'description' => '规格,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '330毫升', + ], + 'PromotionText' => [ + 'description' => '促销文案,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '买一送一', + ], + 'PromotionReason' => [ + 'description' => '促销原因,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '儿童节活动', + ], + 'Rank' => [ + 'description' => '等级,最长32个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '1级', + ], + 'CustomizeFeatureG' => [ + 'description' => '自定义属性G,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性G', + ], + 'SalesPrice' => [ + 'description' => '销售价格(单位:分)。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1000', + ], + 'CustomizeFeatureH' => [ + 'description' => '自定义属性H,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性H', + ], + 'OriginalPrice' => [ + 'description' => '原价(单位:分)。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1000', + ], + 'CustomizeFeatureI' => [ + 'description' => '自定义属性I,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性I', + ], + 'ProductionPlace' => [ + 'description' => '产地,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '中国', + ], + 'CustomizeFeatureB' => [ + 'description' => '自定义属性B,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性B', + ], + 'ItemShortTitle' => [ + 'description' => '商品简称,不输入则从商品全称中截取,最长64字符;', + 'type' => 'string', + 'required' => false, + 'example' => '牛奶', + ], + 'CustomizeFeatureN' => [ + 'description' => '自定义属性N,最长128个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性N', + ], + 'BeMember' => [ + 'description' => '是否匹配会员模板显示,默认值为false;', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'TaxFee' => [ + 'description' => '税费信息,最长32个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '增值税', + ], + 'InventoryStatus' => [ + 'description' => '是否匹配缺货模板显示,可选值:'."\n" + ."\n" + .'- `OUT_OF_STOCK`:缺货'."\n" + ."\n" + .'- `NORMAL`:正常。'."\n" + ."\n" + .'默认值NORMAL,如果配置为OUT_OF_STOCK则会配置缺货模板进行显示', + 'type' => 'string', + 'required' => false, + 'example' => 'OUT_OF_STOCK', + ], + 'ItemPicUrl' => [ + 'description' => '商品图片URL,最长128个字符;', + 'type' => 'string', + 'required' => false, + 'example' => 'http://m.taobao.com/xxx.html', + ], + 'SupplierName' => [ + 'description' => '经销商,最长128个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '天猫超市', + ], + 'CustomizeFeatureL' => [ + 'description' => '自定义属性L,最长128个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性L', + ], + 'EnergyEfficiency' => [ + 'description' => '能效,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '2焦/毫升', + ], + 'CustomizeFeatureC' => [ + 'description' => '自定义属性C,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性C', + ], + 'ItemId' => [ + 'description' => '自定义商品条码,只允许输入构成整数的阿拉伯数字。', + 'type' => 'string', + 'required' => true, + 'example' => '1234567', + ], + 'Manufacturer' => [ + 'description' => '生产商,最长128个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '中国制造', + ], + 'Material' => [ + 'description' => '材质,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '新鲜牛奶', + ], + 'CustomizeFeatureJ' => [ + 'description' => '自定义属性J,最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性J', + ], + 'CustomizeFeatureO' => [ + 'description' => '自定义属性O,最长128个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性O', + ], + 'CustomizeFeatureP' => [ + 'description' => '自定义属性P,最长512字符', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性P', + ], + 'CustomizeFeatureQ' => [ + 'description' => '自定义属性Q,最长512字符', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性Q', + ], + 'CustomizeFeatureR' => [ + 'description' => '自定义属性R,最长512字符', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性R', + ], + 'CustomizeFeatureS' => [ + 'description' => '自定义属性S,最长512字符', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性S', + ], + 'CustomizeFeatureT' => [ + 'description' => '自定义属性T,最长512字符', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性T', + ], + 'CustomizeFeatureU' => [ + 'description' => '自定义属性U,最长512字符', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性U', + ], + 'CustomizeFeatureV' => [ + 'description' => '自定义属性V,最长512字符', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性V', + ], + 'CustomizeFeatureW' => [ + 'description' => '自定义属性W,最长512字符', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性W', + ], + 'CustomizeFeatureX' => [ + 'description' => '自定义属性X,最长512字符', + 'type' => 'string', + 'required' => false, + 'example' => '345678', + ], + 'CustomizeFeatureY' => [ + 'description' => '自定义属性Y,最长512字符', + 'type' => 'string', + 'required' => false, + 'example' => 'YYY', + ], + 'CustomizeFeatureZ' => [ + 'description' => '自定义属性Z,最长512字符', + 'type' => 'string', + 'required' => false, + 'example' => 'ZZZZ', + ], + 'SkuId' => [ + 'description' => '商品ID(SKU),最长64个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '1234567', + ], + 'CustomizeFeatureM' => [ + 'description' => '自定义属性M,最长128个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '自定义属性M', + ], + 'BePromotion' => [ + 'description' => '是否匹配促销模板显示,默认值为false;', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'BeSourceCode' => [ + 'description' => '是否匹配溯源模板显示,默认值为false;', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'ForestSecondId' => [ + 'description' => '二类商品类目ID,最长32个字符;', + 'type' => 'string', + 'required' => false, + 'example' => '饮料', + ], + 'ItemQrCode' => [ + 'description' => '商品二维码地址,最长1024个字符;', + 'type' => 'string', + 'required' => false, + 'example' => 'http://m.taobao.com/xxx.html', + ], + 'ItemInfoIndex' => [ + 'description' => '商品信息坐标,此字段不用填。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'PromotionEnd' => [ + 'description' => '促销结束时间 UTC格式 "yyyy-MM-dd\'T\'HH:mm:ss\'Z\'"。', + 'type' => 'string', + 'required' => false, + 'example' => '2020-02-01T00:00:00Z', + ], + 'ItemBarCode' => [ + 'description' => '商品条码,字符不区分大小写,最长64;', + 'type' => 'string', + 'required' => true, + 'example' => '690560583****', + ], + 'BeClearance' => [ + 'description' => '是否匹配出清,默认值为false;', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 500, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'BatchResults' => [ + 'description' => '批量返回结果。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '请求序列下标。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'description' => '当前商品插入成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"BatchResults\\": [\\n {\\n \\"Index\\": 1,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n E69C8998-1787-4999-8C75-D663FF1173CF\\n The specified resource type is invalid.\\n true\\n MandatoryParameters\\n -1001\\n success\\n The specified store %s does not exist.\\n PlatformResponseError.%s\\n \\n 1\\n success\\n true\\n MandatoryParameters\\n \\n","errorExample":""}]', + 'title' => 'BatchInsertItems', + 'summary' => '批量新增或修改商品信息,一次最大商品数量为100条,每次不能包含相同的商品条码。', + 'requestParamsDescription' => '商品信息的下列字段会用于匹配模板显示,优先级从高到低'."\n" + ."\n" + .'- TemplateSceneId:尝试匹配客户自定义模板;'."\n" + .'- InventoryStatus:尝试匹配缺货模板;'."\n" + .'- BeMember:尝试匹配会员模板;'."\n" + .'- BeSourceCode && BePromotion:尝试匹配营销模板;'."\n" + .'- BeSourceCode:尝试匹配溯源模板;'."\n" + .'- BePromotion:尝试匹配促销模板;'."\n" + .'- BeClearance:尝试匹配出清模板;', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeItems' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:每页显示条数,默认值20。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ItemTitle', + 'in' => 'formData', + 'schema' => [ + 'description' => '商品标题。', + 'type' => 'string', + 'required' => false, + 'example' => '纯牛奶', + ], + ], + [ + 'name' => 'SkuId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'SkuID。', + 'type' => 'string', + 'required' => false, + 'example' => '1234565', + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '商品条码;', + 'type' => 'string', + 'required' => false, + 'example' => '6941297417178', + ], + ], + [ + 'name' => 'ItemId', + 'in' => 'formData', + 'schema' => [ + 'description' => '商品id', + 'type' => 'string', + 'required' => false, + 'example' => '6959294202901', + ], + ], + [ + 'name' => 'BePromotion', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否匹配促销模板显示,默认值为false;', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TemplateSceneId' => [ + 'description' => '自定义模板ID', + 'type' => 'string', + 'example' => '1223', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求状态标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Message' => [ + 'description' => '出错提示消息', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的**%s**。'."\n", + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'TotalCount' => [ + 'description' => '总数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'DynamicCode' => [ + 'description' => '动态错误码', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorCode' => [ + 'description' => '错误码', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'PageNumber' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '分页参数:每页显示条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Items' => [ + 'description' => '商品信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActionPrice' => [ + 'description' => '实际销售价格(单位:分)。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'ItemTitle' => [ + 'description' => '商品标题。', + 'type' => 'string', + 'example' => '纯牛奶', + ], + 'BrandName' => [ + 'description' => '品牌名称,最长64字符;', + 'type' => 'string', + 'example' => '阿里巴巴', + ], + 'SourceCode' => [ + 'description' => '溯源码,最长128个字符;', + 'type' => 'string', + 'example' => '123456', + ], + 'PriceUnit' => [ + 'description' => '计价单位,最长64个字符;', + 'type' => 'string', + 'example' => '瓶', + ], + 'ForestFirstId' => [ + 'description' => '一类商品类目ID。', + 'type' => 'string', + 'example' => '酒类', + ], + 'CustomizeFeatureF' => [ + 'description' => '自定义属性F。', + 'type' => 'string', + 'example' => '自定义属性F', + ], + 'CustomizeFeatureA' => [ + 'description' => '自定义属性A。', + 'type' => 'string', + 'example' => '自定义属性A', + ], + 'CustomizeFeatureK' => [ + 'description' => '自定义属性K。', + 'type' => 'string', + 'example' => '自定义属性K', + ], + 'TemplateSceneId' => [ + 'description' => '自定义模板ID', + 'type' => 'string', + 'example' => '11223', + ], + 'CustomizeFeatureD' => [ + 'description' => '自定义属性D。', + 'type' => 'string', + 'example' => '自定义属性D', + ], + 'MemberPrice' => [ + 'description' => '会员价(单位:分)。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4000', + ], + 'PromotionStart' => [ + 'description' => '促销开始时间 UTC格式 "yyyy-MM-dd\'T\'HH:mm:ss\'Z\'"。', + 'type' => 'string', + 'example' => '2022-04-25T16:00:00Z', + ], + 'ModelNumber' => [ + 'description' => '型号,最长64个字符;', + 'type' => 'string', + 'example' => 'CH8850AS', + ], + 'CategoryName' => [ + 'description' => '品类,最长64个字符;', + 'type' => 'string', + 'example' => '手机', + ], + 'CustomizeFeatureE' => [ + 'description' => '自定义属性E。', + 'type' => 'string', + 'example' => '自定义属性E', + ], + 'SuggestPrice' => [ + 'description' => '建议零售价(单位:分)。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'SaleSpec' => [ + 'description' => '规格,最长64个字符;', + 'type' => 'string', + 'example' => '1台/盒', + ], + 'PromotionText' => [ + 'description' => '促销文案,最长64个字符;', + 'type' => 'string', + 'example' => '买一送一', + ], + 'Rank' => [ + 'description' => '等级,最长32个字符;', + 'type' => 'string', + 'example' => '一级', + ], + 'PromotionReason' => [ + 'description' => '促销原因,最长64个字符;', + 'type' => 'string', + 'example' => '情人节活动', + ], + 'CustomizeFeatureG' => [ + 'description' => '自定义属性G。', + 'type' => 'string', + 'example' => '自定义属性G', + ], + 'SalesPrice' => [ + 'description' => '销售价格(单位:分)。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'CustomizeFeatureH' => [ + 'description' => '自定义属性H。', + 'type' => 'string', + 'example' => '自定义属性H', + ], + 'OriginalPrice' => [ + 'description' => '原价(单位:分)。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'GmtModified' => [ + 'description' => '更新时间。', + 'type' => 'string', + 'example' => '2020-03-09T00:00:00Z', + ], + 'CustomizeFeatureI' => [ + 'description' => '自定义属性I。', + 'type' => 'string', + 'example' => '自定义属性I', + ], + 'ProductionPlace' => [ + 'description' => '产地,最长64个字符;', + 'type' => 'string', + 'example' => '中国', + ], + 'CustomizeFeatureB' => [ + 'description' => '自定义属性B。', + 'type' => 'string', + 'example' => '1:1:16', + ], + 'ItemShortTitle' => [ + 'description' => '商品简称,不输入则从商品全称中截取,最长64字符;', + 'type' => 'string', + 'example' => '牛奶', + ], + 'CustomizeFeatureN' => [ + 'description' => '自定义属性N。', + 'type' => 'string', + 'example' => '自定义属性N', + ], + 'BeMember' => [ + 'description' => '是否匹配会员模板显示,默认值为false;', + 'type' => 'boolean', + 'example' => 'false', + ], + 'TaxFee' => [ + 'description' => '税费信息,最长32个字符;', + 'type' => 'string', + 'example' => '增值税', + ], + 'InventoryStatus' => [ + 'description' => '库存状态,返回值对应关系:'."\n" + ."\n" + .'- `OUT_OF_STOCK`:缺货'."\n" + ."\n" + .'- `NORMAL`:正常。', + 'type' => 'string', + 'example' => 'OUT_OF_STOCK', + ], + 'SupplierName' => [ + 'description' => '社区镜像认证企业名称。', + 'type' => 'string', + 'example' => '天猫超市', + ], + 'ItemPicUrl' => [ + 'description' => '商品图片URL。', + 'type' => 'string', + 'example' => 'http://m.taobao.com/xxx.html', + ], + 'EnergyEfficiency' => [ + 'description' => '能效,最长64个字符;', + 'type' => 'string', + 'example' => '1kw/h', + ], + 'CustomizeFeatureL' => [ + 'description' => '自定义属性L。', + 'type' => 'string', + 'example' => '自定义属性L', + ], + 'CustomizeFeatureC' => [ + 'description' => '自定义属性C。', + 'type' => 'string', + 'example' => '自定义属性C', + ], + 'ItemId' => [ + 'description' => '自定义商品条码,只允许输入构成整数的阿拉伯数字。', + 'type' => 'string', + 'example' => '123456', + ], + 'Manufacturer' => [ + 'description' => '生产商,最长128个字符;', + 'type' => 'string', + 'example' => '广东省深圳', + ], + 'Material' => [ + 'description' => '材质,最长64个字符;', + 'type' => 'string', + 'example' => '金属', + ], + 'CustomizeFeatureO' => [ + 'description' => '自定义属性O。', + 'type' => 'string', + 'example' => '自定义属性O', + ], + 'CustomizeFeatureP' => [ + 'description' => '自定义属性P', + 'type' => 'string', + 'example' => '自定义属性P', + ], + 'CustomizeFeatureQ' => [ + 'description' => '自定义属性Q', + 'type' => 'string', + 'example' => '自定义属性Q', + ], + 'CustomizeFeatureR' => [ + 'description' => '自定义属性R', + 'type' => 'string', + 'example' => '自定义属性R', + ], + 'CustomizeFeatureS' => [ + 'description' => '自定义属性S', + 'type' => 'string', + 'example' => '自定义属性S', + ], + 'CustomizeFeatureT' => [ + 'description' => '自定义属性T', + 'type' => 'string', + 'example' => '自定义属性T', + ], + 'CustomizeFeatureU' => [ + 'description' => '自定义属性U', + 'type' => 'string', + 'example' => '自定义属性U', + ], + 'CustomizeFeatureV' => [ + 'description' => '自定义属性V', + 'type' => 'string', + 'example' => '自定义属性V', + ], + 'CustomizeFeatureW' => [ + 'description' => '自定义属性W', + 'type' => 'string', + 'example' => '自定义属性W', + ], + 'CustomizeFeatureX' => [ + 'description' => '自定义属性X', + 'type' => 'string', + 'example' => '自定义属性X', + ], + 'CustomizeFeatureY' => [ + 'description' => '自定义属性Y', + 'type' => 'string', + 'example' => '自定义属性Y', + ], + 'CustomizeFeatureZ' => [ + 'description' => '自定义属性Z', + 'type' => 'string', + 'example' => '自定义属性Z', + ], + 'CustomizeFeatureJ' => [ + 'description' => '自定义属性J。', + 'type' => 'string', + 'example' => '酸酸甜甜,肉厚饱满', + ], + 'GmtCreate' => [ + 'description' => '敏感数据识别规则的创建时间。格式:时间戳。单位:毫秒。', + 'type' => 'string', + 'example' => '2020-03-09T00:00:00Z', + ], + 'CustomizeFeatureM' => [ + 'description' => '自定义属性M。', + 'type' => 'string', + 'example' => '自定义属性M', + ], + 'BePromotion' => [ + 'description' => '是否匹配促销模板显示,默认值为false;', + 'type' => 'boolean', + 'example' => 'false', + ], + 'SkuId' => [ + 'description' => 'SKuID。', + 'type' => 'string', + 'example' => '123456', + ], + 'BeSourceCode' => [ + 'description' => '是否匹配溯源模板显示,默认值为false;', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ForestSecondId' => [ + 'description' => '二类商品类目ID。', + 'type' => 'string', + 'example' => '白酒', + ], + 'ItemQrCode' => [ + 'description' => '商品二维码地址,最长1024个字符;', + 'type' => 'string', + 'example' => 'http://m.taobao.com/xxx.html', + ], + 'ItemInfoIndex' => [ + 'description' => '商品信息坐标,此字段不用填。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PromotionEnd' => [ + 'description' => '促销结束时间 UTC格式 "yyyy-MM-dd\'T\'HH:mm:ss\'Z\'"。', + 'type' => 'string', + 'example' => '2020-02-11T00:00:00Z', + ], + 'ItemBarCode' => [ + 'description' => '商品条码。', + 'type' => 'string', + 'example' => '01838', + ], + 'BeClearance' => [ + 'description' => '是否添加了自定义属性。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateSceneId\\": \\"1223\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"TotalCount\\": 100,\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Items\\": [\\n {\\n \\"ActionPrice\\": 500,\\n \\"ItemTitle\\": \\"纯牛奶\\",\\n \\"BrandName\\": \\"阿里巴巴\\",\\n \\"SourceCode\\": \\"123456\\",\\n \\"PriceUnit\\": \\"瓶\\",\\n \\"ForestFirstId\\": \\"酒类\\",\\n \\"CustomizeFeatureF\\": \\"自定义属性F\\",\\n \\"CustomizeFeatureA\\": \\"自定义属性A\\",\\n \\"CustomizeFeatureK\\": \\"自定义属性K\\",\\n \\"TemplateSceneId\\": \\"11223\\",\\n \\"CustomizeFeatureD\\": \\"自定义属性D\\",\\n \\"MemberPrice\\": 4000,\\n \\"PromotionStart\\": \\"2022-04-25T16:00:00Z\\",\\n \\"ModelNumber\\": \\"CH8850AS\\",\\n \\"CategoryName\\": \\"手机\\",\\n \\"CustomizeFeatureE\\": \\"自定义属性E\\",\\n \\"SuggestPrice\\": 500,\\n \\"SaleSpec\\": \\"1台/盒\\",\\n \\"PromotionText\\": \\"买一送一\\",\\n \\"Rank\\": \\"一级\\",\\n \\"PromotionReason\\": \\"情人节活动\\",\\n \\"CustomizeFeatureG\\": \\"自定义属性G\\",\\n \\"SalesPrice\\": 500,\\n \\"CustomizeFeatureH\\": \\"自定义属性H\\",\\n \\"OriginalPrice\\": 500,\\n \\"GmtModified\\": \\"2020-03-09T00:00:00Z\\",\\n \\"CustomizeFeatureI\\": \\"自定义属性I\\",\\n \\"ProductionPlace\\": \\"中国\\",\\n \\"CustomizeFeatureB\\": \\"1:1:16\\",\\n \\"ItemShortTitle\\": \\"牛奶\\",\\n \\"CustomizeFeatureN\\": \\"自定义属性N\\",\\n \\"BeMember\\": false,\\n \\"TaxFee\\": \\"增值税\\",\\n \\"InventoryStatus\\": \\"OUT_OF_STOCK\\",\\n \\"SupplierName\\": \\"天猫超市\\",\\n \\"ItemPicUrl\\": \\"http://m.taobao.com/xxx.html\\",\\n \\"EnergyEfficiency\\": \\"1kw/h\\",\\n \\"CustomizeFeatureL\\": \\"自定义属性L\\",\\n \\"CustomizeFeatureC\\": \\"自定义属性C\\",\\n \\"ItemId\\": \\"123456\\",\\n \\"Manufacturer\\": \\"广东省深圳\\",\\n \\"Material\\": \\"金属\\",\\n \\"CustomizeFeatureO\\": \\"自定义属性O\\",\\n \\"CustomizeFeatureP\\": \\"自定义属性P\\",\\n \\"CustomizeFeatureQ\\": \\"自定义属性Q\\",\\n \\"CustomizeFeatureR\\": \\"自定义属性R\\",\\n \\"CustomizeFeatureS\\": \\"自定义属性S\\",\\n \\"CustomizeFeatureT\\": \\"自定义属性T\\",\\n \\"CustomizeFeatureU\\": \\"自定义属性U\\",\\n \\"CustomizeFeatureV\\": \\"自定义属性V\\",\\n \\"CustomizeFeatureW\\": \\"自定义属性W\\",\\n \\"CustomizeFeatureX\\": \\"自定义属性X\\",\\n \\"CustomizeFeatureY\\": \\"自定义属性Y\\",\\n \\"CustomizeFeatureZ\\": \\"自定义属性Z\\",\\n \\"CustomizeFeatureJ\\": \\"酸酸甜甜,肉厚饱满\\",\\n \\"GmtCreate\\": \\"2020-03-09T00:00:00Z\\",\\n \\"CustomizeFeatureM\\": \\"自定义属性M\\",\\n \\"BePromotion\\": false,\\n \\"SkuId\\": \\"123456\\",\\n \\"BeSourceCode\\": false,\\n \\"ForestSecondId\\": \\"白酒\\",\\n \\"ItemQrCode\\": \\"http://m.taobao.com/xxx.html\\",\\n \\"ItemInfoIndex\\": 1,\\n \\"PromotionEnd\\": \\"2020-02-11T00:00:00Z\\",\\n \\"ItemBarCode\\": \\"01838\\",\\n \\"BeClearance\\": true\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询商品', + 'summary' => '查询商品信。', + ], + 'AddUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '阿里云子账号UID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '134****', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端token', + 'type' => 'string', + 'required' => false, + 'example' => '1*', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统扩展字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"\\n E69C8998-1787-4999-8C75-D663FF1173CF\\n The specified resource type is invalid.\\n true\\n MandatoryParameters\\n -1001\\n success\\n The specified store %s does not exist.\\n PlatformResponseError.%s\\n","errorExample":""}]', + 'title' => '新增用户', + 'summary' => '新增用户。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '阿里云子账号UID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1344***', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统扩展字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 8F124625-DF0A-4B08-B205-2CF538FAF713\\n true\\n\\n8F124625-DF0A-4B08-B205-2CF538FAF713\\ntrue","errorExample":""}]', + 'title' => '删除用户', + 'summary' => '删除用户。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'AssignUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'Stores', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID列表。', + 'type' => 'string', + 'required' => false, + 'example' => '[s-dxsxxxxxx,s-dxsyyyyyyy]', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '阿里云子账号UID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1344***', + ], + ], + [ + 'name' => 'UserType', + 'in' => 'formData', + 'schema' => [ + 'description' => '用户类型,可选值:'."\n" + ."\n" + .'- `USER_TYPE_COMPANY_ROOT`:高级商家管理员,商家和门店相关账号的增删改查;'."\n" + ."\n" + .'- `USER_TYPE_COMPANY_ADMIN`:商家管理员,商家下的门店相关账号的增删改查;'."\n" + ."\n" + .'- `USER_TYPE_STORE_ADMIN`:门店管理员,一个门店管理员可关联多个门店,但一个门店仅能关联一个门店管理员;'."\n" + ."\n" + .'- `USER_TYPE_STORE_OPERATOR`:门店操作员,仅能关联一个门店;'."\n" + ."\n" + .'- `USER_TYPE_GUEST`:没有任何权限的访客。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'USER_TYPE_COMPANY_OWNER', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '扩展参数', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功是否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters ', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001 ', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters \\",\\n \\"Code\\": \\"-1001 \\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 8F124625-DF0A-4B08-B205-2CF538FAF713\\n true\\n\\n8F124625-DF0A-4B08-B205-2CF538FAF713\\ntrue","errorExample":""}]', + 'title' => 'AssignUser', + 'summary' => '分配用户权限。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'UnassignUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '阿里云子账号UID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1344***', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 8F124625-DF0A-4B08-B205-2CF538FAF713\\n true\\n\\n8F124625-DF0A-4B08-B205-2CF538FAF713\\ntrue","errorExample":""}]', + 'title' => 'UnassignUser', + 'summary' => '取消用户权限。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeUserLog' => [ + 'summary' => '查询用户的操作日志记录。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'ItemShortTitle', + 'in' => 'formData', + 'schema' => [ + 'description' => '商品短标题。', + 'type' => 'string', + 'required' => false, + 'example' => '牛奶', + ], + ], + [ + 'name' => 'OperationType', + 'in' => 'formData', + 'schema' => [ + 'description' => '日志类型,可选值:'."\n" + ."\n" + .'- `OPERATION_TYPE_BIND`:价签绑定'."\n" + ."\n" + .'- `OPERATION_TYPE_UNBIND`:价签解绑'."\n" + ."\n" + .'- `OPERATION_TYPE_FORCE_UPDATE`:价签刷新 - 主动刷新'."\n" + ."\n" + .'- `OPERATION_TYPE_ITEM_CHANGE_UPDATE`:价签刷新 - 商品更新'."\n" + ."\n" + .'- `OPERATION_TYPE_ALL_UPDATE`:价签刷新 - 门店级刷新'."\n" + ."\n" + .'- `OPERATION_TYPE_SEND_FAILED_RETRY`:操作重试 - 发送失败'."\n" + ."\n" + .'- `OPERATION_TYPE_DISPLAY_FAILED_RETRY`:操作重试 - 显示失败'."\n" + ."\n" + .'- `OPERATION_TYPE_LIGHT_UP_ESL_LED`:价签亮灯。', + 'type' => 'string', + 'required' => false, + 'example' => 'OPERATION_TYPE_BIND', + ], + ], + [ + 'name' => 'EslBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '价签条码。', + 'type' => 'string', + 'required' => false, + 'example' => '18bc5a63****', + ], + ], + [ + 'name' => 'FromDate', + 'in' => 'formData', + 'schema' => [ + 'description' => '查询操作日志:开始时间。按照ISO8601标准表示,使用UTC+0时间。格式为:yyyy-MM-ddTHH:mm:ssZ。', + 'type' => 'string', + 'required' => false, + 'example' => '2020-03-18T02:26:28Z', + ], + ], + [ + 'name' => 'ItemBarCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '商品条码。', + 'type' => 'string', + 'required' => false, + 'example' => '690560583****', + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'ToDate', + 'in' => 'formData', + 'schema' => [ + 'description' => '查询操作日志:结束时间。按照ISO8601标准表示,使用UTC+0时间。格式为:yyyy-MM-ddTHH:mm:ssZ。', + 'type' => 'string', + 'required' => false, + 'example' => '2020-03-17T02:26:28Z', + ], + ], + [ + 'name' => 'LogId', + 'in' => 'formData', + 'schema' => [ + 'description' => '日志ID。', + 'type' => 'string', + 'required' => false, + 'example' => '123456', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:每页显示条数,默认值10。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'OperationStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '日志状态,可选值:'."\n" + ."\n" + .'- `OPERATION_STATUS_NEW`:新建'."\n" + ."\n" + .'- `OPERATION_STATUS_SENT`:已发送'."\n" + ."\n" + .'- `OPERATION_STATUS_DISPLAY`:已显示'."\n" + ."\n" + .'- `OPERATION_STATUS_DELETE`:已删除'."\n" + ."\n" + .'- `OPERATION_STATUS_BREAK`:中断'."\n" + ."\n" + .'- `OPERATION_STATUS_DEVICE_RETRY_DISPLAY`:重试中'."\n" + ."\n" + .'- `OPERATION_STATUS_SEND_FAILED`:发送失败'."\n" + ."\n" + .'- `OPERATION_STATUS_DISPLAY_FAILED`:显示失败。', + 'type' => 'string', + 'required' => false, + 'example' => 'OPERATION_STATUS_NEW', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '阿里云账号UID。', + 'type' => 'string', + 'required' => false, + 'example' => '134****', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => 'POP请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '后端错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'PageSize' => [ + 'description' => '分页参数:每页显示条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'PageNumber' => [ + 'description' => '分页参数:当前页码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'TotalCount' => [ + 'description' => '总条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'UserLogs' => [ + 'description' => '日志信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EslBarCode' => [ + 'description' => '价签条码。', + 'type' => 'string', + 'example' => '18bc5a63****', + ], + 'OperationSendTime' => [ + 'description' => '操作发送时间。', + 'type' => 'string', + 'example' => '2020-03-17T02:25:17Z', + ], + 'ActionPrice' => [ + 'description' => '实际销售价格(单位:分)。', + 'type' => 'string', + 'example' => '500', + ], + 'UserId' => [ + 'description' => '阿里云子账号UID。', + 'type' => 'string', + 'example' => '134****', + ], + 'PriceUnit' => [ + 'description' => '计价单位。', + 'type' => 'string', + 'example' => '台', + ], + 'ResultCode' => [ + 'description' => '执行结果编码。', + 'type' => 'string', + 'example' => '2002', + ], + 'ItemId' => [ + 'description' => '自定义商品条码。', + 'type' => 'string', + 'example' => '123456', + ], + 'GmtModified' => [ + 'description' => '修改时间。', + 'type' => 'string', + 'example' => '2020-03-17T02:26:17Z', + ], + 'OperationType' => [ + 'description' => '日志类型,可选值:'."\n" + ."\n" + .'- `OPERATION_TYPE_BIND`:价签绑定'."\n" + ."\n" + .'- `OPERATION_TYPE_UNBIND`:价签解绑'."\n" + ."\n" + .'- `OPERATION_TYPE_FORCE_UPDATE`:价签刷新 - 主动刷新'."\n" + ."\n" + .'- `OPERATION_TYPE_ITEM_CHANGE_UPDATE`:价签刷新 - 商品更新'."\n" + ."\n" + .'- `OPERATION_TYPE_ALL_UPDATE`:价签刷新 - 门店级刷新'."\n" + ."\n" + .'- `OPERATION_TYPE_SEND_FAILED_RETRY`:操作重试 - 发送失败'."\n" + ."\n" + .'- `OPERATION_TYPE_DISPLAY_FAILED_RETRY`:操作重试 - 显示失败'."\n" + ."\n" + .'- `OPERATION_TYPE_TIMEOUT_RETRY`:操作重试 - 操作超时'."\n" + ."\n" + .'- `OPERATION_TYPE_ESL_NOT_FOUND_RETRY`:操作重试 - 未知设备'."\n" + ."\n" + .'- `OPERATION_TYPE_TEMPLATE_NOT_FOUND_RETRY`:操作重试 - 未知模板'."\n" + ."\n" + .'- `OPERATION_TYPE_DRAW_PICTURE_FAILED_RETRY`:操作重试- 异常模板'."\n" + ."\n" + .'- `OPERATION_TYPE_BATCH_TIMES_DIRECTIONAL_REFRESH`:价签刷新 - 商品导入'."\n" + ."\n" + .'- `OPERATION_TYPE_ON_LINE_RETRY`:价签刷新 - 上线重试'."\n" + ."\n" + .'- `OPERATION_TYPE_LIGHT_UP_ESL_LED`:亮灯。', + 'type' => 'string', + 'example' => 'OPERATION_TYPE_BIND', + ], + 'OperationResponseTime' => [ + 'description' => '操作响应时间。', + 'type' => 'string', + 'example' => '2020-03-17T02:26:17Z', + ], + 'OperationStatus' => [ + 'description' => '日志状态,返回值对应关系:'."\n" + ."\n" + .'- `OPERATION_STATUS_NEW`:新建操作'."\n" + ."\n" + .'- `OPERATION_STATUS_SENT`:发送操作'."\n" + ."\n" + .'- `OPERATION_STATUS_DISPLAY`:完成操作'."\n" + ."\n" + .'- `OPERATION_STATUS_DELETE`:删除操作'."\n" + ."\n" + .'- `OPERATION_STATUS_DEVICE_RETRY_DISPLAY`:重试操作'."\n" + ."\n" + .'- `OPERATION_STATUS_SEND_FAILED`:发送失败'."\n" + ."\n" + .'- `OPERATION_STATUS_DISPLAY_FAILED`:刷新失败。', + 'type' => 'string', + 'example' => 'OPERATION_STATUS_NEW', + ], + 'StoreId' => [ + 'description' => '门店ID。', + 'type' => 'string', + 'example' => 's-dxsxxx****', + ], + 'ItemShortTitle' => [ + 'description' => '商品短标题。', + 'type' => 'string', + 'example' => '牛奶', + ], + 'LogId' => [ + 'description' => '日志ID。', + 'type' => 'string', + 'example' => '123456', + ], + 'BePromotion' => [ + 'description' => '是否促销。', + 'type' => 'boolean', + 'example' => 'false', + ], + 'GmtCreate' => [ + 'description' => '创建时间。', + 'type' => 'string', + 'example' => '2020-03-17T02:26:17Z', + ], + 'EslSignal' => [ + 'description' => '价签信号强度;', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'SpendTime' => [ + 'description' => '耗时(单位:ms)。', + 'type' => 'string', + 'example' => '10', + ], + 'ItemBarCode' => [ + 'description' => '商品条码。', + 'type' => 'string', + 'example' => '690560583****', + ], + 'I18nResultKey' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100,\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"UserLogs\\": [\\n {\\n \\"EslBarCode\\": \\"18bc5a63****\\",\\n \\"OperationSendTime\\": \\"2020-03-17T02:25:17Z\\",\\n \\"ActionPrice\\": \\"500\\",\\n \\"UserId\\": \\"134****\\",\\n \\"PriceUnit\\": \\"台\\",\\n \\"ResultCode\\": \\"2002\\",\\n \\"ItemId\\": \\"123456\\",\\n \\"GmtModified\\": \\"2020-03-17T02:26:17Z\\",\\n \\"OperationType\\": \\"OPERATION_TYPE_BIND\\",\\n \\"OperationResponseTime\\": \\"2020-03-17T02:26:17Z\\",\\n \\"OperationStatus\\": \\"OPERATION_STATUS_NEW\\",\\n \\"StoreId\\": \\"s-dxsxxx****\\",\\n \\"ItemShortTitle\\": \\"牛奶\\",\\n \\"LogId\\": \\"123456\\",\\n \\"BePromotion\\": false,\\n \\"GmtCreate\\": \\"2020-03-17T02:26:17Z\\",\\n \\"EslSignal\\": 50,\\n \\"SpendTime\\": \\"10\\",\\n \\"ItemBarCode\\": \\"690560583****\\",\\n \\"I18nResultKey\\": \\"\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 68\\n 10\\n 78DDE5D5-7E14-4BED-92AF-C465C74BCDBF\\n 1\\n true\\n \\n 2020-03-16T06:38:56Z\\n 999\\n 2020-03-16T06:38:57Z\\n 123456\\n 0\\n 123456\\n 2020-03-16T06:38:56Z\\n 18bc5a63****\\n \\n 促销商品\\n s-ph5agd****\\n OPERATION_STATUS_SEND_FAILED\\n OPERATION_TYPE_BIND\\n 123456\\n Error00000011|Assemble sending package fail!\\n true\\n \\n \\n 2020-03-16T06:36:46Z\\n 1688\\n 2020-03-16T06:36:47Z\\n 123456\\n 0\\n 123456\\n 2020-03-16T06:36:46Z\\n 18bc5a63****\\n \\n 常规商品\\n s-ph5agd****\\n OPERATION_STATUS_SEND_FAILED\\n OPERATION_TYPE_BIND\\n 123456\\n Error00000011|Assemble sending package fail!\\n false\\n \\n\\n78DDE5D5-7E14-4BED-92AF-C465C74BCDBF\\ntrue","errorExample":""}]', + 'title' => '查询操作日志', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeUsers' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'UserType', + 'in' => 'formData', + 'schema' => [ + 'description' => '用户类型,可选值:'."\n" + ."\n" + .'- `USER_TYPE_COMPANY_OWNER`:商家主账号'."\n" + ."\n" + .'- `USER_TYPE_COMPANY_ROOT`:高级商家管理员'."\n" + ."\n" + .'- `USER_TYPE_COMPANY_ADMIN`:商家管理员'."\n" + ."\n" + .'- `USER_TYPE_STORE_ADMIN`:门店管理员'."\n" + ."\n" + .'- `USER_TYPE_STORE_OPERATOR`:门店操作员'."\n" + ."\n" + .'- `USER_TYPE_GUEST`:没有任何权限的访客。'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'USER_TYPE_COMPANY_OWNER', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '阿里云子账号UID。', + 'type' => 'string', + 'required' => false, + 'example' => '1344***', + ], + ], + [ + 'name' => 'UserName', + 'in' => 'formData', + 'schema' => [ + 'description' => '用户姓名。', + 'type' => 'string', + 'required' => false, + 'example' => '张三', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:每页显示条数,默认值10。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'PageSize' => [ + 'description' => '分页参数:每页显示条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'PageNumber' => [ + 'description' => '分页参数:当前页码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'TotalCount' => [ + 'description' => '总条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'Users' => [ + 'description' => '用户信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UserType' => [ + 'description' => '用户类型,可选值:'."\n" + ."\n" + .'- `USER_TYPE_COMPANY_OWNER`:商家主账号'."\n" + ."\n" + .'- `USER_TYPE_COMPANY_ROOT`:高级商家管理员'."\n" + ."\n" + .'- `USER_TYPE_COMPANY_ADMIN`:商家管理员'."\n" + ."\n" + .'- `USER_TYPE_STORE_ADMIN`:门店管理员'."\n" + ."\n" + .'- `USER_TYPE_STORE_OPERATOR`:门店操作员'."\n" + ."\n" + .'- `USER_TYPE_GUEST`:没有任何权限的访客。', + 'type' => 'string', + 'example' => 'USER_TYPE_COMPANY_OWNER', + ], + 'UserId' => [ + 'description' => '阿里云子账号UID。', + 'type' => 'string', + 'example' => '1344***', + ], + 'Stores' => [ + 'description' => '门店ID列表。', + 'type' => 'string', + 'example' => '[s-dxsxxxxxx,s-dxsyyyyyyy]', + ], + 'UserName' => [ + 'description' => '用户姓名。', + 'type' => 'string', + 'example' => '张三', + ], + 'Bid' => [ + 'description' => '账号类型;'."\n" + .'26842:阿里云', + 'type' => 'string', + 'example' => '26842', + ], + 'OwnerId' => [ + 'description' => '阿里云主账号;', + 'type' => 'string', + 'example' => '1212124434535', + ], + 'DingTalkInfos' => [ + 'description' => '钉钉账号信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DingTalkCompanyId' => [ + 'description' => '钉钉商家ID', + 'type' => 'string', + 'example' => '13124', + ], + 'DingTalkUserId' => [ + 'description' => '钉钉用户ID', + 'type' => 'string', + 'example' => '3455566', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 100,\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"Users\\": [\\n {\\n \\"UserType\\": \\"USER_TYPE_COMPANY_OWNER\\",\\n \\"UserId\\": \\"1344***\\",\\n \\"Stores\\": \\"[s-dxsxxxxxx,s-dxsyyyyyyy]\\",\\n \\"UserName\\": \\"张三\\",\\n \\"Bid\\": \\"26842\\",\\n \\"OwnerId\\": \\"1212124434535\\",\\n \\"DingTalkInfos\\": [\\n {\\n \\"DingTalkCompanyId\\": \\"13124\\",\\n \\"DingTalkUserId\\": \\"3455566\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"100\\n10\\nE69C8998-1787-4999-8C75-D663FF1173CF\\nsuccess\\n1\\nPlatformResponseError.%s\\nThe specified store %s does not exist.\\nMandatoryParameters\\n\\n 张三\\n 1212124434535\\n 1344***\\n [s-dxsxxxxxx,s-dxsyyyyyyy]\\n 26842\\n USER_TYPE_COMPANY_OWNER\\n \\n 13124\\n 3455566\\n \\n\\nThe specified resource type is invalid.\\n-1001\\ntrue","errorExample":""}]', + 'title' => '查询用户', + 'summary' => '查询用户信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetUser' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'UserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '阿里云子账号UID。', + 'type' => 'string', + 'required' => false, + 'example' => '1344***', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'User' => [ + 'description' => '用户信息。', + 'type' => 'object', + 'properties' => [ + 'UserType' => [ + 'description' => '用户类型,可选值:'."\n" + ."\n" + .'USER_TYPE_COMPANY_OWNER:商家主账号'."\n" + .'USER_TYPE_COMPANY_ROOT:高级商家管理员'."\n" + .'USER_TYPE_COMPANY_ADMIN:商家管理员'."\n" + .'USER_TYPE_STORE_ADMIN:门店管理员'."\n" + .'USER_TYPE_STORE_OPERATOR:门店操作员'."\n" + .'USER_TYPE_GUEST:没有任何权限的访客。', + 'type' => 'string', + 'example' => 'USER_TYPE_COMPANY_OWNER', + ], + 'UserId' => [ + 'description' => '阿里云子账号UID。', + 'type' => 'string', + 'example' => '1344***', + ], + 'Stores' => [ + 'description' => '门店ID列表。', + 'type' => 'string', + 'example' => '[s-dxsxxxxxx,s-dxsyyyyyyy]', + ], + 'UserName' => [ + 'description' => '用户姓名。', + 'type' => 'string', + 'example' => '张三', + ], + 'Bid' => [ + 'description' => '账号类型;'."\n" + ."\n" + .'26842:阿里云', + 'type' => 'string', + 'example' => '26842', + ], + 'OwnerId' => [ + 'description' => '阿里云主账号', + 'type' => 'string', + 'example' => '12143124132', + ], + 'DingTalkInfos' => [ + 'description' => '钉钉账号信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DingTalkCompanyId' => [ + 'description' => '钉钉商家ID', + 'type' => 'string', + 'example' => '131242', + ], + 'DingTalkUserId' => [ + 'description' => '钉钉用户ID;', + 'type' => 'string', + 'example' => '34352525', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"User\\": {\\n \\"UserType\\": \\"USER_TYPE_COMPANY_OWNER\\",\\n \\"UserId\\": \\"1344***\\",\\n \\"Stores\\": \\"[s-dxsxxxxxx,s-dxsyyyyyyy]\\",\\n \\"UserName\\": \\"张三\\",\\n \\"Bid\\": \\"26842\\",\\n \\"OwnerId\\": \\"12143124132\\",\\n \\"DingTalkInfos\\": [\\n {\\n \\"DingTalkCompanyId\\": \\"131242\\",\\n \\"DingTalkUserId\\": \\"34352525\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => '查询单个用户', + 'summary' => '查询单个用户信息。', + ], + 'AddApDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'ApMac', + 'in' => 'formData', + 'schema' => [ + 'description' => '基站设备的Mac地址,可调用DescribeApDevices获取。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '11:22:33:44:55:66', + ], + ], + [ + 'name' => 'Remark', + 'in' => 'formData', + 'schema' => [ + 'description' => '备注。', + 'type' => 'string', + 'required' => false, + 'example' => '天猫店的基站设备', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端token', + 'type' => 'string', + 'required' => false, + 'example' => '1*', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + [ + 'name' => 'SerialNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '设备SN号', + 'type' => 'string', + 'required' => false, + 'example' => '18****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 8F124625-DF0A-4B08-B205-2CF538FAF713\\n true\\n\\n8F124625-DF0A-4B08-B205-2CF538FAF713\\ntrue","errorExample":""}]', + 'title' => '增加基站设备', + 'summary' => '增加指定MAC地址的基站设备,会自动尝试进行激活。', + 'requestParamsDescription' => 'Remark字段,暂不支持。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteApDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'ApMac', + 'in' => 'formData', + 'schema' => [ + 'description' => '基站设备的Mac地址。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '11:22:33:44:55:66', + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 8F124625-DF0A-4B08-B205-2CF538FAF713\\n true\\n\\n8F124625-DF0A-4B08-B205-2CF538FAF713\\ntrue","errorExample":""}]', + 'title' => '删除基站设备', + 'summary' => '删除指定MAC地址的基站设备。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ActivateApDevice' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'ApMac', + 'in' => 'formData', + 'schema' => [ + 'description' => '基站设备的Mac地址。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '11:22:33:44:55:66', + ], + ], + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求状态标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","errorExample":""},{"type":"xml","example":"\\n E69C8998-1787-4999-8C75-D663FF1173CF\\n The specified resource type is invalid.\\n true\\n MandatoryParameters\\n -1001\\n success\\n The specified store %s does not exist.\\n PlatformResponseError.%s\\n","errorExample":""}]', + 'title' => 'ActivateApDevice', + 'summary' => '激活基站设备', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeApDevices' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'StoreId', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID或商家自定义门店ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 's-dxsxx****', + ], + ], + [ + 'name' => 'ApMac', + 'in' => 'formData', + 'schema' => [ + 'description' => '基站设备的Mac地址。', + 'type' => 'string', + 'required' => false, + 'example' => '112233445566', + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => '设备在线或离线状态 ,true:在线、false:离线。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:每页显示条数,默认值10。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Model', + 'in' => 'formData', + 'schema' => [ + 'description' => '设备型号。', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun', + ], + ], + [ + 'name' => 'BeActivate', + 'in' => 'formData', + 'schema' => [ + 'description' => '设备的激活状态。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统保留字段,请忽略', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '内部错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '消息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'PageNumber' => [ + 'description' => '分页参数:当前页码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '分页参数:每页显示条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '总条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'ApDevices' => [ + 'description' => '基站设备列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => '在线状态:离线。', + 'type' => 'boolean', + 'example' => 'false', + ], + 'StoreId' => [ + 'description' => '门店ID。', + 'type' => 'string', + 'example' => 's-cxsds****', + ], + 'Model' => [ + 'description' => '设备型号。', + 'type' => 'string', + 'example' => 'aliyun', + ], + 'Remark' => [ + 'description' => '备注。', + 'type' => 'string', + 'example' => '测试数据', + ], + 'BeActivate' => [ + 'description' => '是否激活。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Mac' => [ + 'description' => '设备的mac地址。', + 'type' => 'string', + 'example' => '112233445566', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"ApDevices\\": [\\n {\\n \\"Status\\": false,\\n \\"StoreId\\": \\"s-cxsds****\\",\\n \\"Model\\": \\"aliyun\\",\\n \\"Remark\\": \\"测试数据\\",\\n \\"BeActivate\\": true,\\n \\"Mac\\": \\"112233445566\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"200\\n\\n 2\\n 10\\n E210B842-6AD3-4420-833A-4ED8756DBFD0\\n 1\\n \\n true\\n true\\n s-xsaa****\\n 112233445566\\n \\n \\n true\\n true\\n s-xsaa****\\n 141FBA86****\\n \\n true\\n\\nE210B842-6AD3-4420-833A-4ED8756DBFD0\\ntrue","errorExample":""}]', + 'title' => '查询基站设备', + 'summary' => '查询基站设备信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ApplyCompanyTemplateVersionToStores' => [ + 'summary' => '版本应用到门店。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'TemplateVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店模板版本号;', + 'type' => 'string', + 'required' => true, + 'example' => '1.1.0', + ], + ], + [ + 'name' => 'Stores', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店ID列表。请转为JSON字符串', + 'type' => 'string', + 'required' => false, + 'example' => '[\\"s-y9eoecc7mu\\"]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '450E6CA4-5C5D-5DED-86C2-2B577C291764', + ], + 'ErrorMessage' => [ + 'description' => '调用失败时,返回的出错信息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '是否成功', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => 'HTTP状态码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '响应消息,若成功请求为success', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数ErrMessage错误信息中的%s。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '错误代码', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450E6CA4-5C5D-5DED-86C2-2B577C291764\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","type":"json"}]', + ], + 'DescribeStoreByTemplateVersion' => [ + 'summary' => '查询模板应用到的门店', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'TemplateVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店模板版本号;', + 'type' => 'string', + 'required' => false, + 'example' => '1.1.0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => 'HTTP状态码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '响应消息,若成功请求为success', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的%s。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '与本次请求相关的动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'Stores' => [ + 'description' => '门店信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '门店信息列表。', + 'type' => 'object', + 'properties' => [ + 'StoreName' => [ + 'description' => '门店名称。', + 'type' => 'string', + 'example' => '天猫旗舰店', + ], + 'StoreId' => [ + 'description' => '门店ID。', + 'type' => 'string', + 'example' => 's-nxwd8sutd6', + ], + 'ParentId' => [ + 'description' => '父门店ID。', + 'type' => 'string', + 'example' => 'rm-2zeb2rt850x880j1n', + ], + 'UserStoreCode' => [ + 'description' => '用户门店编码', + 'type' => 'string', + 'example' => 's-2zeb2r1t12sq', + ], + 'GmtModified' => [ + 'description' => '修改时间', + 'type' => 'string', + 'example' => '2020-03-06T02:58:16Z', + ], + 'Phone' => [ + 'type' => 'string', + ], + 'Level' => [ + 'description' => '级别。', + 'type' => 'string', + 'example' => '1级', + ], + 'TemplateVersion' => [ + 'description' => '门店模板版本号;', + 'type' => 'string', + 'example' => '1.1.0', + ], + 'TimeZone' => [ + 'description' => '时区。', + 'type' => 'string', + 'example' => 'GMT+08:00', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"Stores\\": [\\n {\\n \\"StoreName\\": \\"天猫旗舰店\\",\\n \\"StoreId\\": \\"s-nxwd8sutd6\\",\\n \\"ParentId\\": \\"rm-2zeb2rt850x880j1n\\",\\n \\"UserStoreCode\\": \\"s-2zeb2r1t12sq\\",\\n \\"GmtModified\\": \\"2020-03-06T02:58:16Z\\",\\n \\"Phone\\": \\"\\",\\n \\"Level\\": \\"1级\\",\\n \\"TemplateVersion\\": \\"1.1.0\\",\\n \\"TimeZone\\": \\"GMT+08:00\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeCompanyTemplateVersions' => [ + 'summary' => '版本列表', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enumValueTitles' => [ + 1 => '1', + ], + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:每页显示条数,默认值10。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enumValueTitles' => [ + 10 => '10', + ], + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', + 'description' => '总数。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [ + 18 => '18', + ], + 'example' => '16', + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6248311A-3296-5084-B057-D0EC3DCE5C47', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => 'POP请求成功与否标识。', + 'type' => 'boolean', + 'enumValueTitles' => [ + 'True' => 'True', + ], + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。取值说明如下:请求成功:不返回ErrorCode字段。 请求失败:返回ErrorCode字段。具体信息,请参见本文的错误码列表。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => 'HTTP状态码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '响应消息,若成功请求为success', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数ErrMessage错误信息中的%s。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '与本次请求相关的动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'PageSize' => [ + 'description' => '分页参数:每页显示条数,默认值10。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'PageNumber' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Versions' => [ + 'description' => '版本列表。', + 'type' => 'array', + 'items' => [ + 'description' => '版本列表。', + 'type' => 'object', + 'properties' => [ + 'Version' => [ + 'description' => '版本号。', + 'type' => 'string', + 'example' => '1.1.0', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 16,\\n \\"RequestId\\": \\"6248311A-3296-5084-B057-D0EC3DCE5C47\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"Versions\\": [\\n {\\n \\"Version\\": \\"1.1.0\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeEslModelByTemplateVersion' => [ + 'summary' => '按版本查询设备类型', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'TemplateVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店模板版本号;', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + '1.1.0' => '1.1.0', + ], + 'example' => '1.1.0', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:每页显示条数,默认值10。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', + 'description' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '7', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '38F85526-14B8-54A8-A0BB-3B200BBC3682', + ], + 'ErrorMessage' => [ + 'description' => '错误消息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求状态标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。取值说明如下:请求成功:不返回ErrorCode字段。 请求失败:返回ErrorCode字段。具体信息,请参见本文的错误码列表。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => 'HTTP状态码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数ErrMessage错误信息中的%s。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'PageNumber' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '分页参数:每页显示条数,默认值10。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'EslModels' => [ + 'description' => '模板版本信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '模板版本信息列表。', + 'type' => 'object', + 'properties' => [ + 'ModelId' => [ + 'description' => '模型ID', + 'type' => 'string', + 'example' => '9946366490094af4ab16bfe023ad5f22', + ], + 'Name' => [ + 'description' => '模型名称。', + 'type' => 'string', + 'example' => 'test', + ], + 'Image' => [ + 'description' => '商品图片。', + 'type' => 'string', + 'example' => '/9xwqexcdaxasada....', + ], + 'DeviceType' => [ + 'description' => '设备类型', + 'type' => 'string', + 'example' => '3', + ], + 'Vendor' => [ + 'description' => '厂商名称'."\n" + ."\n", + 'type' => 'string', + 'example' => 'ali', + ], + 'ScreenWidth' => [ + 'description' => '屏幕宽度。', + 'type' => 'integer', + 'format' => 'int32', + ], + 'ScreenHeight' => [ + 'description' => '屏幕高度。', + 'type' => 'integer', + 'format' => 'int32', + ], + 'EslSize' => [ + 'description' => '价签型号。', + 'type' => 'string', + 'example' => '800X480', + ], + 'EslPhysicalSize' => [ + 'description' => '内存大小。单位:gib', + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 7,\\n \\"RequestId\\": \\"38F85526-14B8-54A8-A0BB-3B200BBC3682\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"EslModels\\": [\\n {\\n \\"ModelId\\": \\"9946366490094af4ab16bfe023ad5f22\\",\\n \\"Name\\": \\"test\\",\\n \\"Image\\": \\"/9xwqexcdaxasada....\\",\\n \\"DeviceType\\": \\"3\\",\\n \\"Vendor\\": \\"ali\\",\\n \\"ScreenWidth\\": 0,\\n \\"ScreenHeight\\": 0,\\n \\"EslSize\\": \\"800X480\\",\\n \\"EslPhysicalSize\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeTemplateByModel' => [ + 'summary' => '模板查询。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'EslSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '价签尺寸', + 'type' => 'string', + 'required' => false, + 'example' => '200X200', + ], + ], + [ + 'name' => 'DeviceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '设备类型', + 'type' => 'string', + 'required' => false, + 'example' => '2', + ], + ], + [ + 'name' => 'TemplateVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店模板版本号;', + 'type' => 'string', + 'required' => false, + 'example' => '1.1.0', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:当前页码。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '分页参数:每页显示条数。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'B9E230F7-8BC6-5E4B-B540-14142DD94E3B', + ], + 'ErrorMessage' => [ + 'description' => '调用失败时,返回的出错信息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '当前商品插入成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。取值说明如下:请求成功:不返回ErrorCode字段。 请求失败:返回ErrorCode字段。具体信息,请参见本文的错误码列表。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => '后端错误码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '响应消息', + 'type' => 'string', + 'example' => 'null', + ], + 'DynamicMessage' => [ + 'description' => '动态消息。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'TotalCount' => [ + 'description' => '模板总数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'PageSize' => [ + 'description' => '分页参数:每页显示条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'PageNumber' => [ + 'description' => '分页参数:当前页码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Items' => [ + 'description' => '商品信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BasePicture' => [ + 'description' => '图片。', + 'type' => 'string', + ], + 'TemplateId' => [ + 'description' => '模板ID', + 'type' => 'string', + 'example' => '772629024140898304', + ], + 'TemplateName' => [ + 'description' => '模板名称', + 'type' => 'string', + 'example' => '常规', + ], + 'EslSize' => [ + 'description' => '价签尺寸', + 'type' => 'string', + 'example' => '250X122', + ], + 'EslType' => [ + 'description' => '价签类型,返回值对应关系:-[unk]esl_type_e_ink[unk]:电子墨水屏幕-[unk]px_type_dm_lcd[unk]:段码屏幕-[unk]x-ddl_type_full_color[unk]:彩色屏幕。', + 'type' => 'string', + ], + 'Width' => [ + 'description' => '宽。单位:px。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '400', + ], + 'Height' => [ + 'description' => '视频高。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + 'TemplateVersion' => [ + 'description' => '门店模板版本号;', + 'type' => 'string', + 'example' => '15.15.15', + ], + 'Layout' => [ + 'description' => '布局信息。', + 'type' => 'string', + 'example' => '1', + ], + 'Scene' => [ + 'description' => '使用场景,选择合适的使用场景', + 'type' => 'string', + 'example' => 'MEMBER', + ], + 'Brand' => [ + 'description' => '品牌。', + 'type' => 'string', + 'example' => 'ZTE', + ], + 'TemplateSceneId' => [ + 'description' => '匹配自定义模板ID显示', + 'type' => 'string', + 'example' => '大甩卖', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B9E230F7-8BC6-5E4B-B540-14142DD94E3B\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"null\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"Items\\": [\\n {\\n \\"BasePicture\\": \\"\\",\\n \\"TemplateId\\": \\"772629024140898304\\",\\n \\"TemplateName\\": \\"常规\\",\\n \\"EslSize\\": \\"250X122\\",\\n \\"EslType\\": \\"\\",\\n \\"Width\\": 400,\\n \\"Height\\": 200,\\n \\"TemplateVersion\\": \\"15.15.15\\",\\n \\"Layout\\": \\"1\\",\\n \\"Scene\\": \\"MEMBER\\",\\n \\"Brand\\": \\"ZTE\\",\\n \\"TemplateSceneId\\": \\"大甩卖\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeAvailableEslModels' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'ModelId', + 'in' => 'formData', + 'schema' => [ + 'title' => '设备模型id', + 'description' => '设备模型id', + 'type' => 'string', + 'required' => false, + 'example' => '6cd23870539e43759e65eef5b6808a49', + ], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'title' => '模型名称', + 'description' => '模型名称', + 'type' => 'string', + 'required' => false, + 'example' => 'aa_ssaaa', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'title' => '分页号', + 'description' => '分页号', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '1000', + 'minimum' => '1', + 'example' => '1', + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '分页大小', + 'description' => '分页大小', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '10', + 'default' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'DescribeAvailableEslModelsResponse', + 'description' => 'DescribeAvailableEslModelsResponse', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => '总数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '436', + ], + 'PageSize' => [ + 'description' => '分页参数:每页显示条数,默认值10。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'PageNumber' => [ + 'description' => '分页参数:当前页码,默认值1。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'EslModels' => [ + 'description' => '价签信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '价签信息列表。', + 'type' => 'object', + 'properties' => [ + 'ModelId' => [ + 'title' => '模型id', + 'description' => '模型id', + 'type' => 'string', + 'example' => '201167', + ], + 'Name' => [ + 'title' => '名称', + 'description' => '名称', + 'type' => 'string', + 'example' => '中文名测试', + ], + 'DeviceType' => [ + 'title' => '设备颜色类型', + 'description' => '设备类型', + 'type' => 'string', + 'example' => '3', + ], + 'Vendor' => [ + 'title' => '厂商', + 'description' => '厂商', + 'type' => 'string', + 'example' => 'ali', + ], + 'ScreenWidth' => [ + 'title' => '屏幕宽度', + 'description' => '屏幕宽度', + 'type' => 'integer', + 'format' => 'int32', + ], + 'ScreenHeight' => [ + 'title' => '屏幕高度', + 'description' => '屏幕高度', + 'type' => 'integer', + 'format' => 'int32', + ], + 'EslSize' => [ + 'title' => '屏幕尺寸', + 'description' => '屏幕尺寸', + 'type' => 'string', + 'example' => '800X480', + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E69C8998-1787-4999-8C75-D663FF1173CF', + ], + 'Success' => [ + 'description' => '请求状态标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Message' => [ + 'description' => '响应消息,若成功请求为success', + 'type' => 'string', + 'example' => 'success', + ], + 'ErrorCode' => [ + 'description' => '错误码', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'ErrorMessage' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Code' => [ + 'description' => '状态码。返回200代表成功。', + 'type' => 'string', + 'example' => '-1001', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数ErrMessage错误信息中的%s。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 436,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"EslModels\\": [\\n {\\n \\"ModelId\\": \\"201167\\",\\n \\"Name\\": \\"中文名测试\\",\\n \\"DeviceType\\": \\"3\\",\\n \\"Vendor\\": \\"ali\\",\\n \\"ScreenWidth\\": 0,\\n \\"ScreenHeight\\": 0,\\n \\"EslSize\\": \\"800X480\\"\\n }\\n ],\\n \\"RequestId\\": \\"E69C8998-1787-4999-8C75-D663FF1173CF\\",\\n \\"Success\\": true,\\n \\"Message\\": \\"success\\",\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Code\\": \\"-1001\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\"\\n}","type":"json"}]', + ], + 'DeleteCompanyTemplate' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'formData', + 'schema' => [ + 'description' => '模板ID', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '742842379343605760', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统扩展字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'A7571D49-9B36-5782-AD3D-32C8436D45B7', + ], + 'ErrorMessage' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => 'POP请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码。取值说明如下:请求成功:不返回ErrorCode字段。 请求失败:返回ErrorCode字段。具体信息,请参见本文的错误码列表。', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'Code' => [ + 'description' => 'HTTP状态码。', + 'type' => 'string', + 'example' => '-1001', + ], + 'Message' => [ + 'description' => '错误代码。', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数ErrMessage错误信息中的%s。', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7571D49-9B36-5782-AD3D-32C8436D45B7\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"Code\\": \\"-1001\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","type":"json"}]', + ], + 'AddCompanyTemplate' => [ + 'summary' => '模板新增。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'Scene', + 'in' => 'formData', + 'schema' => [ + 'description' => '使用场景,选择合适的使用场景', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'NORMAL', + ], + ], + [ + 'name' => 'ExtraParams', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统扩展字段,请忽略;', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + [ + 'name' => 'EslSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '价签尺寸', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '800X480', + ], + ], + [ + 'name' => 'TemplateName', + 'in' => 'formData', + 'schema' => [ + 'description' => '模板名称', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '促销', + 'maxLength' => 128, + 'minLength' => 0, + ], + ], + [ + 'name' => 'Layout', + 'in' => 'formData', + 'schema' => [ + 'description' => '布局信息。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '2', + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'TemplateVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '门店模板版本;', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1.1.0', + ], + ], + [ + 'name' => 'DeviceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '设备类型', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '3', + ], + ], + [ + 'name' => 'TemplateType', + 'in' => 'formData', + 'schema' => [ + 'description' => '模板类型', + 'type' => 'string', + 'required' => false, + 'example' => 'normal', + ], + ], + [ + 'name' => 'IfPromotion', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否促销,取值:-true:是。-false:否。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'IfSourceCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否溯源,取值:-true:是。-false:否。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'IfDefault', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否默认模板,取值:-true:是。-false:否。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'IfMember', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否会员,取值:-true:是。-false:否。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'IfOutOfInventory', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否缺货,取值:-true:是。-false:否。', + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'Vendor', + 'in' => 'formData', + 'schema' => [ + 'description' => '设备厂商。', + 'type' => 'string', + 'required' => false, + 'example' => 'ali', + ], + ], + [ + 'name' => 'GroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => '模板组id', + 'type' => 'string', + 'required' => false, + 'example' => '9', + ], + ], + [ + 'name' => 'TemplateSceneId', + 'in' => 'formData', + 'schema' => [ + 'description' => '自定义模板ID', + 'type' => 'string', + 'required' => false, + 'example' => '大甩卖', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'C033DCCE-FA85-5AD8-9A7C-C3F41220B898', + ], + 'ErrorMessage' => [ + 'description' => '调用失败时,返回的出错信息。', + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Success' => [ + 'description' => '请求成功与否标识。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '错误码', + 'type' => 'string', + 'example' => 'InvalidResourceType.NotSupported', + ], + 'Code' => [ + 'description' => 'HTTP状态码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '响应消息,若成功请求为success', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'description' => '错误消息', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 418 => [ + [ + 'errorCode' => 'DuplicateTemplateSceneIdErrorPub', + 'errorMessage' => 'The TemplateSceneId is duplicated.', + ], + [ + 'errorCode' => 'ContainerLayoutBindEslDevicePub', + 'errorMessage' => 'The Layout of the Container has been bound to an ESL device.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C033DCCE-FA85-5AD8-9A7C-C3F41220B898\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"InvalidResourceType.NotSupported\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\"\\n}","type":"json"}]', + ], + 'SyncAddMaterial' => [ + 'summary' => '异步添加媒体素材', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '素材名称', + 'type' => 'string', + 'required' => true, + 'example' => 'xx图片', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'description' => '素材链接', + 'type' => 'string', + 'required' => true, + 'example' => 'https://iotx-alg-picture-auto.oss-cn-shanghai.aliyuncs.com/0622/zxytest/12.jpg', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'SyncAddEslMaterialResponse', + 'description' => 'SyncAddEslMaterialResponse', + 'type' => 'object', + 'properties' => [ + 'Result' => [ + 'description' => '返回结果', + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'title' => '是否成功', + 'description' => '是否成功', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Message' => [ + 'title' => '基本信息', + 'description' => '基本信息', + 'type' => 'string', + 'example' => 'success', + ], + 'DynamicMessage' => [ + 'title' => 'POP动态补充信息', + 'description' => 'POP动态补充信息', + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + 'DynamicCode' => [ + 'title' => 'POP动态补充信息', + 'description' => 'POP动态补充信息', + 'type' => 'string', + ], + 'ErrorCode' => [ + 'title' => '错误类型 参考 ErrorCodes枚举', + 'description' => '错误类型 参考 ErrorCodes枚举', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + ], + ], + 'RequestId' => [ + 'description' => '请求ID'."\n", + 'type' => 'string', + 'example' => '450E6CA4-5C5D-5DED-86C2-2B577C291764'."\n", + ], + 'Success' => [ + 'description' => '是否成功'."\n" + ."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Message' => [ + 'description' => '调用失败时,返回的出错信息。'."\n" + ."\n", + 'type' => 'string', + 'example' => 'success', + ], + 'ErrorCode' => [ + 'description' => '错误码', + 'type' => 'string', + 'example' => 'MandatoryParameters', + ], + 'ErrorMessage' => [ + 'description' => '调用失败时,返回的出错信息。'."\n" + ."\n", + 'type' => 'string', + 'example' => 'The specified resource type is invalid.', + ], + 'Code' => [ + 'description' => 'HTTP状态码。', + 'type' => 'string', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态码', + 'type' => 'string', + 'example' => 'PlatformResponseError.%s'."\n", + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数ErrMessage错误信息中的%s。'."\n" + ."\n", + 'type' => 'string', + 'example' => 'The specified store %s does not exist.', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Result\\": {\\n \\"Success\\": true,\\n \\"Message\\": \\"success\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\",\\n \\"DynamicCode\\": \\"\\",\\n \\"ErrorCode\\": \\"MandatoryParameters\\"\\n },\\n \\"RequestId\\": \\"450E6CA4-5C5D-5DED-86C2-2B577C291764\\\\n\\",\\n \\"Success\\": true,\\n \\"Message\\": \\"success\\",\\n \\"ErrorCode\\": \\"MandatoryParameters\\",\\n \\"ErrorMessage\\": \\"The specified resource type is invalid.\\",\\n \\"Code\\": \\"200\\",\\n \\"DynamicCode\\": \\"PlatformResponseError.%s\\\\n\\",\\n \\"DynamicMessage\\": \\"The specified store %s does not exist.\\"\\n}","type":"json"}]', + ], + 'QueryTemplateListByGroupId' => [ + 'summary' => '根据分组id查询模板', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + [ + 'name' => 'GroupId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'ErrorCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PageNumber' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TemplateList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BasePicture' => [ + 'type' => 'string', + ], + 'TemplateId' => [ + 'type' => 'string', + ], + 'TemplateName' => [ + 'type' => 'string', + ], + 'EslSize' => [ + 'type' => 'string', + ], + 'EslType' => [ + 'type' => 'string', + ], + 'Width' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Height' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TemplateVersion' => [ + 'type' => 'string', + ], + 'Layout' => [ + 'type' => 'string', + ], + 'Scene' => [ + 'type' => 'string', + ], + 'Brand' => [ + 'type' => 'string', + ], + 'GroupId' => [ + 'type' => 'string', + ], + 'TemplateSceneId' => [ + 'type' => 'string', + ], + 'Relation' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'ap-northeast-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-2-pop', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-south-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-2', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-finance-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-finance-pop', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-gov-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-nu16-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-chengdu', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-edge-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-fujian', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-haidian-cm12-c01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-bj-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-finance', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-prod-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-2', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-internal-test-3', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-test-306', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong-finance-pop', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-huhehaote', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-north-2-gov-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao-nebula', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-et15-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-et2-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-inner', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-internal-test-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-finance-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-inner', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-st4-d01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-su18-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wuhan', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-yushanfang', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangbei-na61-b01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou-na62-a01', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhengzhou-nebula-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1-oxs', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'me-east-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'rus-west-1-pop', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'cloudesl.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'cloudesl.cn-hangzhou.aliyuncs.com', + ], + ], +]; -- cgit v1.2.3