summaryrefslogtreecommitdiff
path: root/data/zh_cn/linkedmall
diff options
context:
space:
mode:
Diffstat (limited to 'data/zh_cn/linkedmall')
-rw-r--r--data/zh_cn/linkedmall/2018-01-16/api-docs.php26438
-rw-r--r--data/zh_cn/linkedmall/2021-06-16/api-docs.php266
-rw-r--r--data/zh_cn/linkedmall/2022-05-31/api-docs.php10412
-rw-r--r--data/zh_cn/linkedmall/2023-09-30/api-docs.php7855
4 files changed, 10011 insertions, 34960 deletions
diff --git a/data/zh_cn/linkedmall/2018-01-16/api-docs.php b/data/zh_cn/linkedmall/2018-01-16/api-docs.php
index e709bc0..8914e4a 100644
--- a/data/zh_cn/linkedmall/2018-01-16/api-docs.php
+++ b/data/zh_cn/linkedmall/2018-01-16/api-docs.php
@@ -1,291 +1,117 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'linkedmall',
- 'version' => '2018-01-16',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'linkedmall', 'version' => '2018-01-16'],
'directories' => [
[
'id' => 114581,
'title' => '营销优惠',
'type' => 'directory',
- 'children' => [
- 'GrantPromotionToUser',
- ],
+ 'children' => ['GrantPromotionToUser'],
],
[
'id' => 114583,
'title' => '互动活动',
'type' => 'directory',
- 'children' => [
- 'StartUserGame',
- 'PushUserGameProcess',
- 'GetActivityGameInfo',
- 'GetUserTokenPage',
- 'ListActivityAtmosphere',
- 'ListActivityGameInfo',
- 'ListUserGameProcess',
- 'QueryUserGameProcess',
- ],
+ 'children' => ['StartUserGame', 'PushUserGameProcess', 'GetActivityGameInfo', 'GetUserTokenPage', 'ListActivityAtmosphere', 'ListActivityGameInfo', 'ListUserGameProcess', 'QueryUserGameProcess'],
],
[
'id' => 114592,
'title' => '积分',
'type' => 'directory',
- 'children' => [
- 'DeductUserPoint',
- 'FreezeUserPoint',
- 'GiveUserPoint',
- 'GrantUserPoint',
- 'RefundUserPoint',
- 'UnFreezeUserPoint',
- 'ListUserPointRecords',
- 'QueryUserPoint',
- ],
+ 'children' => ['DeductUserPoint', 'FreezeUserPoint', 'GiveUserPoint', 'GrantUserPoint', 'RefundUserPoint', 'UnFreezeUserPoint', 'ListUserPointRecords', 'QueryUserPoint'],
],
[
'id' => 114601,
'title' => '商品',
'type' => 'directory',
- 'children' => [
- 'AddItemLimitRule',
- 'AddSupplierNewItems',
- 'DeleteBizItems',
- 'ModifyBizItems',
- 'ModifyItemLimitRule',
- 'QueryItemDetailTea',
- 'QueryItemDetailInner',
- 'QueryItemInventory',
- 'GetItemPromotion',
- 'QueryActivityItems',
- 'QueryBizItemList',
- 'QueryBizItems',
- 'QueryGuideItemGroup',
- ],
+ 'children' => ['AddItemLimitRule', 'AddSupplierNewItems', 'DeleteBizItems', 'ModifyBizItems', 'ModifyItemLimitRule', 'QueryItemDetailTea', 'QueryItemDetailInner', 'QueryItemInventory', 'GetItemPromotion', 'QueryActivityItems', 'QueryBizItemList', 'QueryBizItems', 'QueryGuideItemGroup'],
],
[
'id' => 114615,
'title' => '订单',
'type' => 'directory',
- 'children' => [
- 'CreateVirtualProductOrder',
- 'SettleOrder',
- 'QueryOrderAndPaymentList',
- 'QueryOrderCommissionRate',
- 'QueryOrderDetailInner',
- 'QueryOrderIdByPayId',
- 'QueryOrderInfoAfterSale',
- 'QueryOrderItemInfoByPaymentIdForAiZhanYou',
- 'QueryOrderList',
- 'QueryOrderLogistics',
- 'QueryLogistics',
- 'RenderH5Order',
- 'RepayOrder',
- ],
+ 'children' => ['CreateVirtualProductOrder', 'SettleOrder', 'QueryOrderAndPaymentList', 'QueryOrderCommissionRate', 'QueryOrderDetailInner', 'QueryOrderIdByPayId', 'QueryOrderInfoAfterSale', 'QueryOrderItemInfoByPaymentIdForAiZhanYou', 'QueryOrderList', 'QueryOrderLogistics', 'QueryLogistics', 'RenderH5Order', 'RepayOrder'],
],
[
'id' => 114629,
'title' => '交易',
'type' => 'directory',
- 'children' => [
- 'CreateOrderV2',
- 'EnableOrder',
- 'CancelOrder',
- 'RenderOrder',
- ],
+ 'children' => ['CreateOrderV2', 'EnableOrder', 'CancelOrder', 'RenderOrder'],
],
[
'id' => 114634,
'title' => '逆向',
'type' => 'directory',
- 'children' => [
- 'ApplyRefund',
- 'CancelRefund',
- 'SubmitReturnGoodLogistics',
- 'QueryRefundApplicationDetail',
- 'InitApplyRefund',
- ],
+ 'children' => ['ApplyRefund', 'CancelRefund', 'SubmitReturnGoodLogistics', 'QueryRefundApplicationDetail', 'InitApplyRefund'],
],
[
'id' => 114640,
'title' => '消息',
'type' => 'directory',
- 'children' => [
- 'QueryMessages',
- 'RemoveMessages',
- ],
+ 'children' => ['QueryMessages', 'RemoveMessages'],
],
[
'id' => 114643,
'title' => '公共',
'type' => 'directory',
- 'children' => [
- 'DeleteItemLimitRule',
- 'ModifyBasicAndBizItems',
- 'GetCustomServiceUrl',
- 'GetGuidePage',
- 'GetLoginPage',
- 'GetSwitchUrl',
- 'GetUserInfo',
- 'QueryAgreement',
- 'QueryAllCities',
- 'QueryBestSession4Items',
- 'QueryStatements',
- 'QueryUnfinishedSessions',
- 'QueryWithholdTrade',
- 'ExecuteNode',
- 'RefundPoint',
- 'RefuseMerchantSyncTask',
- 'SyncMerchantInfo',
- ],
+ 'children' => ['DeleteItemLimitRule', 'ModifyBasicAndBizItems', 'GetCustomServiceUrl', 'GetGuidePage', 'GetLoginPage', 'GetSwitchUrl', 'GetUserInfo', 'QueryAgreement', 'QueryAllCities', 'QueryBestSession4Items', 'QueryStatements', 'QueryUnfinishedSessions', 'QueryWithholdTrade', 'ExecuteNode', 'RefundPoint', 'RefuseMerchantSyncTask', 'SyncMerchantInfo'],
],
[
'id' => 114661,
'title' => '活动',
'type' => 'directory',
- 'children' => [
- 'ListItemActivities',
- 'QueryUnfinishedActivities',
- 'QueryBizItemsWithActivity',
- 'QueryUnfinishedSessions4Items',
- ],
+ 'children' => ['ListItemActivities', 'QueryUnfinishedActivities', 'QueryBizItemsWithActivity', 'QueryUnfinishedSessions4Items'],
],
[
'id' => 114666,
'title' => '支付退款',
'type' => 'directory',
- 'children' => [
- 'CreateWithholdTrade',
- 'CreatePayUrl',
- 'GetWithholdSignPageUrl',
- 'RefundOrder',
- 'RepayForPayUrl',
- 'UnsignWithholdAgreement',
- ],
+ 'children' => ['CreateWithholdTrade', 'CreatePayUrl', 'GetWithholdSignPageUrl', 'RefundOrder', 'RepayForPayUrl', 'UnsignWithholdAgreement'],
],
[
'id' => 114675,
'title' => '废弃',
'type' => 'directory',
- 'children' => [
- 'CreateOrder',
- 'QueryItemDetail',
- ],
+ 'children' => ['CreateOrder', 'QueryItemDetail'],
],
[
'id' => 114678,
'title' => '电影',
'type' => 'directory',
- 'children' => [
- 'QueryAllCinemas',
- 'QueryHotMovies',
- 'QueryMovieComments',
- 'QueryMovieSchedules',
- 'QueryMovieSeats',
- 'QueryMovieTickets',
- 'QueryUpcomingMovies',
- 'ReleaseMovieSeat',
- 'ReserveMovieSeat',
- ],
+ 'children' => ['QueryAllCinemas', 'QueryHotMovies', 'QueryMovieComments', 'QueryMovieSchedules', 'QueryMovieSeats', 'QueryMovieTickets', 'QueryUpcomingMovies', 'ReleaseMovieSeat', 'ReserveMovieSeat'],
],
[
'id' => 114689,
'title' => '账户',
'type' => 'directory',
- 'children' => [
- 'QueryBatchRegistAnonymousTbAccountResult',
- 'BatchRegistAnonymousTbAccount',
- 'ValidateTaobaoAccount',
- 'RegistAnonymousTbAccount',
- ],
+ 'children' => ['QueryBatchRegistAnonymousTbAccountResult', 'BatchRegistAnonymousTbAccount', 'ValidateTaobaoAccount', 'RegistAnonymousTbAccount'],
],
[
'id' => 114694,
'title' => '类目',
'type' => 'directory',
- 'children' => [
- 'GetCategoryChain',
- 'GetCategoryList',
- ],
+ 'children' => ['GetCategoryChain', 'GetCategoryList'],
],
[
'id' => 114697,
'title' => '收货退货',
'type' => 'directory',
- 'children' => [
- 'ConfirmDisburse',
- ],
+ 'children' => ['ConfirmDisburse'],
],
[
'id' => 114699,
'title' => '地址',
'type' => 'directory',
- 'children' => [
- 'AddAddress',
- 'UpdateAddress',
- 'QueryAddress',
- 'QueryAddressDetail',
- 'QueryAddressList',
- 'RemoveAddress',
- ],
+ 'children' => ['AddAddress', 'UpdateAddress', 'QueryAddress', 'QueryAddressDetail', 'QueryAddressList', 'RemoveAddress'],
],
[
'id' => 172869,
'title' => '其他',
'type' => 'directory',
'children' => [
- 'AddItemToSubBizs',
- 'CreateSettleConfirm',
- 'ModifyOrderDeliveryAddress',
- 'QueryAdvertisementSettleInfo',
- 'QueryBizItemListWithCache',
- 'QueryBudgetTicketItemListByBizId',
- 'QueryGuideItemGroupWithOutInventory',
- 'QueryInventoryOfItemsInBizItemGroup',
- 'QueryItemInSubBizs',
- 'QueryMediaSettleInfo',
- 'RegisterSettleAccount',
- 'ApplyRefundWithDesignatedTbUid',
- 'CancelOrderWithDesignatedTbUid',
- 'CancelRealTbAccountSupport',
- 'CancelRefundWithDesignatedTbUid',
- 'ConfirmDisburseWithDesignatedTbUid',
- 'CreateOrderPayUrlForOutDiscount',
- 'CreateOrderTransactionDetailFile',
- 'CreateOrderWithDesignatedTbUid',
- 'CreateOutDiscountOrderWithDesignatedTbUid',
- 'DownloadCpsBillFile',
- 'DownloadItemBillFile',
- 'DownloadOrderTransactionDetailFile',
- 'EnableOrderWithDesignatedTbUid',
- 'InitApplyRefundWithDesignatedTbUid',
- 'InitModifyRefund',
- 'InitModifyRefundWithDesignatedTbUid',
- 'ModifyRefund',
- 'ModifyRefundWithDesignatedTbUid',
- 'ModifySettleAccount',
- 'ModifySupplierPriceAndPriceCent',
- 'OpenRealTbAccountSupport',
- 'QueryBizItemListV2',
- 'QueryGuideItemGroupForCrowdOperation',
- 'QueryItemInventoryV2',
- 'QueryOrderAndPaymentListWithDesignatedTbUid',
- 'QueryOrderListWithDesignatedTbUid',
- 'QueryOrderLogisticsWithDesignatedTbUid',
- 'QueryRealTbAccountSupport',
- 'QueryRefundApplyWithDesignatedTbUid',
- 'QueryUserAccount',
- 'RebindTbAccount',
- 'RefreshSettlementOrderAccount',
- 'RegisterUserAccount',
- 'RenderOrderWithDesignatedTbUid',
- 'RepayWithDesignatedTbUid',
- 'SubmitReturnGoodLogisticsWithDesignatedTbUid',
- 'ModifyBasicItemSupplierPrice',
- 'QuerySupplierItemBillDownloadUrl',
- 'QueryChannelItemBillDownloadUrl',
- 'QuerySellerLicense',
+ 'AddItemToSubBizs', 'CreateSettleConfirm', 'ModifyOrderDeliveryAddress', 'QueryAdvertisementSettleInfo', 'QueryBizItemListWithCache', 'QueryBudgetTicketItemListByBizId', 'QueryGuideItemGroupWithOutInventory', 'QueryInventoryOfItemsInBizItemGroup', 'QueryItemInSubBizs', 'QueryMediaSettleInfo', 'RegisterSettleAccount', 'ApplyRefundWithDesignatedTbUid', 'CancelOrderWithDesignatedTbUid', 'CancelRealTbAccountSupport', 'CancelRefundWithDesignatedTbUid', 'ConfirmDisburseWithDesignatedTbUid', 'CreateOrderPayUrlForOutDiscount', 'CreateOrderTransactionDetailFile', 'CreateOrderWithDesignatedTbUid', 'CreateOutDiscountOrderWithDesignatedTbUid',
+ 'DownloadCpsBillFile', 'DownloadItemBillFile', 'DownloadOrderTransactionDetailFile', 'EnableOrderWithDesignatedTbUid', 'InitApplyRefundWithDesignatedTbUid', 'InitModifyRefund', 'InitModifyRefundWithDesignatedTbUid', 'ModifyRefund', 'ModifyRefundWithDesignatedTbUid', 'ModifySettleAccount', 'ModifySupplierPriceAndPriceCent', 'OpenRealTbAccountSupport', 'QueryBizItemListV2', 'QueryGuideItemGroupForCrowdOperation', 'QueryItemInventoryV2', 'QueryOrderAndPaymentListWithDesignatedTbUid', 'QueryOrderListWithDesignatedTbUid', 'QueryOrderLogisticsWithDesignatedTbUid', 'QueryRealTbAccountSupport', 'QueryRefundApplyWithDesignatedTbUid',
+ 'QueryUserAccount', 'RebindTbAccount', 'RefreshSettlementOrderAccount', 'RegisterUserAccount', 'RenderOrderWithDesignatedTbUid', 'RepayWithDesignatedTbUid', 'SubmitReturnGoodLogisticsWithDesignatedTbUid', 'ModifyBasicItemSupplierPrice', 'QuerySupplierItemBillDownloadUrl', 'QueryChannelItemBillDownloadUrl', 'QuerySellerLicense',
],
],
],
@@ -295,13 +121,8 @@
'apis' => [
'GrantPromotionToUser' => [
'summary' => '给指定用户发放指定的优惠券,需提前在linkedmall控制台创建对应的优惠。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -309,109 +130,53 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20211118****',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20211118****'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'title' => '用户ID',
- 'description' => '用户ID',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '用户ID', 'description' => '用户ID', 'type' => 'string', 'required' => true],
],
[
'name' => 'PromotionId',
'in' => 'query',
- 'schema' => [
- 'title' => '优惠元数据ID',
- 'description' => '优惠元数据ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '66482394364783****',
- ],
+ 'schema' => ['title' => '优惠元数据ID', 'description' => '优惠元数据ID', 'type' => 'string', 'required' => true, 'example' => '66482394364783****'],
],
[
'name' => 'SecurityCode',
'in' => 'query',
- 'schema' => [
- 'title' => '安全码',
- 'description' => '安全码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6aa6ea6af00b453eafc3128d41858bf6',
- ],
+ 'schema' => ['title' => '安全码', 'description' => '安全码', 'type' => 'string', 'required' => false, 'example' => '6aa6ea6af00b453eafc3128d41858bf6'],
],
[
'name' => 'ExpireSeconds',
'in' => 'query',
- 'schema' => [
- 'title' => '过期时间',
- 'description' => '过期时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2554265',
- ],
+ 'schema' => ['title' => '过期时间', 'description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2554265'],
],
[
'name' => 'GrantWay',
'in' => 'query',
- 'schema' => [
- 'title' => '发放方式',
- 'description' => '发放方式',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'latour2',
- ],
+ 'schema' => ['title' => '发放方式', 'description' => '发放方式', 'type' => 'string', 'required' => false, 'example' => 'latour2'],
],
[
'name' => 'IdempotentId',
'in' => 'query',
- 'schema' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '20211212211381431746-1202',
- ],
+ 'schema' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'required' => true, 'example' => '20211212211381431746-1202'],
],
[
'name' => 'GrantMode',
'in' => 'query',
- 'schema' => [
- 'title' => '发放模式',
- 'description' => '发放模式',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- 'default' => 'SECURITY_CODE',
- ],
+ 'schema' => ['title' => '发放模式', 'description' => '发放模式', 'type' => 'string', 'required' => false, 'example' => 'NORMAL', 'default' => 'SECURITY_CODE'],
],
[
'name' => 'body',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- ],
+ 'schema' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false],
],
],
'responses' => [
@@ -419,52 +184,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8',
- ],
- 'Code' => [
- 'description' => '返回码。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8'],
+ 'Code' => ['description' => '返回码。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'PromotionInstanceId' => [
- 'description' => '促销实例id。',
- 'type' => 'string',
- 'example' => '123456',
- ],
- 'EffectiveStartTime' => [
- 'description' => '生效开始时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123243444',
- ],
- 'EffectiveEndTime' => [
- 'description' => '生效结束时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12322333232',
- ],
- 'SubBizCode' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'example' => 'ef2b8********f824830b7e55a0dc5',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'PromotionInstanceId' => ['description' => '促销实例id。', 'type' => 'string', 'example' => '123456'],
+ 'EffectiveStartTime' => ['description' => '生效开始时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '123243444'],
+ 'EffectiveEndTime' => ['description' => '生效结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '12322333232'],
+ 'SubBizCode' => ['description' => '子业务号', 'type' => 'string', 'example' => 'ef2b8********f824830b7e55a0dc5'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -476,14 +207,8 @@
],
'StartUserGame' => [
'summary' => '内部接口,用户新参与活动玩法,仅供多端商城使用。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -491,98 +216,48 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20288*****003',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20288*****003'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务方用户ID',
- 'description' => '业务方用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123',
- ],
+ 'schema' => ['title' => '业务方用户ID', 'description' => '业务方用户ID', 'type' => 'string', 'required' => true, 'example' => '123'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '账号类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '账号类型', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'GameId',
'in' => 'query',
- 'schema' => [
- 'title' => '玩法ID',
- 'description' => '玩法ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '673474835708274689',
- ],
+ 'schema' => ['title' => '玩法ID', 'description' => '玩法ID', 'type' => 'string', 'required' => true, 'example' => '673474835708274689'],
],
[
'name' => 'ActivityId',
'in' => 'query',
- 'schema' => [
- 'title' => '活动ID',
- 'description' => '活动ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '671091829240653825',
- ],
+ 'schema' => ['title' => '活动ID', 'description' => '活动ID', 'type' => 'string', 'required' => true, 'example' => '671091829240653825'],
],
[
'name' => 'RouteId',
'in' => 'query',
- 'schema' => [
- 'title' => '路线ID',
- 'description' => '路线ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RouteId1',
- ],
+ 'schema' => ['title' => '路线ID', 'description' => '路线ID', 'type' => 'string', 'required' => false, 'example' => 'RouteId1'],
],
[
'name' => 'UserApp',
'in' => 'query',
- 'schema' => [
- 'title' => '用户APP',
- 'description' => '用户APP',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MAC',
- ],
+ 'schema' => ['title' => '用户APP', 'description' => '用户APP', 'type' => 'string', 'required' => false, 'example' => 'MAC'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{\\"channelId\\":\\"test\\"}',
- ],
+ 'schema' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{\\"channelId\\":\\"test\\"}'],
],
],
'responses' => [
@@ -592,80 +267,26 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8',
- ],
- 'Code' => [
- 'description' => '接口返回码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8'],
+ 'Code' => ['description' => '接口返回码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'ProcessId' => [
- 'title' => '进度ID',
- 'description' => '进度ID',
- 'type' => 'string',
- 'example' => '1916',
- ],
- 'GameId' => [
- 'type' => 'string',
- ],
- 'ActivityId' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
- 'Desc' => [
- 'type' => 'string',
- ],
- 'BizId' => [
- 'type' => 'string',
- ],
- 'CurrentShowContent' => [
- 'title' => '进度内容',
- 'description' => '进度内容',
- 'type' => 'string',
- ],
- 'Status' => [
- 'title' => '状态',
- 'description' => '状态',
- 'type' => 'string',
- ],
- 'CurrentStepStatus' => [
- 'title' => '当前步骤状态',
- 'description' => '当前步骤状态',
- 'type' => 'string',
- ],
- 'CurrentStepId' => [
- 'title' => '当前步骤ID',
- 'description' => '当前步骤ID',
- 'type' => 'string',
- ],
- 'ExtInfo' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'string',
- ],
- 'RouteId' => [
- 'title' => '路线ID',
- 'description' => '路线ID',
- 'type' => 'string',
- ],
+ 'ProcessId' => ['title' => '进度ID', 'description' => '进度ID', 'type' => 'string', 'example' => '1916'],
+ 'GameId' => ['type' => 'string'],
+ 'ActivityId' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
+ 'Desc' => ['type' => 'string'],
+ 'BizId' => ['type' => 'string'],
+ 'CurrentShowContent' => ['title' => '进度内容', 'description' => '进度内容', 'type' => 'string'],
+ 'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'string'],
+ 'CurrentStepStatus' => ['title' => '当前步骤状态', 'description' => '当前步骤状态', 'type' => 'string'],
+ 'CurrentStepId' => ['title' => '当前步骤ID', 'description' => '当前步骤ID', 'type' => 'string'],
+ 'ExtInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'string'],
+ 'RouteId' => ['title' => '路线ID', 'description' => '路线ID', 'type' => 'string'],
],
],
],
@@ -677,14 +298,8 @@
],
'PushUserGameProcess' => [
'summary' => '内部接口,推进用户玩法进度,仅供多端商城使用。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -692,83 +307,45 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******343',
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => true, 'example' => '22******343'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'ProcessId',
'in' => 'query',
- 'schema' => [
- 'description' => '进度ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '6734******4397953',
- ],
+ 'schema' => ['description' => '进度ID', 'type' => 'string', 'required' => true, 'example' => '6734******4397953'],
],
[
'name' => 'CurrentStepId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前步骤ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '当前步骤ID', 'type' => 'string', 'required' => true, 'example' => '""'],
],
[
'name' => 'body',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'description' => '请求体',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{\\"orderNo\\":\\"20211204211241160338-120\\",\\"serialNumber\\":\\"0\\",\\"voucherId\\":\\"202112040007300238170AD22N26\\",\\"userId\\":\\"2088312906117381\\"}',
- ],
+ 'schema' => ['description' => '请求体', 'type' => 'object', 'required' => false, 'example' => '{\\"orderNo\\":\\"20211204211241160338-120\\",\\"serialNumber\\":\\"0\\",\\"voucherId\\":\\"202112040007300238170AD22N26\\",\\"userId\\":\\"2088312906117381\\"}'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{\\"gmtCreate\\":\\"2022-01-01 00:00:00\\"}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{\\"gmtCreate\\":\\"2022-01-01 00:00:00\\"}'],
],
],
'responses' => [
@@ -778,87 +355,26 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'Success',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'Success'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'ProcessId' => [
- 'description' => '进度ID',
- 'type' => 'string',
- 'example' => ' '."\n"
- .'6734******4397953'."\n",
- ],
- 'GameId' => [
- 'description' => '玩法ID',
- 'type' => 'string',
- 'example' => '67176******67874',
- ],
- 'ActivityId' => [
- 'description' => '活动ID',
- 'type' => 'string',
- 'example' => '123',
- ],
- 'Name' => [
- 'description' => '名称',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Desc' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'CurrentShowContent' => [
- 'description' => '进度内容',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Status' => [
- 'description' => '状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'CurrentStepStatus' => [
- 'description' => '当前步骤状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'CurrentStepId' => [
- 'description' => '当前步骤ID',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'example' => '{"key":"value"}',
- ],
- 'RouteId' => [
- 'description' => '路线ID',
- 'type' => 'string',
- 'example' => 'RouteId_1',
- ],
+ 'ProcessId' => ['description' => '进度ID', 'type' => 'string', 'example' => ' '."\n"
+ .'6734******4397953'."\n"],
+ 'GameId' => ['description' => '玩法ID', 'type' => 'string', 'example' => '67176******67874'],
+ 'ActivityId' => ['description' => '活动ID', 'type' => 'string', 'example' => '123'],
+ 'Name' => ['description' => '名称', 'type' => 'string', 'example' => '""'],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => '""'],
+ 'Desc' => ['description' => '描述', 'type' => 'string', 'example' => '""'],
+ 'CurrentShowContent' => ['description' => '进度内容', 'type' => 'string', 'example' => '""'],
+ 'Status' => ['description' => '状态', 'type' => 'string', 'example' => '""'],
+ 'CurrentStepStatus' => ['description' => '当前步骤状态', 'type' => 'string', 'example' => '""'],
+ 'CurrentStepId' => ['description' => '当前步骤ID', 'type' => 'string', 'example' => '""'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'string', 'example' => '{"key":"value"}'],
+ 'RouteId' => ['description' => '路线ID', 'type' => 'string', 'example' => 'RouteId_1'],
],
],
],
@@ -870,14 +386,8 @@
],
'GetActivityGameInfo' => [
'summary' => '获取活动玩法信息。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -885,71 +395,38 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20211224****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'example' => 'LMALL20211224****'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '287384877****',
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => true, 'example' => '287384877****'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'ActivityId',
'in' => 'query',
- 'schema' => [
- 'description' => '活动ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '673',
- ],
+ 'schema' => ['description' => '活动ID', 'type' => 'string', 'required' => true, 'example' => '673'],
],
[
'name' => 'GameId',
'in' => 'query',
- 'schema' => [
- 'description' => '玩法ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '673476420068894723',
- ],
+ 'schema' => ['description' => '玩法ID', 'type' => 'string', 'required' => true, 'example' => '673476420068894723'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"key":"value"}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{"key":"value"}'],
],
],
'responses' => [
@@ -959,52 +436,18 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED****',
- ],
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED****'],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'UserProcessDTO' => [
- 'title' => '用户进度',
- 'description' => '用户进度',
- 'type' => 'string',
- ],
- 'GameDTO' => [
- 'title' => '玩法信息',
- 'description' => '玩法信息',
- 'type' => 'string',
- ],
- 'UserGameCoinInfos' => [
- 'title' => '玩法币信息',
- 'description' => '玩法币信息',
- 'type' => 'string',
- ],
- 'ExtInfo' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'string',
- 'example' => '{"key":"value"}',
- ],
- 'GameShowInfo' => [
- 'title' => '玩法展示信息',
- 'description' => '玩法展示信息',
- 'type' => 'string',
- ],
+ 'UserProcessDTO' => ['title' => '用户进度', 'description' => '用户进度', 'type' => 'string'],
+ 'GameDTO' => ['title' => '玩法信息', 'description' => '玩法信息', 'type' => 'string'],
+ 'UserGameCoinInfos' => ['title' => '玩法币信息', 'description' => '玩法币信息', 'type' => 'string'],
+ 'ExtInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'string', 'example' => '{"key":"value"}'],
+ 'GameShowInfo' => ['title' => '玩法展示信息', 'description' => '玩法展示信息', 'type' => 'string'],
],
],
],
@@ -1017,13 +460,8 @@
],
'GetUserTokenPage' => [
'summary' => '内部接口,仅供多端商城使用,获取用户登录态链接。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1031,67 +469,32 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务方用户ID',
- 'description' => '业务方用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******234',
- ],
+ 'schema' => ['title' => '业务方用户ID', 'description' => '业务方用户ID', 'type' => 'string', 'required' => true, 'example' => '22******234'],
],
[
'name' => 'UserNick',
'in' => 'query',
- 'schema' => [
- 'title' => '用户昵称',
- 'description' => '用户昵称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['title' => '用户昵称', 'description' => '用户昵称', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'ExpireSeconds',
'in' => 'query',
- 'schema' => [
- 'title' => '过期时间',
- 'description' => '过期时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'maximum' => '86400',
- 'minimum' => '60',
- 'example' => '86400',
- ],
+ 'schema' => ['title' => '过期时间', 'description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '86400', 'minimum' => '60', 'example' => '86400'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -1099,34 +502,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求ID',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'B7E4EF89-DBC3-5CD0-9993-02D8C13E7177',
- ],
- 'Code' => [
- 'title' => '响应码',
- 'description' => '响应码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '提示信息',
- 'description' => '提示信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => 'B7E4EF89-DBC3-5CD0-9993-02D8C13E7177'],
+ 'Code' => ['title' => '响应码', 'description' => '响应码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '提示信息', 'description' => '提示信息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'Url' => [
- 'title' => '页面地址',
- 'description' => '页面地址',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'Url' => ['title' => '页面地址', 'description' => '页面地址', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -1135,10 +518,7 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'invalidParam',
- 'errorMessage' => '参数格式异常',
- ],
+ ['errorCode' => 'invalidParam', 'errorMessage' => '参数格式异常'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B7E4EF89-DBC3-5CD0-9993-02D8C13E7177\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"Url\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n}","type":"json"}]',
@@ -1146,108 +526,55 @@
],
'ListActivityAtmosphere' => [
'summary' => '内部接口,罗列活动氛围数据,仅供多端商城使用。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******364',
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => true, 'example' => '22******364'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'ActivityId',
'in' => 'query',
- 'schema' => [
- 'description' => '活动ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '673',
- ],
+ 'schema' => ['description' => '活动ID', 'type' => 'string', 'required' => false, 'example' => '673'],
],
[
'name' => 'GameId',
'in' => 'query',
- 'schema' => [
- 'description' => '玩法ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '671******37088',
- ],
+ 'schema' => ['description' => '玩法ID', 'type' => 'string', 'required' => false, 'example' => '671******37088'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '状态', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页显示的条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '200',
- 'minimum' => '1',
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页显示的条数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '200', 'minimum' => '1', 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '1'],
],
],
'responses' => [
@@ -1257,42 +584,12 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
- 'description' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'E090F1A0-7454-5F36-933C-E6332CE2****',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'description' => '每页多少条记录,最大为20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '分页页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'E090F1A0-7454-5F36-933C-E6332CE2****'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['description' => '每页多少条记录,最大为20条', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
+ 'PageNumber' => ['description' => '分页页码,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Model' => [
'description' => '返回结果',
'type' => 'array',
@@ -1300,21 +597,9 @@
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'BizUid' => [
- 'description' => '业务用户ID',
- 'type' => 'string',
- 'example' => '22******37'."\n",
- ],
- 'Status' => [
- 'description' => '状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Message' => [
- 'description' => '返回消息',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'BizUid' => ['description' => '业务用户ID', 'type' => 'string', 'example' => '22******37'."\n"],
+ 'Status' => ['description' => '状态', 'type' => 'string', 'example' => '""'],
+ 'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -1327,160 +612,80 @@
],
'ListActivityGameInfo' => [
'summary' => '内部接口,查询活动玩法列表,仅供多端商城使用。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******002',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******002'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******263',
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => true, 'example' => '22******263'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'ActivityId',
'in' => 'query',
- 'schema' => [
- 'description' => '活动ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '673',
- ],
+ 'schema' => ['description' => '活动ID', 'type' => 'string', 'required' => false, 'example' => '673'],
],
[
'name' => 'GameId',
'in' => 'query',
- 'schema' => [
- 'description' => '玩法ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6717******67874',
- ],
+ 'schema' => ['description' => '玩法ID', 'type' => 'string', 'required' => false, 'example' => '6717******67874'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '玩法状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '玩法状态', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '玩法类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '玩法类型', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页多少条记录,最大为20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '200',
- 'minimum' => '1',
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页多少条记录,最大为20条', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '200', 'minimum' => '1', 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页页码,从1开始。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页码,从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '1'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1638104750323',
- ],
+ 'schema' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1638104750323'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1639104750323',
- ],
+ 'schema' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1639104750323'],
],
[
'name' => 'Statuses',
'in' => 'query',
- 'schema' => [
- 'description' => '状态列表',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '状态列表', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'SubType',
'in' => 'query',
- 'schema' => [
- 'description' => '玩法子类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '玩法子类型', 'type' => 'string', 'required' => false, 'example' => '""'],
],
],
'responses' => [
@@ -1490,42 +695,12 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
- 'description' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'F1339E71-CB73-5440-BD39-1C98A8ED50E3',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'description' => '每⻚多少条记录,最⼤20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '当前页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'F1339E71-CB73-5440-BD39-1C98A8ED50E3'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['description' => '每⻚多少条记录,最⼤20条', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
+ 'PageNumber' => ['description' => '当前页码,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Model' => [
'description' => '返回结果',
'type' => 'array',
@@ -1533,16 +708,8 @@
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'GameShowInfo' => [
- 'description' => '玩法展示信息',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'example' => '{"key":"value"}',
- ],
+ 'GameShowInfo' => ['description' => '玩法展示信息', 'type' => 'string', 'example' => '""'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'string', 'example' => '{"key":"value"}'],
],
],
],
@@ -1555,150 +722,75 @@
],
'ListUserGameProcess' => [
'summary' => '内部接口,查询活动玩法进度,仅供多端商城使用。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******002',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******002'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******352',
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => true, 'example' => '22******352'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'ActivityId',
'in' => 'query',
- 'schema' => [
- 'description' => '活动ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '673',
- ],
+ 'schema' => ['description' => '活动ID', 'type' => 'string', 'required' => false, 'example' => '673'],
],
[
'name' => 'GameId',
'in' => 'query',
- 'schema' => [
- 'description' => '玩法ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '67347******4689',
- ],
+ 'schema' => ['description' => '玩法ID', 'type' => 'string', 'required' => false, 'example' => '67347******4689'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '玩法状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '玩法状态', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '玩法类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '玩法类型', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每⻚多少条记录,最⼤20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '200',
- 'minimum' => '1',
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每⻚多少条记录,最⼤20条', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '200', 'minimum' => '1', 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '1'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1637958044395',
- ],
+ 'schema' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1637958044395'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1639017538838',
- ],
+ 'schema' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1639017538838'],
],
[
'name' => 'Statuses',
'in' => 'query',
- 'schema' => [
- 'description' => '状态列表',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '状态列表', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
],
'responses' => [
@@ -1708,42 +800,12 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
- 'description' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '07127DEC-D093-54B5-884A-29D49CBE95A5',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'description' => '每页多少条记录,最大为20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '当前页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '07127DEC-D093-54B5-884A-29D49CBE95A5'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['description' => '每页多少条记录,最大为20条', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
+ 'PageNumber' => ['description' => '当前页码,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Model' => [
'description' => '返回结果',
'type' => 'array',
@@ -1751,78 +813,20 @@
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'ProcessId' => [
- 'description' => '进度ID',
- 'type' => 'string',
- 'example' => '1916',
- ],
- 'GameId' => [
- 'description' => '玩法ID',
- 'type' => 'string',
- 'example' => '67347******4689'."\n",
- ],
- 'ActivityId' => [
- 'description' => '活动ID',
- 'type' => 'string',
- 'example' => '673',
- ],
- 'Name' => [
- 'description' => '玩法名称',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Type' => [
- 'description' => '玩法类型',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Desc' => [
- 'description' => '玩法描述',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'CurrentShowContent' => [
- 'description' => '进度内容',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Status' => [
- 'description' => '玩法状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'CurrentStepStatus' => [
- 'description' => '当前步骤状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'CurrentStepId' => [
- 'description' => '当前步骤ID',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'example' => '{"key":"value"}',
- ],
- 'RouteId' => [
- 'description' => '路线ID',
- 'type' => 'string',
- 'example' => '619',
- ],
- 'CreateTime' => [
- 'description' => '创建时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1638451941000',
- ],
- 'ModifyTime' => [
- 'description' => '修改时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1642662319000',
- ],
+ 'ProcessId' => ['description' => '进度ID', 'type' => 'string', 'example' => '1916'],
+ 'GameId' => ['description' => '玩法ID', 'type' => 'string', 'example' => '67347******4689'."\n"],
+ 'ActivityId' => ['description' => '活动ID', 'type' => 'string', 'example' => '673'],
+ 'Name' => ['description' => '玩法名称', 'type' => 'string', 'example' => '""'],
+ 'Type' => ['description' => '玩法类型', 'type' => 'string', 'example' => '""'],
+ 'Desc' => ['description' => '玩法描述', 'type' => 'string', 'example' => '""'],
+ 'CurrentShowContent' => ['description' => '进度内容', 'type' => 'string', 'example' => '""'],
+ 'Status' => ['description' => '玩法状态', 'type' => 'string', 'example' => '""'],
+ 'CurrentStepStatus' => ['description' => '当前步骤状态', 'type' => 'string', 'example' => '""'],
+ 'CurrentStepId' => ['description' => '当前步骤ID', 'type' => 'string', 'example' => '""'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'string', 'example' => '{"key":"value"}'],
+ 'RouteId' => ['description' => '路线ID', 'type' => 'string', 'example' => '619'],
+ 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1638451941000'],
+ 'ModifyTime' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1642662319000'],
],
],
],
@@ -1835,14 +839,8 @@
],
'QueryUserGameProcess' => [
'summary' => '内部接口,查询用户活动玩法进度,仅供多端商城使用。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1850,61 +848,33 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******002',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******002'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******372',
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => true, 'example' => '22******372'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'ProcessId',
'in' => 'query',
- 'schema' => [
- 'description' => '进度ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '6******352',
- ],
+ 'schema' => ['description' => '进度ID', 'type' => 'string', 'required' => true, 'example' => '6******352'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"key":"value"}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{"key":"value"}'],
],
],
'responses' => [
@@ -1914,98 +884,27 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '45B9EF4E-4D18-59B2-85E6-9B568F73C79D',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '45B9EF4E-4D18-59B2-85E6-9B568F73C79D'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'ProcessId' => [
- 'description' => '进度ID',
- 'type' => 'string',
- 'example' => '6******352'."\n",
- ],
- 'GameId' => [
- 'description' => '玩法ID',
- 'type' => 'string',
- 'example' => '6******723',
- ],
- 'ActivityId' => [
- 'description' => '活动ID',
- 'type' => 'string',
- 'example' => '134',
- ],
- 'Name' => [
- 'description' => '名称',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Desc' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'CurrentShowContent' => [
- 'description' => '进度内容',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Status' => [
- 'description' => '状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'CurrentStepStatus' => [
- 'description' => '当前步骤状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'CurrentStepId' => [
- 'description' => '当前步骤ID',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'example' => '{"key":"value"}',
- ],
- 'RouteId' => [
- 'description' => '路线ID',
- 'type' => 'string',
- 'example' => 'RouteId_1',
- ],
- 'CreateTime' => [
- 'description' => '创建时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1638451941000',
- ],
- 'ModifyTime' => [
- 'description' => '修改时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1648451941000',
- ],
+ 'ProcessId' => ['description' => '进度ID', 'type' => 'string', 'example' => '6******352'."\n"],
+ 'GameId' => ['description' => '玩法ID', 'type' => 'string', 'example' => '6******723'],
+ 'ActivityId' => ['description' => '活动ID', 'type' => 'string', 'example' => '134'],
+ 'Name' => ['description' => '名称', 'type' => 'string', 'example' => '""'],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => '""'],
+ 'Desc' => ['description' => '描述', 'type' => 'string', 'example' => '""'],
+ 'CurrentShowContent' => ['description' => '进度内容', 'type' => 'string', 'example' => '""'],
+ 'Status' => ['description' => '状态', 'type' => 'string', 'example' => '""'],
+ 'CurrentStepStatus' => ['description' => '当前步骤状态', 'type' => 'string', 'example' => '""'],
+ 'CurrentStepId' => ['description' => '当前步骤ID', 'type' => 'string', 'example' => '""'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'string', 'example' => '{"key":"value"}'],
+ 'RouteId' => ['description' => '路线ID', 'type' => 'string', 'example' => 'RouteId_1'],
+ 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1638451941000'],
+ 'ModifyTime' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1648451941000'],
],
],
],
@@ -2017,13 +916,8 @@
],
'DeductUserPoint' => [
'summary' => '扣减用户积分,调用方需提前开通LM积分服务。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2031,110 +925,53 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******003',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******003'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务方用户ID',
- 'description' => '业务方用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******637',
- ],
+ 'schema' => ['title' => '业务方用户ID', 'description' => '业务方用户ID', 'type' => 'string', 'required' => true, 'example' => '22******637'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'IdempotentId',
'in' => 'query',
- 'schema' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '202112******31746-1202',
- ],
+ 'schema' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'required' => true, 'example' => '202112******31746-1202'],
],
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '136',
- ],
+ 'schema' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'required' => true, 'example' => '136'],
],
[
'name' => 'Amount',
'in' => 'query',
- 'schema' => [
- 'title' => '数额',
- 'description' => '数额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['title' => '数额', 'description' => '数额', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
],
[
'name' => 'Title',
'in' => 'query',
- 'schema' => [
- 'title' => '发放主题',
- 'description' => '发放主题',
- 'type' => 'string',
- 'required' => true,
- 'example' => '***积分扣减',
- ],
+ 'schema' => ['title' => '发放主题', 'description' => '发放主题', 'type' => 'string', 'required' => true, 'example' => '***积分扣减'],
],
[
'name' => 'Message',
'in' => 'query',
- 'schema' => [
- 'title' => '发放说明',
- 'description' => '发放说明',
- 'type' => 'string',
- 'required' => false,
- 'example' => '***积分扣减'."\n",
- ],
+ 'schema' => ['title' => '发放说明', 'description' => '发放说明', 'type' => 'string', 'required' => false, 'example' => '***积分扣减'."\n"],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"key":"value"}',
- ],
+ 'schema' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{"key":"value"}'],
],
],
'responses' => [
@@ -2144,107 +981,27 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'RecordId' => [
- 'title' => '流水记录ID',
- 'description' => '流水记录ID',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'BizId' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'example' => 'LMALL20******003'."\n",
- ],
- 'BizUid' => [
- 'title' => '用户ID',
- 'description' => '用户ID',
- 'type' => 'string',
- 'example' => ' '."\n"
- .'22******637'."\n",
- ],
- 'AccountId' => [
- 'title' => '账号ID',
- 'description' => '账号ID',
- 'type' => 'string',
- 'example' => '11******18',
- ],
- 'Name' => [
- 'title' => '标题',
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '***积分扣减',
- ],
- 'Description' => [
- 'title' => '描述',
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '***积分扣减'."\n",
- ],
- 'Action' => [
- 'title' => '操作',
- 'description' => '操作',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Amount' => [
- 'title' => '本次操作数额',
- 'description' => '本次操作数额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'Rest' => [
- 'title' => '账户积分余额',
- 'description' => '账户积分余额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2000',
- ],
- 'RuleId' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'example' => '136',
- ],
- 'IdempotentId' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'example' => '20211212******31746-1202'."\n",
- ],
- 'Status' => [
- 'title' => '状态',
- 'description' => '状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExtInfo' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'example' => '{"key":"value"}',
- ],
+ 'RecordId' => ['title' => '流水记录ID', 'description' => '流水记录ID', 'type' => 'string', 'example' => '""'],
+ 'BizId' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'example' => 'LMALL20******003'."\n"],
+ 'BizUid' => ['title' => '用户ID', 'description' => '用户ID', 'type' => 'string', 'example' => ' '."\n"
+ .'22******637'."\n"],
+ 'AccountId' => ['title' => '账号ID', 'description' => '账号ID', 'type' => 'string', 'example' => '11******18'],
+ 'Name' => ['title' => '标题', 'description' => '标题', 'type' => 'string', 'example' => '***积分扣减'],
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => '***积分扣减'."\n"],
+ 'Action' => ['title' => '操作', 'description' => '操作', 'type' => 'string', 'example' => '""'],
+ 'Amount' => ['title' => '本次操作数额', 'description' => '本次操作数额', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'Rest' => ['title' => '账户积分余额', 'description' => '账户积分余额', 'type' => 'integer', 'format' => 'int64', 'example' => '2000'],
+ 'RuleId' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'example' => '136'],
+ 'IdempotentId' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'example' => '20211212******31746-1202'."\n"],
+ 'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => '""'],
+ 'ExtInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'example' => '{"key":"value"}'],
],
],
],
@@ -2256,13 +1013,8 @@
],
'FreezeUserPoint' => [
'summary' => '冻结用户积分,调用方需提前开通LM积分服务。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2270,110 +1022,53 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务方用户ID',
- 'description' => '业务方用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******3748',
- ],
+ 'schema' => ['title' => '业务方用户ID', 'description' => '业务方用户ID', 'type' => 'string', 'required' => true, 'example' => '22******3748'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'IdempotentId',
'in' => 'query',
- 'schema' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '202112******31746-1202',
- ],
+ 'schema' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'required' => true, 'example' => '202112******31746-1202'],
],
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '136',
- ],
+ 'schema' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'required' => true, 'example' => '136'],
],
[
'name' => 'Amount',
'in' => 'query',
- 'schema' => [
- 'title' => '数额',
- 'description' => '数额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1000',
- ],
+ 'schema' => ['title' => '数额', 'description' => '数额', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000'],
],
[
'name' => 'Title',
'in' => 'query',
- 'schema' => [
- 'title' => '发放主题',
- 'description' => '发放主题',
- 'type' => 'string',
- 'required' => true,
- 'example' => '***积分冻结',
- ],
+ 'schema' => ['title' => '发放主题', 'description' => '发放主题', 'type' => 'string', 'required' => true, 'example' => '***积分冻结'],
],
[
'name' => 'Message',
'in' => 'query',
- 'schema' => [
- 'title' => '发放说明',
- 'description' => '发放说明',
- 'type' => 'string',
- 'required' => false,
- 'example' => '***积分冻结',
- ],
+ 'schema' => ['title' => '发放说明', 'description' => '发放说明', 'type' => 'string', 'required' => false, 'example' => '***积分冻结'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"key":"value"}',
- ],
+ 'schema' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{"key":"value"}'],
],
],
'responses' => [
@@ -2383,106 +1078,26 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B',
- ],
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B'],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'RecordId' => [
- 'title' => '流水记录ID',
- 'description' => '流水记录ID',
- 'type' => 'string',
- 'example' => '71******92',
- ],
- 'BizId' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'example' => 'LMALL20******008',
- ],
- 'BizUid' => [
- 'title' => '用户ID',
- 'description' => '用户ID',
- 'type' => 'string',
- 'example' => '22******3748',
- ],
- 'AccountId' => [
- 'title' => '账号ID',
- 'description' => '账号ID',
- 'type' => 'string',
- 'example' => '11******26',
- ],
- 'Name' => [
- 'title' => '标题',
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '***积分冻结',
- ],
- 'Description' => [
- 'title' => '描述',
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '***积分冻结',
- ],
- 'Action' => [
- 'title' => '操作',
- 'description' => '操作',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Amount' => [
- 'title' => '本次操作数额',
- 'description' => '本次操作数额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'Rest' => [
- 'title' => '账户积分余额',
- 'description' => '账户积分余额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2000',
- ],
- 'RuleId' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'IdempotentId' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'example' => '202112******31746-1202'."\n",
- ],
- 'Status' => [
- 'title' => '状态',
- 'description' => '状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExtInfo' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'example' => '{"key":"value"}',
- ],
+ 'RecordId' => ['title' => '流水记录ID', 'description' => '流水记录ID', 'type' => 'string', 'example' => '71******92'],
+ 'BizId' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'example' => 'LMALL20******008'],
+ 'BizUid' => ['title' => '用户ID', 'description' => '用户ID', 'type' => 'string', 'example' => '22******3748'],
+ 'AccountId' => ['title' => '账号ID', 'description' => '账号ID', 'type' => 'string', 'example' => '11******26'],
+ 'Name' => ['title' => '标题', 'description' => '标题', 'type' => 'string', 'example' => '***积分冻结'],
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => '***积分冻结'],
+ 'Action' => ['title' => '操作', 'description' => '操作', 'type' => 'string', 'example' => '""'],
+ 'Amount' => ['title' => '本次操作数额', 'description' => '本次操作数额', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'Rest' => ['title' => '账户积分余额', 'description' => '账户积分余额', 'type' => 'integer', 'format' => 'int64', 'example' => '2000'],
+ 'RuleId' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'example' => '""'],
+ 'IdempotentId' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'example' => '202112******31746-1202'."\n"],
+ 'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => '""'],
+ 'ExtInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'example' => '{"key":"value"}'],
],
],
],
@@ -2494,13 +1109,8 @@
],
'GiveUserPoint' => [
'summary' => '赠送用户积分,调用方需提前开通LM积分服务。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2508,121 +1118,58 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******01',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******01'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务方用户ID',
- 'description' => '业务方用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******67',
- ],
+ 'schema' => ['title' => '业务方用户ID', 'description' => '业务方用户ID', 'type' => 'string', 'required' => true, 'example' => '22******67'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'IdempotentId',
'in' => 'query',
- 'schema' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '20211212******1746-1202',
- ],
+ 'schema' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'required' => true, 'example' => '20211212******1746-1202'],
],
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '136',
- ],
+ 'schema' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'required' => true, 'example' => '136'],
],
[
'name' => 'Amount',
'in' => 'query',
- 'schema' => [
- 'title' => '数额',
- 'description' => '数额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1000',
- ],
+ 'schema' => ['title' => '数额', 'description' => '数额', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000'],
],
[
'name' => 'Title',
'in' => 'query',
- 'schema' => [
- 'title' => '发放主题',
- 'description' => '发放主题',
- 'type' => 'string',
- 'required' => true,
- 'example' => '***赠送用户积分',
- ],
+ 'schema' => ['title' => '发放主题', 'description' => '发放主题', 'type' => 'string', 'required' => true, 'example' => '***赠送用户积分'],
],
[
'name' => 'Message',
'in' => 'query',
- 'schema' => [
- 'title' => '发放说明',
- 'description' => '发放说明',
- 'type' => 'string',
- 'required' => false,
- 'example' => '***赠送用户积分',
- ],
+ 'schema' => ['title' => '发放说明', 'description' => '发放说明', 'type' => 'string', 'required' => false, 'example' => '***赠送用户积分'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{}'],
],
[
'name' => 'TargetBizUid',
'in' => 'query',
- 'schema' => [
- 'title' => '获赠用户ID',
- 'description' => '获赠用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******45',
- ],
+ 'schema' => ['title' => '获赠用户ID', 'description' => '获赠用户ID', 'type' => 'string', 'required' => true, 'example' => '22******45'],
],
],
'responses' => [
@@ -2632,106 +1179,26 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '0854F82D-7912-52A1-8EF5-2D1662C50C36',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '0854F82D-7912-52A1-8EF5-2D1662C50C36'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'RecordId' => [
- 'title' => '流水记录ID',
- 'description' => '流水记录ID',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'BizId' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'example' => 'LMALL20******002',
- ],
- 'BizUid' => [
- 'title' => '用户ID',
- 'description' => '用户ID',
- 'type' => 'string',
- 'example' => '22******67'."\n",
- ],
- 'AccountId' => [
- 'title' => '账号ID',
- 'description' => '账号ID',
- 'type' => 'string',
- 'example' => '11******18',
- ],
- 'Name' => [
- 'title' => '标题',
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '***积分赠与',
- ],
- 'Description' => [
- 'title' => '描述',
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '***积分赠与',
- ],
- 'Action' => [
- 'title' => '操作',
- 'description' => '操作',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Amount' => [
- 'title' => '本次操作数额',
- 'description' => '本次操作数额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'Rest' => [
- 'title' => '账户积分余额',
- 'description' => '账户积分余额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2000',
- ],
- 'RuleId' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'example' => '136',
- ],
- 'IdempotentId' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'example' => '20211212******1746-1202'."\n",
- ],
- 'Status' => [
- 'title' => '状态',
- 'description' => '状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExtInfo' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'example' => '{"key":"value"}',
- ],
+ 'RecordId' => ['title' => '流水记录ID', 'description' => '流水记录ID', 'type' => 'string', 'example' => '""'],
+ 'BizId' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'example' => 'LMALL20******002'],
+ 'BizUid' => ['title' => '用户ID', 'description' => '用户ID', 'type' => 'string', 'example' => '22******67'."\n"],
+ 'AccountId' => ['title' => '账号ID', 'description' => '账号ID', 'type' => 'string', 'example' => '11******18'],
+ 'Name' => ['title' => '标题', 'description' => '标题', 'type' => 'string', 'example' => '***积分赠与'],
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => '***积分赠与'],
+ 'Action' => ['title' => '操作', 'description' => '操作', 'type' => 'string', 'example' => '""'],
+ 'Amount' => ['title' => '本次操作数额', 'description' => '本次操作数额', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'Rest' => ['title' => '账户积分余额', 'description' => '账户积分余额', 'type' => 'integer', 'format' => 'int64', 'example' => '2000'],
+ 'RuleId' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'example' => '136'],
+ 'IdempotentId' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'example' => '20211212******1746-1202'."\n"],
+ 'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => '""'],
+ 'ExtInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'example' => '{"key":"value"}'],
],
],
],
@@ -2743,13 +1210,8 @@
],
'GrantUserPoint' => [
'summary' => '发放用户积分,调用方需提前开通LM积分服务。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2757,110 +1219,53 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务方用户ID',
- 'description' => '业务方用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******3527',
- ],
+ 'schema' => ['title' => '业务方用户ID', 'description' => '业务方用户ID', 'type' => 'string', 'required' => true, 'example' => '22******3527'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'IdempotentId',
'in' => 'query',
- 'schema' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '202112******31746-1202',
- ],
+ 'schema' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'required' => true, 'example' => '202112******31746-1202'],
],
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '136',
- ],
+ 'schema' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'required' => true, 'example' => '136'],
],
[
'name' => 'Amount',
'in' => 'query',
- 'schema' => [
- 'title' => '数额',
- 'description' => '数额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1000',
- ],
+ 'schema' => ['title' => '数额', 'description' => '数额', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000'],
],
[
'name' => 'Title',
'in' => 'query',
- 'schema' => [
- 'title' => '发放主题',
- 'description' => '发放主题',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxx活动积分发放',
- ],
+ 'schema' => ['title' => '发放主题', 'description' => '发放主题', 'type' => 'string', 'required' => true, 'example' => 'xxx活动积分发放'],
],
[
'name' => 'Message',
'in' => 'query',
- 'schema' => [
- 'title' => '发放说明',
- 'description' => '发放说明',
- 'type' => 'string',
- 'required' => false,
- 'example' => '活动积分发放',
- ],
+ 'schema' => ['title' => '发放说明', 'description' => '发放说明', 'type' => 'string', 'required' => false, 'example' => '活动积分发放'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"key":"value"}',
- ],
+ 'schema' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{"key":"value"}'],
],
],
'responses' => [
@@ -2870,104 +1275,26 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'RecordId' => [
- 'title' => '流水记录ID',
- 'description' => '流水记录ID',
- 'type' => 'string',
- 'example' => '6529',
- ],
- 'BizId' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'example' => 'LMALL20******002',
- ],
- 'BizUid' => [
- 'title' => '用户ID',
- 'description' => '用户ID',
- 'type' => 'string',
- 'example' => '22******3527'."\n",
- ],
- 'AccountId' => [
- 'title' => '账号ID',
- 'description' => '账号ID',
- 'type' => 'string',
- 'example' => '69******45',
- ],
- 'Name' => [
- 'title' => '标题',
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '***积分发放',
- ],
- 'Description' => [
- 'title' => '描述',
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '***积分发放',
- ],
- 'Action' => [
- 'title' => '操作',
- 'description' => '操作',
- 'type' => 'string',
- ],
- 'Amount' => [
- 'title' => '本次操作数额',
- 'description' => '本次操作数额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'Rest' => [
- 'title' => '账户积分余额',
- 'description' => '账户积分余额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5000',
- ],
- 'RuleId' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'example' => '136',
- ],
- 'IdempotentId' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'example' => '202112******31746-1202'."\n",
- ],
- 'Status' => [
- 'title' => '状态',
- 'description' => '状态',
- 'type' => 'string',
- ],
- 'ExtInfo' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'example' => '{"key":"value"}',
- ],
+ 'RecordId' => ['title' => '流水记录ID', 'description' => '流水记录ID', 'type' => 'string', 'example' => '6529'],
+ 'BizId' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'example' => 'LMALL20******002'],
+ 'BizUid' => ['title' => '用户ID', 'description' => '用户ID', 'type' => 'string', 'example' => '22******3527'."\n"],
+ 'AccountId' => ['title' => '账号ID', 'description' => '账号ID', 'type' => 'string', 'example' => '69******45'],
+ 'Name' => ['title' => '标题', 'description' => '标题', 'type' => 'string', 'example' => '***积分发放'],
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => '***积分发放'],
+ 'Action' => ['title' => '操作', 'description' => '操作', 'type' => 'string'],
+ 'Amount' => ['title' => '本次操作数额', 'description' => '本次操作数额', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'Rest' => ['title' => '账户积分余额', 'description' => '账户积分余额', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'],
+ 'RuleId' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'example' => '136'],
+ 'IdempotentId' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'example' => '202112******31746-1202'."\n"],
+ 'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'string'],
+ 'ExtInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'example' => '{"key":"value"}'],
],
],
],
@@ -2980,13 +1307,8 @@
'RefundUserPoint' => [
'summary' => '退还用户积分'."\n"
.'。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2994,99 +1316,47 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL2000***12',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL2000***12'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务方用户ID',
- 'description' => '业务方用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '业务方用户ID', 'description' => '业务方用户ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'IdempotentId',
'in' => 'query',
- 'schema' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123',
- ],
+ 'schema' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'required' => true, 'example' => '123'],
],
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '136',
- ],
+ 'schema' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'required' => true, 'example' => '136'],
],
[
'name' => 'Amount',
'in' => 'query',
- 'schema' => [
- 'title' => '数额',
- 'description' => '数额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'minimum' => '0',
- 'example' => '100',
- ],
+ 'schema' => ['title' => '数额', 'description' => '数额', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'example' => '100'],
],
[
'name' => 'Title',
'in' => 'query',
- 'schema' => [
- 'title' => '发放主题',
- 'description' => '发放主题',
- 'type' => 'string',
- 'required' => true,
- 'example' => '7天无理由退货退换',
- ],
+ 'schema' => ['title' => '发放主题', 'description' => '发放主题', 'type' => 'string', 'required' => true, 'example' => '7天无理由退货退换'],
],
[
'name' => 'Message',
'in' => 'query',
- 'schema' => [
- 'title' => '发放说明',
- 'description' => '发放说明',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['title' => '发放说明', 'description' => '发放说明', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'ExtInfo',
@@ -3104,12 +1374,7 @@
[
'name' => 'OriginRecordId',
'in' => 'query',
- 'schema' => [
- 'description' => '原始流失号',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PYPT**12',
- ],
+ 'schema' => ['description' => '原始流失号', 'type' => 'string', 'required' => true, 'example' => 'PYPT**12'],
],
],
'responses' => [
@@ -3119,106 +1384,26 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED****',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED****'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'RecordId' => [
- 'title' => '流水记录ID',
- 'description' => '流水记录ID',
- 'type' => 'string',
- 'example' => '414915628598****',
- ],
- 'BizId' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'example' => 'LMALL20211206****',
- ],
- 'BizUid' => [
- 'title' => '用户ID',
- 'description' => '用户ID',
- 'type' => 'string',
- 'example' => '4851826221****',
- ],
- 'AccountId' => [
- 'title' => '账号ID',
- 'description' => '账号ID',
- 'type' => 'string',
- 'example' => '180173763600****',
- ],
- 'Name' => [
- 'title' => '标题',
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '***积分退回',
- ],
- 'Description' => [
- 'title' => '描述',
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '积分退回',
- ],
- 'Action' => [
- 'title' => '操作',
- 'description' => '操作',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Amount' => [
- 'title' => '本次操作数额',
- 'description' => '本次操作数额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Rest' => [
- 'title' => '账户积分余额',
- 'description' => '账户积分余额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2000',
- ],
- 'RuleId' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'example' => '33046',
- ],
- 'IdempotentId' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'example' => '202112******31746-1202'."\n",
- ],
- 'Status' => [
- 'title' => '状态',
- 'description' => '状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExtInfo' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'example' => '{"key":"value"}',
- ],
+ 'RecordId' => ['title' => '流水记录ID', 'description' => '流水记录ID', 'type' => 'string', 'example' => '414915628598****'],
+ 'BizId' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'example' => 'LMALL20211206****'],
+ 'BizUid' => ['title' => '用户ID', 'description' => '用户ID', 'type' => 'string', 'example' => '4851826221****'],
+ 'AccountId' => ['title' => '账号ID', 'description' => '账号ID', 'type' => 'string', 'example' => '180173763600****'],
+ 'Name' => ['title' => '标题', 'description' => '标题', 'type' => 'string', 'example' => '***积分退回'],
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => '积分退回'],
+ 'Action' => ['title' => '操作', 'description' => '操作', 'type' => 'string', 'example' => '""'],
+ 'Amount' => ['title' => '本次操作数额', 'description' => '本次操作数额', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Rest' => ['title' => '账户积分余额', 'description' => '账户积分余额', 'type' => 'integer', 'format' => 'int64', 'example' => '2000'],
+ 'RuleId' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'example' => '33046'],
+ 'IdempotentId' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'example' => '202112******31746-1202'."\n"],
+ 'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => '""'],
+ 'ExtInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'example' => '{"key":"value"}'],
],
],
],
@@ -3231,13 +1416,8 @@
],
'UnFreezeUserPoint' => [
'summary' => '解冻用户积分,调用方需提前开通LM积分服务。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3245,110 +1425,53 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******05',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******05'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务方用户ID',
- 'description' => '业务方用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******37',
- ],
+ 'schema' => ['title' => '业务方用户ID', 'description' => '业务方用户ID', 'type' => 'string', 'required' => true, 'example' => '22******37'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'IdempotentId',
'in' => 'query',
- 'schema' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '20211212******31746-1202',
- ],
+ 'schema' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'required' => true, 'example' => '20211212******31746-1202'],
],
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '136',
- ],
+ 'schema' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'required' => true, 'example' => '136'],
],
[
'name' => 'Amount',
'in' => 'query',
- 'schema' => [
- 'title' => '数额',
- 'description' => '数额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1000',
- ],
+ 'schema' => ['title' => '数额', 'description' => '数额', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000'],
],
[
'name' => 'Title',
'in' => 'query',
- 'schema' => [
- 'title' => '发放主题',
- 'description' => '发放主题',
- 'type' => 'string',
- 'required' => true,
- 'example' => '***积分解冻',
- ],
+ 'schema' => ['title' => '发放主题', 'description' => '发放主题', 'type' => 'string', 'required' => true, 'example' => '***积分解冻'],
],
[
'name' => 'Message',
'in' => 'query',
- 'schema' => [
- 'title' => '发放说明',
- 'description' => '发放说明',
- 'type' => 'string',
- 'required' => false,
- 'example' => '***积分解冻',
- ],
+ 'schema' => ['title' => '发放说明', 'description' => '发放说明', 'type' => 'string', 'required' => false, 'example' => '***积分解冻'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{}'."\n",
- ],
+ 'schema' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{}'."\n"],
],
],
'responses' => [
@@ -3358,106 +1481,26 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'RecordId' => [
- 'title' => '流水记录ID',
- 'description' => '流水记录ID',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'BizId' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'example' => 'LMALL20******001',
- ],
- 'BizUid' => [
- 'title' => '用户ID',
- 'description' => '用户ID',
- 'type' => 'string',
- 'example' => '22******37'."\n",
- ],
- 'AccountId' => [
- 'title' => '账号ID',
- 'description' => '账号ID',
- 'type' => 'string',
- 'example' => '17******31',
- ],
- 'Name' => [
- 'title' => '标题',
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '***积分解冻',
- ],
- 'Description' => [
- 'title' => '描述',
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '***积分解冻',
- ],
- 'Action' => [
- 'title' => '操作',
- 'description' => '操作',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Amount' => [
- 'title' => '本次操作数额',
- 'description' => '本次操作数额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'Rest' => [
- 'title' => '账户积分余额',
- 'description' => '账户积分余额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2000',
- ],
- 'RuleId' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'example' => '136',
- ],
- 'IdempotentId' => [
- 'title' => '幂等ID',
- 'description' => '幂等ID',
- 'type' => 'string',
- 'example' => '20211212******31746-1202'."\n",
- ],
- 'Status' => [
- 'title' => '状态',
- 'description' => '状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExtInfo' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'example' => '{"key":"value"}',
- ],
+ 'RecordId' => ['title' => '流水记录ID', 'description' => '流水记录ID', 'type' => 'string', 'example' => '""'],
+ 'BizId' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'example' => 'LMALL20******001'],
+ 'BizUid' => ['title' => '用户ID', 'description' => '用户ID', 'type' => 'string', 'example' => '22******37'."\n"],
+ 'AccountId' => ['title' => '账号ID', 'description' => '账号ID', 'type' => 'string', 'example' => '17******31'],
+ 'Name' => ['title' => '标题', 'description' => '标题', 'type' => 'string', 'example' => '***积分解冻'],
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => '***积分解冻'],
+ 'Action' => ['title' => '操作', 'description' => '操作', 'type' => 'string', 'example' => '""'],
+ 'Amount' => ['title' => '本次操作数额', 'description' => '本次操作数额', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'Rest' => ['title' => '账户积分余额', 'description' => '账户积分余额', 'type' => 'integer', 'format' => 'int64', 'example' => '2000'],
+ 'RuleId' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'example' => '136'],
+ 'IdempotentId' => ['title' => '幂等ID', 'description' => '幂等ID', 'type' => 'string', 'example' => '20211212******31746-1202'."\n"],
+ 'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'string', 'example' => '""'],
+ 'ExtInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'example' => '{"key":"value"}'],
],
],
],
@@ -3469,13 +1512,8 @@
],
'ListUserPointRecords' => [
'summary' => '查询用户积分流水记录,调用方需提前开通LM积分服务。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3483,134 +1521,62 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务方用户ID',
- 'description' => '业务方用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******67',
- ],
+ 'schema' => ['title' => '业务方用户ID', 'description' => '业务方用户ID', 'type' => 'string', 'required' => true, 'example' => '22******67'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'PointAction',
'in' => 'query',
- 'schema' => [
- 'title' => '操作',
- 'description' => '操作',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['title' => '操作', 'description' => '操作', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '数额',
- 'description' => '数额',
- 'type' => 'string',
- 'required' => false,
- 'example' => '136',
- ],
+ 'schema' => ['title' => '数额', 'description' => '数额', 'type' => 'string', 'required' => false, 'example' => '136'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'title' => '发放主题',
- 'description' => '发放主题',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'minimum' => '0',
- 'example' => '1640958044395',
- ],
+ 'schema' => ['title' => '发放主题', 'description' => '发放主题', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'example' => '1640958044395'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'title' => '发放说明',
- 'description' => '发放说明',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'minimum' => '0',
- 'example' => '1638958044395',
- ],
+ 'schema' => ['title' => '发放说明', 'description' => '发放说明', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'example' => '1638958044395'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页显示的条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '200',
- 'minimum' => '1',
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页显示的条数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '200', 'minimum' => '1', 'example' => '20'],
],
[
'name' => 'PointActions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -3620,40 +1586,12 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '199DFDCB-2225-5748-8D1A-528DD6C76563',
- ],
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageNumber' => [
- 'description' => '当前页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页显示的条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '记录总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '199DFDCB-2225-5748-8D1A-528DD6C76563'],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageNumber' => ['description' => '当前页码,从1开始', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '每页显示的条数', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'TotalCount' => ['description' => '记录总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
'Model' => [
'description' => '积分记录列表',
'type' => 'array',
@@ -3661,66 +1599,18 @@
'description' => '积分记录列表',
'type' => 'object',
'properties' => [
- 'RecordId' => [
- 'description' => '积分记录ID',
- 'type' => 'string',
- 'example' => '5******4',
- ],
- 'Name' => [
- 'description' => '积分记录名称',
- 'type' => 'string',
- 'example' => '***积分冻结',
- ],
- 'Description' => [
- 'description' => '积分记录描述',
- 'type' => 'string',
- 'example' => '***积分冻结',
- ],
- 'Action' => [
- 'type' => 'string',
- ],
- 'Amount' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'Rest' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RuleId' => [
- 'description' => '规则ID',
- 'type' => 'string',
- 'example' => '710',
- ],
- 'IdempotentId' => [
- 'description' => '幂等ID',
- 'type' => 'string',
- 'example' => '20211215******8117-1200',
- ],
- 'Status' => [
- 'description' => '状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'object',
- 'example' => '{"key":"value"}',
- ],
- 'CreateTime' => [
- 'description' => '创建时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1638451941000',
- ],
- 'ModifyTime' => [
- 'description' => '修改时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1648451941000',
- ],
+ 'RecordId' => ['description' => '积分记录ID', 'type' => 'string', 'example' => '5******4'],
+ 'Name' => ['description' => '积分记录名称', 'type' => 'string', 'example' => '***积分冻结'],
+ 'Description' => ['description' => '积分记录描述', 'type' => 'string', 'example' => '***积分冻结'],
+ 'Action' => ['type' => 'string'],
+ 'Amount' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'Rest' => ['type' => 'integer', 'format' => 'int64'],
+ 'RuleId' => ['description' => '规则ID', 'type' => 'string', 'example' => '710'],
+ 'IdempotentId' => ['description' => '幂等ID', 'type' => 'string', 'example' => '20211215******8117-1200'],
+ 'Status' => ['description' => '状态', 'type' => 'string', 'example' => '""'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'object', 'example' => '{"key":"value"}'],
+ 'CreateTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1638451941000'],
+ 'ModifyTime' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1648451941000'],
],
],
],
@@ -3733,13 +1623,8 @@
],
'QueryUserPoint' => [
'summary' => '查询用户积分,调用方需提前开通LM积分服务。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3747,53 +1632,28 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******002',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******002'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务方用户ID',
- 'description' => '业务方用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22******3646',
- ],
+ 'schema' => ['title' => '业务方用户ID', 'description' => '业务方用户ID', 'type' => 'string', 'required' => true, 'example' => '22******3646'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => 'UNDEFINED',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => 'UNDEFINED'],
],
[
'name' => 'ExtInfo',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"key":"value"}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{"key":"value"}'],
],
],
'responses' => [
@@ -3803,91 +1663,23 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'title' => '账户ID',
- 'description' => '账户ID',
- 'type' => 'string',
- 'example' => '11******466',
- ],
- 'BizId' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'example' => 'LMALL20******008',
- ],
- 'BizUid' => [
- 'title' => '业务方用户ID',
- 'description' => '业务方用户ID',
- 'type' => 'string',
- 'example' => '22******3646',
- ],
- 'Status' => [
- 'title' => '账号状态',
- 'description' => '账号状态',
- 'type' => 'string',
- 'example' => '4',
- ],
- 'CurrentAmount' => [
- 'title' => '当前积分余额',
- 'description' => '当前积分余额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'HistoryAmount' => [
- 'title' => '历史累计积分',
- 'description' => '历史累计积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5000',
- ],
- 'FrozenAmount' => [
- 'title' => '当前冻结积分',
- 'description' => '当前冻结积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4000',
- ],
- 'Level' => [
- 'title' => '账号等级',
- 'description' => '账号等级',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '创建时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1639037068811',
- ],
- 'ModifyTime' => [
- 'title' => '修改时间',
- 'description' => '修改时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1642662319000',
- ],
+ 'AccountId' => ['title' => '账户ID', 'description' => '账户ID', 'type' => 'string', 'example' => '11******466'],
+ 'BizId' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'example' => 'LMALL20******008'],
+ 'BizUid' => ['title' => '业务方用户ID', 'description' => '业务方用户ID', 'type' => 'string', 'example' => '22******3646'],
+ 'Status' => ['title' => '账号状态', 'description' => '账号状态', 'type' => 'string', 'example' => '4'],
+ 'CurrentAmount' => ['title' => '当前积分余额', 'description' => '当前积分余额', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'HistoryAmount' => ['title' => '历史累计积分', 'description' => '历史累计积分', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'],
+ 'FrozenAmount' => ['title' => '当前冻结积分', 'description' => '当前冻结积分', 'type' => 'integer', 'format' => 'int64', 'example' => '4000'],
+ 'Level' => ['title' => '账号等级', 'description' => '账号等级', 'type' => 'string', 'example' => '1'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1639037068811'],
+ 'ModifyTime' => ['title' => '修改时间', 'description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1642662319000'],
],
],
],
@@ -3898,14 +1690,8 @@
'title' => '查询用户积分',
],
'AddItemLimitRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3922,107 +1708,52 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'SubBizCode',
'in' => 'query',
- 'schema' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eaab4******59205ec608b2144ba',
- ],
+ 'schema' => ['description' => '子业务号', 'type' => 'string', 'required' => false, 'example' => 'eaab4******59205ec608b2144ba'],
],
[
'name' => 'LmActivityId',
'in' => 'query',
- 'schema' => [
- 'description' => '活动ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '679',
- ],
+ 'schema' => ['description' => '活动ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '679'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000055-******09769',
- ],
+ 'schema' => ['description' => 'lm侧商品ID', 'type' => 'string', 'required' => false, 'example' => '10000055-******09769'],
],
[
'name' => 'ItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '59******0266',
- ],
+ 'schema' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '59******0266'],
],
[
'name' => 'UpperNum',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
[
'name' => 'RuleType',
'in' => 'query',
- 'schema' => [
- 'description' => '规则类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '规则类型', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true],
],
[
'name' => 'BeginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1638958044395'."\n",
- ],
+ 'schema' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1638958044395'."\n"],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1647446400000',
- ],
+ 'schema' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1647446400000'],
],
],
'responses' => [
@@ -4030,33 +1761,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Model' => [
- 'description' => '返回结果',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '7BAC5B75-8208-5788-829D-AD7640085D38',
- ],
- 'RuleId' => [
- 'description' => '规则ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '109',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Model' => ['description' => '返回结果', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '7BAC5B75-8208-5788-829D-AD7640085D38'],
+ 'RuleId' => ['description' => '规则ID', 'type' => 'integer', 'format' => 'int64', 'example' => '109'],
],
],
],
@@ -4066,14 +1775,8 @@
'summary' => '创建商品限购规则。',
],
'AddSupplierNewItems' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4090,21 +1793,13 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2000***12',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2000***12'],
],
[
'name' => 'ItemList',
@@ -4117,30 +1812,13 @@
'description' => '商品列表',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000035-61936646****',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '61936646****',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'required' => false, 'example' => '10000035-61936646****'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '61936646****'],
'SkuList' => [
'description' => '商品sku列表',
'type' => 'array',
'format' => 'int64',
- 'items' => [
- 'description' => '商品sku列表',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '[475786598****]',
- ],
+ 'items' => ['description' => '商品sku列表', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[475786598****]'],
'required' => false,
'maxItems' => 100,
],
@@ -4158,21 +1836,9 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'F2D3CA1E-28BE-5E1C-B55F-81C8F290****',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'F2D3CA1E-28BE-5E1C-B55F-81C8F290****'],
],
],
],
@@ -4184,42 +1850,25 @@
.'添加商品到基础库和渠道业务库',
],
'DeleteBizItems' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务id',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2*****001',
- ],
+ 'schema' => ['description' => '业务id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2*****001'],
],
[
'name' => 'SubBizId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ItemIdList',
@@ -4228,13 +1877,7 @@
'schema' => [
'description' => '商品id列表',
'type' => 'array',
- 'items' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '324123312231',
- ],
+ 'items' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '324123312231'],
'required' => true,
'maxItems' => 20,
],
@@ -4245,21 +1888,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '接口返回码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8',
- ],
+ 'Code' => ['description' => '接口返回码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8'],
],
],
],
@@ -4269,13 +1900,8 @@
'summary' => '删除业务商品库中的商品。',
],
'ModifyBizItems' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4283,31 +1909,18 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20211119****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20211119****'],
],
[
'name' => 'SubBizId',
'in' => 'query',
- 'schema' => [
- 'description' => '子渠道ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '12c6b6e98bb34475bcd38df73****',
- ],
+ 'schema' => ['description' => '子渠道ID', 'type' => 'string', 'required' => false, 'example' => '12c6b6e98bb34475bcd38df73****'],
],
[
'name' => 'ItemList',
@@ -4320,19 +1933,8 @@
'description' => '商品信息列表',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'Lm侧商品ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000035-61936646****',
- ],
- 'ItemId' => [
- 'description' => '商品Id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '62553137****',
- ],
+ 'LmItemId' => ['description' => 'Lm侧商品ID', 'type' => 'string', 'required' => false, 'example' => '10000035-61936646****'],
+ 'ItemId' => ['description' => '商品Id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '62553137****'],
'SkuList' => [
'description' => '商品sku列表',
'type' => 'array',
@@ -4340,54 +1942,13 @@
'description' => '商品sku列表',
'type' => 'object',
'properties' => [
- 'StatusAction' => [
- 'description' => 'sku状态',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
- 'PriceCent' => [
- 'description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2790',
- ],
- 'SkuId' => [
- 'description' => '商品的SkuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '472266643****',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1999',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1290',
- ],
- 'BenefitId' => [
- 'description' => '商品权益ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '202108181714875327',
- ],
- 'Quantity' => [
- 'description' => 'sku库存',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20000',
- ],
+ 'StatusAction' => ['description' => 'sku状态', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ 'PriceCent' => ['description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2790'],
+ 'SkuId' => ['description' => '商品的SkuId', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '472266643****'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1999'],
+ 'PointsAmount' => ['description' => '积分抵扣价格', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1290'],
+ 'BenefitId' => ['description' => '商品权益ID', 'type' => 'string', 'required' => false, 'example' => '202108181714875327'],
+ 'Quantity' => ['description' => 'sku库存', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20000'],
],
'required' => false,
],
@@ -4408,39 +1969,12 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '204F5C60-0B34-5718-AF93-9BD26B37****',
- ],
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageNumber' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每⻚多少条记录,最⼤20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '19',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '204F5C60-0B34-5718-AF93-9BD26B37****'],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageNumber' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '每⻚多少条记录,最⼤20条', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '19'],
'FailedItemList' => [
'type' => 'object',
'itemNode' => true,
@@ -4452,17 +1986,8 @@
'description' => '商品更新失败列表',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10000102-65305223****',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65305223****'."\n",
- ],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10000102-65305223****'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '65305223****'."\n"],
'SkuIdList' => [
'type' => 'object',
'itemNode' => true,
@@ -4470,11 +1995,7 @@
'Sku' => [
'description' => '商品skuId列表',
'type' => 'array',
- 'items' => [
- 'description' => '商品skuId列表',
- 'type' => 'string',
- 'example' => '[425341098****]',
- ],
+ 'items' => ['description' => '商品skuId列表', 'type' => 'string', 'example' => '[425341098****]'],
],
],
],
@@ -4493,13 +2014,8 @@
'description' => '更新业务商品库中商品信息',
],
'ModifyItemLimitRule' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4507,115 +2023,57 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'SubBizCode',
'in' => 'query',
- 'schema' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '5ab43d1******41abdd23629bed001a0',
- ],
+ 'schema' => ['description' => '子业务号', 'type' => 'string', 'required' => false, 'example' => '5ab43d1******41abdd23629bed001a0'],
],
[
'name' => 'LmActivityId',
'in' => 'query',
- 'schema' => [
- 'description' => '活动ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '679',
- ],
+ 'schema' => ['description' => '活动ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '679'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000055-******09839',
- ],
+ 'schema' => ['description' => 'lm侧商品ID', 'type' => 'string', 'required' => false, 'example' => '10000055-******09839'],
],
[
'name' => 'ItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '655******148',
- ],
+ 'schema' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '655******148'],
],
[
'name' => 'UpperNum',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '136',
- ],
+ 'schema' => ['description' => '规则ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '136'],
],
[
'name' => 'RuleType',
'in' => 'query',
- 'schema' => [
- 'description' => '规则类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['description' => '规则类型', 'type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'BeginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1639539460838',
- ],
+ 'schema' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1639539460838'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1648483200000',
- ],
+ 'schema' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1648483200000'],
],
],
'responses' => [
@@ -4623,25 +2081,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Model' => [
- 'description' => '返回结果',
- 'type' => 'boolean',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BCB20091-68E0-5D29-BE90-125954BB58E2',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Model' => ['description' => '返回结果', 'type' => 'boolean'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'BCB20091-68E0-5D29-BE90-125954BB58E2'],
],
],
],
@@ -4652,14 +2095,8 @@
],
'QueryItemDetailTea' => [
'summary' => '根据商品id查询业务商品库中的商品信息,新版SDK使用这个。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4679,92 +2116,54 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '103077',
- 'abilityTreeNodes' => [
- 'FEATURElinkedmallMY1IED',
- ],
+ 'abilityTreeNodes' => ['FEATURElinkedmallMY1IED'],
],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20211013****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20211013****'],
],
[
'name' => 'ItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '66644894****',
- ],
+ 'schema' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '66644894****'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10001036-66644894****',
- ],
+ 'schema' => ['description' => 'lm侧商品id', 'type' => 'string', 'required' => false, 'example' => '10001036-66644894****'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DivisionCode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'UserFlag',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -4772,103 +2171,28 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'BA157565-3358-5D80-9330-************',
- ],
- 'Success' => [
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The specified parameter lmItemId or itemId value is not valid.',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'BA157565-3358-5D80-9330-************'],
+ 'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '""'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The specified parameter lmItemId or itemId value is not valid.'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '""'],
'Item' => [
'description' => '商品信息',
'type' => 'object',
'properties' => [
- 'ItemTitle' => [
- 'description' => '商品标题',
- 'type' => 'string',
- 'example' => '乐事65g白葡萄汽水味气泡薯片',
- ],
- 'MinPoints' => [
- 'description' => '最少积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'DescOption' => [
- 'description' => '商品详情描述',
- 'type' => 'string',
- 'example' => '"<p><img align=\\"absmiddle\\" src=\\"https://img.alicdn.com/imgextra/i1/1742262291/O1CN01j0oO3L1SnK7EwwXP4_!!1742262291.jpg\\" style=\\"max-width: none;width: 750.0px;\\">"',
- ],
- 'VideoPicUrl' => [
- 'description' => '视频头图链接地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n",
- ],
- 'ExtJson' => [
- 'description' => '拓展字段',
- 'type' => 'string',
- 'example' => '{\\"delivery_version\\":\\"1\\"}',
- ],
- 'IsSellerPayPostfee' => [
- 'description' => '是否卖家包邮',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'LmItemCategory' => [
- 'description' => '商品类别',
- 'type' => 'string',
- 'example' => 'entity',
- ],
- 'SellerPayPostfee' => [
- 'description' => '是否卖家包邮',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ReservePrice' => [
- 'description' => '划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'Quantity' => [
- 'description' => '库存数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'VideoUrl' => [
- 'description' => '视频链接地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg',
- ],
- 'CustomizedAttributeMap' => [
- 'description' => '买家信息',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'ItemTitle' => ['description' => '商品标题', 'type' => 'string', 'example' => '乐事65g白葡萄汽水味气泡薯片'],
+ 'MinPoints' => ['description' => '最少积分', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'DescOption' => ['description' => '商品详情描述', 'type' => 'string', 'example' => '"<p><img align=\\"absmiddle\\" src=\\"https://img.alicdn.com/imgextra/i1/1742262291/O1CN01j0oO3L1SnK7EwwXP4_!!1742262291.jpg\\" style=\\"max-width: none;width: 750.0px;\\">"'],
+ 'VideoPicUrl' => ['description' => '视频头图链接地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n"],
+ 'ExtJson' => ['description' => '拓展字段', 'type' => 'string', 'example' => '{\\"delivery_version\\":\\"1\\"}'],
+ 'IsSellerPayPostfee' => ['description' => '是否卖家包邮', 'type' => 'boolean', 'example' => 'true'],
+ 'LmItemCategory' => ['description' => '商品类别', 'type' => 'string', 'example' => 'entity'],
+ 'SellerPayPostfee' => ['description' => '是否卖家包邮', 'type' => 'boolean', 'example' => 'true'],
+ 'ReservePrice' => ['description' => '划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'Quantity' => ['description' => '库存数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'VideoUrl' => ['description' => '视频链接地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'],
+ 'CustomizedAttributeMap' => ['description' => '买家信息', 'type' => 'object', 'example' => '{}'],
'IforestProps' => [
'type' => 'object',
'itemNode' => true,
@@ -4876,90 +2200,24 @@
'IforestProp' => [
'description' => '商品详情页商品名称下面的三列属性',
'type' => 'array',
- 'items' => [
- 'description' => '商品详情页商品名称下面的三列属性',
- 'type' => 'object',
- 'example' => '""',
- ],
+ 'items' => ['description' => '商品详情页商品名称下面的三列属性', 'type' => 'object', 'example' => '""'],
],
],
],
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '10000035-61936646****',
- ],
- 'SellerId' => [
- 'description' => '卖家Id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '329488****',
- ],
- 'TbShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '橘子郡',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '60646253****',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CenterInventory' => [
- 'description' => '主站是否有库存',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SellerType' => [
- 'description' => '卖家类型:0-淘宝卖家,1-天猫卖家',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'TotalSoldQuantity' => [
- 'description' => '商品在tmall的销量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1999',
- ],
- 'MainPicUrl' => [
- 'description' => '主图地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg',
- ],
- 'MinPrice' => [
- 'description' => '商品价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1990',
- ],
- 'IsCanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CategoryId' => [
- 'description' => '类目id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20177****',
- ],
- 'DescPath' => [
- 'description' => '商品详情图片地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg',
- ],
- 'Properties' => [
- 'description' => '产品参数',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '10000035-61936646****'],
+ 'SellerId' => ['description' => '卖家Id', 'type' => 'integer', 'format' => 'int64', 'example' => '329488****'],
+ 'TbShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '橘子郡'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '60646253****'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'CenterInventory' => ['description' => '主站是否有库存', 'type' => 'boolean', 'example' => 'true'],
+ 'SellerType' => ['description' => '卖家类型:0-淘宝卖家,1-天猫卖家', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'TotalSoldQuantity' => ['description' => '商品在tmall的销量', 'type' => 'integer', 'format' => 'int32', 'example' => '1999'],
+ 'MainPicUrl' => ['description' => '主图地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'],
+ 'MinPrice' => ['description' => '商品价格', 'type' => 'integer', 'format' => 'int64', 'example' => '1990'],
+ 'IsCanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'CategoryId' => ['description' => '类目id', 'type' => 'integer', 'format' => 'int64', 'example' => '20177****'],
+ 'DescPath' => ['description' => '商品详情图片地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'],
+ 'Properties' => ['description' => '产品参数', 'type' => 'object', 'example' => '{}'],
'Skus' => [
'type' => 'object',
'itemNode' => true,
@@ -4971,105 +2229,25 @@
'description' => '商品sku列表',
'type' => 'object',
'properties' => [
- 'PriceCent' => [
- 'description' => '客户端销售价格,目前不支持不同区域不同定价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2890',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '10000102-64426301****',
- ],
- 'PointPrice' => [
- 'description' => '积分价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '62887962****',
- ],
- 'SkuTitle' => [
- 'description' => 'sku名称,如:白色/64G。由各个属性拼成,/分割',
- 'type' => 'string',
- 'example' => '白色/64G',
- ],
- 'ExtJson' => [
- 'description' => '拓展字段',
- 'type' => 'string',
- 'example' => '{\\"delivery_version\\":\\"1\\"}',
- ],
- 'SkuProperties' => [
- 'description' => '商品sku参数',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'SkuId' => [
- 'description' => 'skuId,虚拟商品为-1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '465309897****',
- ],
- 'SkuPicUrl' => [
- 'description' => 'sku图片',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg',
- ],
- 'Points' => [
- 'description' => '积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1990',
- ],
- 'ReservePrice' => [
- 'description' => '划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1990',
- ],
- 'PointsAmount' => [
- 'description' => '积分金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Quantity' => [
- 'description' => '库存数量,虚拟商品为-1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'CustomizedAttributeMap' => [
- 'description' => '买家信息',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'SimpleQuantity' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'example' => '“”',
- ],
- 'HasQuantity' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CanNotBeSoldMassage' => [
- 'type' => 'string',
- ],
- 'CanNotBeSoldCode' => [
- 'type' => 'string',
- ],
+ 'PriceCent' => ['description' => '客户端销售价格,目前不支持不同区域不同定价', 'type' => 'integer', 'format' => 'int64', 'example' => '2890'],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '10000102-64426301****'],
+ 'PointPrice' => ['description' => '积分价格', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '62887962****'],
+ 'SkuTitle' => ['description' => 'sku名称,如:白色/64G。由各个属性拼成,/分割', 'type' => 'string', 'example' => '白色/64G'],
+ 'ExtJson' => ['description' => '拓展字段', 'type' => 'string', 'example' => '{\\"delivery_version\\":\\"1\\"}'],
+ 'SkuProperties' => ['description' => '商品sku参数', 'type' => 'object', 'example' => '{}'],
+ 'SkuId' => ['description' => 'skuId,虚拟商品为-1', 'type' => 'integer', 'format' => 'int64', 'example' => '465309897****'],
+ 'SkuPicUrl' => ['description' => 'sku图片', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'],
+ 'Points' => ['description' => '积分', 'type' => 'integer', 'format' => 'int64', 'example' => '1990'],
+ 'ReservePrice' => ['description' => '划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '1990'],
+ 'PointsAmount' => ['description' => '积分金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Quantity' => ['description' => '库存数量,虚拟商品为-1', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'CustomizedAttributeMap' => ['description' => '买家信息', 'type' => 'object', 'example' => '{}'],
+ 'SimpleQuantity' => ['description' => '废弃', 'type' => 'string', 'example' => '“”'],
+ 'HasQuantity' => ['description' => '废弃', 'type' => 'boolean', 'example' => 'true'],
+ 'CanNotBeSoldMassage' => ['type' => 'string'],
+ 'CanNotBeSoldCode' => ['type' => 'string'],
],
],
],
@@ -5082,35 +2260,17 @@
'ItemImage' => [
'description' => '商品图片列表',
'type' => 'array',
- 'items' => [
- 'description' => '商品图片列表',
- 'type' => 'string',
- 'example' => '["//img.alicdn.com/imgextra/i3/174226****/O1CN01DdG5Zl1SnK749X6Me_!!1742262291.jpg"]',
- ],
+ 'items' => ['description' => '商品图片列表', 'type' => 'string', 'example' => '["//img.alicdn.com/imgextra/i3/174226****/O1CN01DdG5Zl1SnK749X6Me_!!1742262291.jpg"]'],
],
],
],
- 'SimpleQuantity' => [
- 'type' => 'string',
- ],
- 'HasQuantity' => [
- 'type' => 'boolean',
- ],
- 'TotalSoldSimpleQuantity' => [
- 'type' => 'string',
- ],
- 'ItemTotalSimpleValue' => [
- 'type' => 'string',
- ],
- 'FirstPicUrl' => [
- 'type' => 'string',
- ],
- 'CanNotBeSoldCode' => [
- 'type' => 'string',
- ],
- 'CanNotBeSoldMassage' => [
- 'type' => 'string',
- ],
+ 'SimpleQuantity' => ['type' => 'string'],
+ 'HasQuantity' => ['type' => 'boolean'],
+ 'TotalSoldSimpleQuantity' => ['type' => 'string'],
+ 'ItemTotalSimpleValue' => ['type' => 'string'],
+ 'FirstPicUrl' => ['type' => 'string'],
+ 'CanNotBeSoldCode' => ['type' => 'string'],
+ 'CanNotBeSoldMassage' => ['type' => 'string'],
],
],
],
@@ -5119,10 +2279,7 @@
],
'errorCodes' => [
202 => [
- [
- 'errorCode' => 'UNAVAILABLE_VALID_PO_DURING_LATEST_TREE_MONTH',
- 'errorMessage' => 'UNAVAILABLE_VALID_PO_DURING_LATEST_TREE_MONTH',
- ],
+ ['errorCode' => 'UNAVAILABLE_VALID_PO_DURING_LATEST_TREE_MONTH', 'errorMessage' => 'UNAVAILABLE_VALID_PO_DURING_LATEST_TREE_MONTH'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BA157565-3358-5D80-9330-************\\",\\n \\"Success\\": true,\\n \\"SubMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"The specified parameter lmItemId or itemId value is not valid.\\",\\n \\"SubCode\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Item\\": {\\n \\"ItemTitle\\": \\"乐事65g白葡萄汽水味气泡薯片\\",\\n \\"MinPoints\\": 2990,\\n \\"DescOption\\": \\"\\\\\\"<p><img align=\\\\\\\\\\\\\\"absmiddle\\\\\\\\\\\\\\" src=\\\\\\\\\\\\\\"https://img.alicdn.com/imgextra/i1/1742262291/O1CN01j0oO3L1SnK7EwwXP4_!!1742262291.jpg\\\\\\\\\\\\\\" style=\\\\\\\\\\\\\\"max-width: none;width: 750.0px;\\\\\\\\\\\\\\">\\\\\\"\\",\\n \\"VideoPicUrl\\": \\"https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg\\\\n\\",\\n \\"ExtJson\\": \\"{\\\\\\\\\\\\\\"delivery_version\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"}\\",\\n \\"IsSellerPayPostfee\\": true,\\n \\"LmItemCategory\\": \\"entity\\",\\n \\"SellerPayPostfee\\": true,\\n \\"ReservePrice\\": 2990,\\n \\"Quantity\\": 1,\\n \\"VideoUrl\\": \\"https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg\\",\\n \\"CustomizedAttributeMap\\": {},\\n \\"IforestProps\\": {\\n \\"IforestProp\\": [\\n \\"\\"\\n ]\\n },\\n \\"LmItemId\\": \\"10000035-61936646****\\",\\n \\"SellerId\\": 0,\\n \\"TbShopName\\": \\"橘子郡\\",\\n \\"ItemId\\": 0,\\n \\"CanSell\\": true,\\n \\"CenterInventory\\": true,\\n \\"SellerType\\": 0,\\n \\"TotalSoldQuantity\\": 1999,\\n \\"MainPicUrl\\": \\"https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg\\",\\n \\"MinPrice\\": 1990,\\n \\"IsCanSell\\": true,\\n \\"CategoryId\\": 0,\\n \\"DescPath\\": \\"https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg\\",\\n \\"Properties\\": {},\\n \\"Skus\\": {\\n \\"Sku\\": [\\n {\\n \\"PriceCent\\": 2890,\\n \\"LmItemId\\": \\"10000102-64426301****\\",\\n \\"PointPrice\\": 2990,\\n \\"CanSell\\": true,\\n \\"ItemId\\": 0,\\n \\"SkuTitle\\": \\"白色/64G\\",\\n \\"ExtJson\\": \\"{\\\\\\\\\\\\\\"delivery_version\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"}\\",\\n \\"SkuProperties\\": {},\\n \\"SkuId\\": 0,\\n \\"SkuPicUrl\\": \\"https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg\\",\\n \\"Points\\": 1990,\\n \\"ReservePrice\\": 1990,\\n \\"PointsAmount\\": 0,\\n \\"Quantity\\": 4,\\n \\"CustomizedAttributeMap\\": {},\\n \\"SimpleQuantity\\": \\"“”\\",\\n \\"HasQuantity\\": true,\\n \\"CanNotBeSoldMassage\\": \\"\\",\\n \\"CanNotBeSoldCode\\": \\"\\"\\n }\\n ]\\n },\\n \\"ItemImages\\": {\\n \\"ItemImage\\": [\\n \\"[\\\\\\"//img.alicdn.com/imgextra/i3/174226****/O1CN01DdG5Zl1SnK749X6Me_!!1742262291.jpg\\\\\\"]\\"\\n ]\\n },\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"TotalSoldSimpleQuantity\\": \\"\\",\\n \\"ItemTotalSimpleValue\\": \\"\\",\\n \\"FirstPicUrl\\": \\"\\",\\n \\"CanNotBeSoldCode\\": \\"\\",\\n \\"CanNotBeSoldMassage\\": \\"\\"\\n }\\n}","type":"json"}]',
@@ -5228,14 +2385,8 @@
.' }',
],
'QueryItemDetailInner' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5252,93 +2403,48 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2021081*****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2021081*****'],
],
[
'name' => 'ItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '61358168****',
- ],
+ 'schema' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '61358168****'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000055-58233812****',
- ],
+ 'schema' => ['description' => 'lm侧商品id', 'type' => 'string', 'required' => false, 'example' => '10000055-58233812****'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '9f99f38030254728***'."\n",
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false, 'example' => '9f99f38030254728***'."\n"],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和ThirdPartyUserId填写一样的值',
- 'type' => 'string',
- 'required' => false,
- 'example' => '9f99f38030254728***',
- ],
+ 'schema' => ['description' => '和ThirdPartyUserId填写一样的值', 'type' => 'string', 'required' => false, 'example' => '9f99f38030254728***'],
],
[
'name' => 'DivisionCode',
'in' => 'query',
- 'schema' => [
- 'description' => '四级配送区域编码,查询该区域库存。该字段通过queryAddress接⼝获取',
- 'type' => 'string',
- 'required' => false,
- 'example' => '510132',
- ],
+ 'schema' => ['description' => '四级配送区域编码,查询该区域库存。该字段通过queryAddress接⼝获取', 'type' => 'string', 'required' => false, 'example' => '510132'],
],
[
'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'required' => false,
- 'example' => '49.93.0.222',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'string', 'required' => false, 'example' => '49.93.0.222'],
],
],
'responses' => [
@@ -5347,154 +2453,37 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'BA157565-3358-5D80-9330-************',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'BA157565-3358-5D80-9330-************'],
'Item' => [
'description' => '商品信息',
'type' => 'object',
'properties' => [
- 'ItemTitle' => [
- 'description' => '商品标题',
- 'type' => 'string',
- 'example' => '乐事65g白葡萄汽水味气泡薯片',
- ],
- 'City' => [
- 'description' => '所属城市',
- 'type' => 'string',
- 'example' => '昆明',
- ],
- 'MinPoints' => [
- 'description' => '最少积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'DescOption' => [
- 'description' => '商品详情描述',
- 'type' => 'string',
- 'example' => '"<p><img align=\\"absmiddle\\" src=\\"https://img.alicdn.com/imgextra/i1/1742262291/O1CN01j0oO3L1SnK7EwwXP4_!!1742262291.jpg\\" style=\\"max-width: none;width: 750.0px;\\">"',
- ],
- 'IsSellerPayPostfee' => [
- 'description' => '是否卖家包邮',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'LmItemCategory' => [
- 'description' => '商品类别',
- 'type' => 'string',
- 'example' => 'entity',
- ],
- 'SellerPayPostfee' => [
- 'description' => '是否卖家包邮',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ReservePrice' => [
- 'description' => '划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'Quantity' => [
- 'description' => '库存数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5000',
- ],
- 'SellerId' => [
- 'description' => '卖家Id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '329488****',
- ],
- 'TbShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '橘子郡',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '60646253****',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CenterInventory' => [
- 'description' => '主站是否有库存',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TotalSoldQuantity' => [
- 'description' => '商品在tmall的销量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1999',
- ],
- 'MainPicUrl' => [
- 'description' => '主图地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg',
- ],
- 'MinPrice' => [
- 'description' => '商品价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1990',
- ],
- 'IsCanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'LmShopId' => [
- 'description' => 'lm侧店铺ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1002****',
- ],
- 'CategoryId' => [
- 'description' => '类目id,如没有类目数据则传入0',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20177****',
- ],
- 'SellerNick' => [
- 'description' => '卖家nick',
- 'type' => 'string',
- 'example' => '巴中人五香嘴',
- ],
- 'DescPath' => [
- 'description' => '商品详情图片地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg',
- ],
- 'Properties' => [
- 'description' => '产品参数',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'Province' => [
- 'description' => '省份',
- 'type' => 'string',
- 'example' => '北京市',
- ],
+ 'ItemTitle' => ['description' => '商品标题', 'type' => 'string', 'example' => '乐事65g白葡萄汽水味气泡薯片'],
+ 'City' => ['description' => '所属城市', 'type' => 'string', 'example' => '昆明'],
+ 'MinPoints' => ['description' => '最少积分', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'DescOption' => ['description' => '商品详情描述', 'type' => 'string', 'example' => '"<p><img align=\\"absmiddle\\" src=\\"https://img.alicdn.com/imgextra/i1/1742262291/O1CN01j0oO3L1SnK7EwwXP4_!!1742262291.jpg\\" style=\\"max-width: none;width: 750.0px;\\">"'],
+ 'IsSellerPayPostfee' => ['description' => '是否卖家包邮', 'type' => 'boolean', 'example' => 'true'],
+ 'LmItemCategory' => ['description' => '商品类别', 'type' => 'string', 'example' => 'entity'],
+ 'SellerPayPostfee' => ['description' => '是否卖家包邮', 'type' => 'boolean', 'example' => 'true'],
+ 'ReservePrice' => ['description' => '划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'Quantity' => ['description' => '库存数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5000'],
+ 'SellerId' => ['description' => '卖家Id', 'type' => 'integer', 'format' => 'int64', 'example' => '329488****'],
+ 'TbShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '橘子郡'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '60646253****'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'CenterInventory' => ['description' => '主站是否有库存', 'type' => 'boolean', 'example' => 'true'],
+ 'TotalSoldQuantity' => ['description' => '商品在tmall的销量', 'type' => 'integer', 'format' => 'int32', 'example' => '1999'],
+ 'MainPicUrl' => ['description' => '主图地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'],
+ 'MinPrice' => ['description' => '商品价格', 'type' => 'integer', 'format' => 'int64', 'example' => '1990'],
+ 'IsCanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'LmShopId' => ['description' => 'lm侧店铺ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1002****'],
+ 'CategoryId' => ['description' => '类目id,如没有类目数据则传入0', 'type' => 'integer', 'format' => 'int64', 'example' => '20177****'],
+ 'SellerNick' => ['description' => '卖家nick', 'type' => 'string', 'example' => '巴中人五香嘴'],
+ 'DescPath' => ['description' => '商品详情图片地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'],
+ 'Properties' => ['description' => '产品参数', 'type' => 'object', 'example' => '{}'],
+ 'Province' => ['description' => '省份', 'type' => 'string', 'example' => '北京市'],
'Skus' => [
'description' => '商品sku列表',
'type' => 'array',
@@ -5502,88 +2491,21 @@
'description' => '商品sku列表',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => 'sku状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'PriceCent' => [
- 'description' => '客户端销售价格,目前不支持不同区域不同定价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2890',
- ],
- 'SkuPvs' => [
- 'type' => 'string',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '10000102-64426301****',
- ],
- 'PointPrice' => [
- 'description' => '积分价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '62887962****',
- ],
- 'SkuTitle' => [
- 'description' => 'sku名称,如:白色/64G。由各个属性拼成,/分割',
- 'type' => 'string',
- 'example' => '白色/64G',
- ],
- 'ExtJson' => [
- 'description' => '拓展字段',
- 'type' => 'string',
- 'example' => '{"key":"value"}',
- ],
- 'SkuId' => [
- 'description' => 'skuid',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '465309897****',
- ],
- 'SkuPicUrl' => [
- 'description' => 'sku图片',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg',
- ],
- 'Points' => [
- 'description' => '积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1990',
- ],
- 'PointsAmount' => [
- 'description' => '积分金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ReservePrice' => [
- 'description' => '划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1990',
- ],
- 'SkuDesc' => [
- 'description' => 'sku详情',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Quantity' => [
- 'description' => '库存数量,虚拟商品为-1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4100',
- ],
+ 'Status' => ['description' => 'sku状态', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'PriceCent' => ['description' => '客户端销售价格,目前不支持不同区域不同定价', 'type' => 'integer', 'format' => 'int64', 'example' => '2890'],
+ 'SkuPvs' => ['type' => 'string'],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '10000102-64426301****'],
+ 'PointPrice' => ['description' => '积分价格', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '62887962****'],
+ 'SkuTitle' => ['description' => 'sku名称,如:白色/64G。由各个属性拼成,/分割', 'type' => 'string', 'example' => '白色/64G'],
+ 'ExtJson' => ['description' => '拓展字段', 'type' => 'string', 'example' => '{"key":"value"}'],
+ 'SkuId' => ['description' => 'skuid', 'type' => 'integer', 'format' => 'int64', 'example' => '465309897****'],
+ 'SkuPicUrl' => ['description' => 'sku图片', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'],
+ 'Points' => ['description' => '积分', 'type' => 'integer', 'format' => 'int64', 'example' => '1990'],
+ 'PointsAmount' => ['description' => '积分金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ReservePrice' => ['description' => '划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '1990'],
+ 'SkuDesc' => ['description' => 'sku详情', 'type' => 'string', 'example' => '""'],
+ 'Quantity' => ['description' => '库存数量,虚拟商品为-1', 'type' => 'integer', 'format' => 'int32', 'example' => '4100'],
],
],
],
@@ -5594,25 +2516,15 @@
'description' => 'sku详情信息',
'type' => 'object',
'properties' => [
- 'Text' => [
- 'type' => 'string',
- ],
- 'Id' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'Text' => ['type' => 'string'],
+ 'Id' => ['type' => 'integer', 'format' => 'int64'],
'Values' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Text' => [
- 'type' => 'string',
- ],
- 'Id' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'Text' => ['type' => 'string'],
+ 'Id' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -5622,33 +2534,19 @@
'CategoryIds' => [
'description' => '类目列表',
'type' => 'array',
- 'items' => [
- 'description' => '类目列表',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'items' => ['description' => '类目列表', 'type' => 'integer', 'format' => 'int64'],
],
'IforestProps' => [
'description' => '商品详情页商品名称下面的三列属性',
'type' => 'array',
- 'items' => [
- 'description' => '商品详情页商品名称下面的三列属性',
- 'type' => 'object',
- 'example' => '[{},{}]',
- ],
+ 'items' => ['description' => '商品详情页商品名称下面的三列属性', 'type' => 'object', 'example' => '[{},{}]'],
],
'ItemImages' => [
'description' => '商品图片列表',
'type' => 'array',
- 'items' => [
- 'description' => '商品图片列表',
- 'type' => 'string',
- 'example' => '["//img.alicdn.com/imgextra/i3/174226****/O1CN01DdG5Zl1SnK749X6Me_!!1742262291.jpg"]',
- ],
- ],
- 'FirstPicUrl' => [
- 'type' => 'string',
+ 'items' => ['description' => '商品图片列表', 'type' => 'string', 'example' => '["//img.alicdn.com/imgextra/i3/174226****/O1CN01DdG5Zl1SnK749X6Me_!!1742262291.jpg"]'],
],
+ 'FirstPicUrl' => ['type' => 'string'],
],
],
],
@@ -5661,14 +2559,8 @@
'description' => '查询商品详情(内部使用)'."\n",
],
'QueryItemInventory' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5685,42 +2577,23 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2******002',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2******002'],
],
[
'name' => 'DivisionCode',
'in' => 'query',
- 'schema' => [
- 'description' => '四级配送区域编码,查询该区域库存。该字段通过queryAddress接⼝获取',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '410503006',
- ],
+ 'schema' => ['description' => '四级配送区域编码,查询该区域库存。该字段通过queryAddress接⼝获取', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '410503006'],
],
[
'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'required' => false,
- 'example' => '113.77.105.73',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'string', 'required' => false, 'example' => '113.77.105.73'],
],
[
'name' => 'ItemList',
@@ -5733,30 +2606,13 @@
'description' => '商品列表信息',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000710-635764300767',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '630730743485',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'required' => false, 'example' => '10000710-635764300767'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '630730743485'],
'SkuIdList' => [
'description' => '商品skuId列表',
'type' => 'array',
'format' => 'int64',
- 'items' => [
- 'description' => 'SKU的ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '4890674122805',
- ],
+ 'items' => ['description' => 'SKU的ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4890674122805'],
'required' => false,
'maxItems' => 100,
],
@@ -5773,36 +2629,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '1F2E68C6-FD20-5121-89FF-65F555EE1F15',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '1F2E68C6-FD20-5121-89FF-65F555EE1F15'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'True'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => 'SUCCESS'],
'ItemList' => [
'type' => 'object',
'itemNode' => true,
@@ -5814,17 +2646,8 @@
'description' => '商品列表信息',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '10000710-635764300767',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '631145057663',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '10000710-635764300767'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '631145057663'],
'SkuList' => [
'type' => 'object',
'itemNode' => true,
@@ -5836,22 +2659,12 @@
'description' => '商品sku列表',
'type' => 'object',
'properties' => [
- 'SkuId' => [
- 'description' => 'skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4901251235576',
- ],
+ 'SkuId' => ['description' => 'skuId', 'type' => 'integer', 'format' => 'int64', 'example' => '4901251235576'],
'Inventory' => [
'description' => '库存',
'type' => 'object',
'properties' => [
- 'Quantity' => [
- 'description' => '库存数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'Quantity' => ['description' => '库存数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -5885,14 +2698,8 @@
.' ]',
],
'GetItemPromotion' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5909,45 +2716,23 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******003',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******003'],
],
[
'name' => 'ItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '9223372036854775807',
- 'minimum' => '0',
- 'example' => '66262416****',
- ],
+ 'schema' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '66262416****'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000035-6193664*****',
- ],
+ 'schema' => ['description' => 'lm侧商品id', 'type' => 'string', 'required' => false, 'example' => '10000035-6193664*****'],
],
],
'responses' => [
@@ -5956,91 +2741,26 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '7152F15C-7298-5531-9A76-2ED2C331****',
- ],
- 'Success' => [
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '7152F15C-7298-5531-9A76-2ED2C331****'],
+ 'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => 'SUCCESS'],
'ItemPromotionModel' => [
'description' => '返回的商品促销信息',
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2022-02-06 10:01:00',
- ],
- 'StartTime' => [
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2022-01-01 00:00:00',
- ],
- 'SkuPromotion' => [
- 'description' => 'sku促销信息',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'PromotionFlag' => [
- 'description' => '是否促销',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PromotionName' => [
- 'description' => '优惠名称',
- 'type' => 'string',
- 'example' => '优惠劵',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '10000035-63064613****',
- ],
- 'PromotionDesc' => [
- 'description' => '优惠描述',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '66440412****',
- ],
- 'PromotionId' => [
- 'description' => '优惠元数据ID',
- 'type' => 'string',
- 'example' => '68476201884251****',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'object',
- 'example' => '{"key":"value"}',
- ],
+ 'EndTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2022-02-06 10:01:00'],
+ 'StartTime' => ['description' => '开始时间', 'type' => 'string', 'example' => '2022-01-01 00:00:00'],
+ 'SkuPromotion' => ['description' => 'sku促销信息', 'type' => 'object', 'example' => '{}'],
+ 'PromotionFlag' => ['description' => '是否促销', 'type' => 'boolean', 'example' => 'true'],
+ 'PromotionName' => ['description' => '优惠名称', 'type' => 'string', 'example' => '优惠劵'],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '10000035-63064613****'],
+ 'PromotionDesc' => ['description' => '优惠描述', 'type' => 'string', 'example' => '""'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '66440412****'],
+ 'PromotionId' => ['description' => '优惠元数据ID', 'type' => 'string', 'example' => '68476201884251****'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'object', 'example' => '{"key":"value"}'],
],
],
],
@@ -6054,14 +2774,8 @@
'description' => '获取商品促销信息'."\n",
],
'QueryActivityItems' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6069,59 +2783,27 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2000***12',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2000***12'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页页码,从1开始。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页码,从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1', 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页显示的条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '20',
- 'minimum' => '1',
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页显示的条数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '20', 'minimum' => '1', 'example' => '20'],
],
[
'name' => 'LmActivityId',
'in' => 'query',
- 'schema' => [
- 'description' => '活动ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '679',
- ],
+ 'schema' => ['description' => '活动ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '679'],
],
],
'responses' => [
@@ -6130,39 +2812,12 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '539E5C68-D8B5-57EC-9D9B-58AFD9E0****',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageNumber' => [
- 'description' => '分页页码,从1开始。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页显示的条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '539E5C68-D8B5-57EC-9D9B-58AFD9E0****'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageNumber' => ['description' => '分页页码,从1开始。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '每页显示的条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
'LmActivityItemModelList' => [
'type' => 'object',
'itemNode' => true,
@@ -6174,79 +2829,20 @@
'description' => '活动商品信息',
'type' => 'object',
'properties' => [
- 'ItemTitle' => [
- 'description' => '商品标题',
- 'type' => 'string',
- 'example' => '红塔山(硬欣经典)香烟',
- ],
- 'TbSellerId' => [
- 'description' => '淘宝卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '285278****',
- ],
- 'SellableQuantity' => [
- 'description' => '可售库存',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'TbShopId' => [
- 'description' => '淘宝店铺ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '13089****',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10006138-63786616****',
- ],
- 'TbShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '好爸爸旗舰店',
- ],
- 'ItemActivityQuantity' => [
- 'description' => '活动商品库存,-1表示无限制',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '-1',
- ],
- 'LmActivityId' => [
- 'description' => '活动ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '679',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65332479****',
- ],
- 'MainPicUrl' => [
- 'description' => '商品主图',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n",
- ],
- 'Tips' => [
- 'type' => 'string',
- ],
- 'LmShopId' => [
- 'description' => 'lm侧店铺ID',
- 'type' => 'string',
- 'example' => '1002****',
- ],
- 'ItemActivityStatus' => [
- 'description' => '商品活动状态',
- 'type' => 'string',
- ],
+ 'ItemTitle' => ['description' => '商品标题', 'type' => 'string', 'example' => '红塔山(硬欣经典)香烟'],
+ 'TbSellerId' => ['description' => '淘宝卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '285278****'],
+ 'SellableQuantity' => ['description' => '可售库存', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'TbShopId' => ['description' => '淘宝店铺ID', 'type' => 'integer', 'format' => 'int64', 'example' => '13089****'],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10006138-63786616****'],
+ 'TbShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '好爸爸旗舰店'],
+ 'ItemActivityQuantity' => ['description' => '活动商品库存,-1表示无限制', 'type' => 'integer', 'format' => 'int32', 'example' => '-1'],
+ 'LmActivityId' => ['description' => '活动ID', 'type' => 'integer', 'format' => 'int64', 'example' => '679'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '65332479****'],
+ 'MainPicUrl' => ['description' => '商品主图', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n"],
+ 'Tips' => ['type' => 'string'],
+ 'LmShopId' => ['description' => 'lm侧店铺ID', 'type' => 'string', 'example' => '1002****'],
+ 'ItemActivityStatus' => ['description' => '商品活动状态', 'type' => 'string'],
'SkuModelList' => [
'type' => 'object',
'itemNode' => true,
@@ -6258,63 +2854,17 @@
'description' => '商品SKU列表',
'type' => 'object',
'properties' => [
- 'ReservedPrice' => [
- 'description' => '商品原价(单位分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'Tips' => [
- 'type' => 'string',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10000035-63064613****',
- ],
- 'SkuId' => [
- 'description' => 'skuID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '478531731****',
- ],
- 'LmActivityId' => [
- 'description' => 'lm活动ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '679',
- ],
- 'ActivityStatus' => [
- 'description' => '活动状态',
- 'type' => 'string',
- ],
- 'BizId' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'example' => 'LMALL20211013****',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '64092072****',
- ],
- 'SkuPicUrl' => [
- 'description' => 'sku图片',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n",
- ],
- 'ActivityPrice' => [
- 'description' => '活动价(单位分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1990',
- ],
- 'SkuTitle' => [
- 'description' => 'sku标题',
- 'type' => 'string',
- 'example' => '白色/64G',
- ],
+ 'ReservedPrice' => ['description' => '商品原价(单位分)', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'Tips' => ['type' => 'string'],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10000035-63064613****'],
+ 'SkuId' => ['description' => 'skuID', 'type' => 'integer', 'format' => 'int64', 'example' => '478531731****'],
+ 'LmActivityId' => ['description' => 'lm活动ID', 'type' => 'integer', 'format' => 'int64', 'example' => '679'],
+ 'ActivityStatus' => ['description' => '活动状态', 'type' => 'string'],
+ 'BizId' => ['description' => '业务ID', 'type' => 'string', 'example' => 'LMALL20211013****'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '64092072****'],
+ 'SkuPicUrl' => ['description' => 'sku图片', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n"],
+ 'ActivityPrice' => ['description' => '活动价(单位分)', 'type' => 'integer', 'format' => 'int64', 'example' => '1990'],
+ 'SkuTitle' => ['description' => 'sku标题', 'type' => 'string', 'example' => '白色/64G'],
],
],
],
@@ -6335,14 +2885,8 @@
'description' => '通过此接⼝可以查询指定活动中的商品信息',
],
'QueryBizItemList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6350,98 +2894,50 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20211202****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20211202****'],
],
[
'name' => 'SubBizId',
'in' => 'query',
- 'schema' => [
- 'description' => '子渠道id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'sQuuSHY*************',
- ],
+ 'schema' => ['description' => '子渠道id', 'type' => 'string', 'required' => false, 'example' => 'sQuuSHY*************'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每⻚数量范围(1-20)默认20',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每⻚数量范围(1-20)默认20', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '请求⻚码,默认为1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '请求⻚码,默认为1', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2114255235****',
- ],
+ 'schema' => ['description' => '用户ID', 'type' => 'string', 'required' => false, 'example' => '2114255235****'],
],
[
'name' => 'LmItemIds',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'lm侧商品ID列表',
- 'type' => 'object',
- 'required' => false,
- 'example' => '[\\"10000791-65975997****\\"]',
- ],
+ 'schema' => ['description' => 'lm侧商品ID列表', 'type' => 'object', 'required' => false, 'example' => '[\\"10000791-65975997****\\"]'],
],
[
'name' => 'ItemIds',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => '商品ID列表',
- 'type' => 'object',
- 'required' => false,
- 'example' => '[63524643****]',
- ],
+ 'schema' => ['description' => '商品ID列表', 'type' => 'object', 'required' => false, 'example' => '[63524643****]'],
],
[
'name' => 'CategoryId',
'in' => 'query',
- 'schema' => [
- 'description' => '类目ID,0表示查询1级类目',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '50003449',
- ],
+ 'schema' => ['description' => '类目ID,0表示查询1级类目', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '50003449'],
],
],
'responses' => [
@@ -6449,39 +2945,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '5B9B6D8D-A78D-521D-B6B6-08CDC182****',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The specified parameter %s value is not valid.',
- ],
- 'PageNumber' => [
- 'description' => '当前页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页商品数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '总商品数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '5B9B6D8D-A78D-521D-B6B6-08CDC182****'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.'],
+ 'PageNumber' => ['description' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '每页商品数量', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalCount' => ['description' => '总商品数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'ItemList' => [
'type' => 'object',
'itemNode' => true,
@@ -6493,63 +2962,17 @@
'description' => '商品列表,如果code=SUCCESS,此项必须',
'type' => 'object',
'properties' => [
- 'ExtJson' => [
- 'description' => '拓展字段',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'MainPicUrl' => [
- 'description' => '主图地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg',
- ],
- 'ItemTitle' => [
- 'description' => '商品标题',
- 'type' => 'string',
- 'example' => '生椰拿铁',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10000102-65931326****',
- ],
- 'SellerId' => [
- 'description' => '卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '284324****',
- ],
- 'CategoryId' => [
- 'description' => '最后⼀级的类⽬ID,之后会提供类⽬查询接⼝来获取商品所属类⽬信息',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50050579',
- ],
- 'CanSell' => [
- 'description' => '是否可售卖,不包含库存为0的逻辑判断',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CustomizedItemName' => [
- 'type' => 'string',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '64944233****',
- ],
- 'ReservePrice' => [
- 'description' => '商详页显示的划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'TaobaoShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '橘子郡',
- ],
+ 'ExtJson' => ['description' => '拓展字段', 'type' => 'string', 'example' => '""'],
+ 'MainPicUrl' => ['description' => '主图地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'],
+ 'ItemTitle' => ['description' => '商品标题', 'type' => 'string', 'example' => '生椰拿铁'],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10000102-65931326****'],
+ 'SellerId' => ['description' => '卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '284324****'],
+ 'CategoryId' => ['description' => '最后⼀级的类⽬ID,之后会提供类⽬查询接⼝来获取商品所属类⽬信息', 'type' => 'integer', 'format' => 'int64', 'example' => '50050579'],
+ 'CanSell' => ['description' => '是否可售卖,不包含库存为0的逻辑判断', 'type' => 'boolean', 'example' => 'true'],
+ 'CustomizedItemName' => ['type' => 'string'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '64944233****'],
+ 'ReservePrice' => ['description' => '商详页显示的划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'TaobaoShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '橘子郡'],
'SkuList' => [
'type' => 'object',
'itemNode' => true,
@@ -6561,61 +2984,16 @@
'description' => '商品sku列表',
'type' => 'object',
'properties' => [
- 'PriceCent' => [
- 'description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1990',
- ],
- 'SkuId' => [
- 'description' => '商品的SkuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '482694857****',
- ],
- 'TaoBaoCurrentPrice' => [
- 'description' => '"淘宝当前售价,淘宝天猫官⽅的实际售卖价格,⾮供货价,仅⽤来做价格对⽐⽤,前端建议不显示,可显示划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SkuPicUrl' => [
- 'description' => 'sku图片地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n",
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'SkuTitle' => [
- 'description' => '商品sku名称',
- 'type' => 'string',
- 'example' => '白色/64G',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'BenefitId' => [
- 'description' => '商品权益ID',
- 'type' => 'string',
- 'example' => '202109240050220000008822****',
- ],
- 'CustomizedAttributeMap' => [
- 'description' => '买家信息',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'PriceCent' => ['description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位', 'type' => 'integer', 'format' => 'int64', 'example' => '1990'],
+ 'SkuId' => ['description' => '商品的SkuId', 'type' => 'integer', 'format' => 'int64', 'example' => '482694857****'],
+ 'TaoBaoCurrentPrice' => ['description' => '"淘宝当前售价,淘宝天猫官⽅的实际售卖价格,⾮供货价,仅⽤来做价格对⽐⽤,前端建议不显示,可显示划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'SkuPicUrl' => ['description' => 'sku图片地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n"],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'SkuTitle' => ['description' => '商品sku名称', 'type' => 'string', 'example' => '白色/64G'],
+ 'PointsAmount' => ['description' => '积分抵扣价格', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'BenefitId' => ['description' => '商品权益ID', 'type' => 'string', 'example' => '202109240050220000008822****'],
+ 'CustomizedAttributeMap' => ['description' => '买家信息', 'type' => 'object', 'example' => '{}'],
'GradePriceModels' => [
'type' => 'object',
'itemNode' => true,
@@ -6625,53 +3003,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Recommend' => [
- 'type' => 'boolean',
- ],
- 'ShowName' => [
- 'type' => 'string',
- ],
- 'PriceCent' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Icon' => [
- 'type' => 'string',
- ],
- 'PointPrice' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Exclusive' => [
- 'type' => 'boolean',
- ],
- 'CharacteristicName' => [
- 'type' => 'string',
- ],
- 'AccessUrl' => [
- 'type' => 'string',
- ],
- 'SubBizCode' => [
- 'type' => 'string',
- ],
- 'CharacteristicCode' => [
- 'type' => 'string',
- ],
- 'CanBuy' => [
- 'type' => 'boolean',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
+ 'Recommend' => ['type' => 'boolean'],
+ 'ShowName' => ['type' => 'string'],
+ 'PriceCent' => ['type' => 'integer', 'format' => 'int64'],
+ 'Icon' => ['type' => 'string'],
+ 'PointPrice' => ['type' => 'integer', 'format' => 'int64'],
+ 'Exclusive' => ['type' => 'boolean'],
+ 'CharacteristicName' => ['type' => 'string'],
+ 'AccessUrl' => ['type' => 'string'],
+ 'SubBizCode' => ['type' => 'string'],
+ 'CharacteristicCode' => ['type' => 'string'],
+ 'CanBuy' => ['type' => 'boolean'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'PointsAmount' => ['description' => '积分抵扣价格', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
'UserLabelList' => [
'type' => 'object',
'itemNode' => true,
@@ -6679,11 +3023,7 @@
'UserLabelList' => [
'description' => '用户标签列表',
'type' => 'array',
- 'items' => [
- 'description' => '用户标签列表',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'items' => ['description' => '用户标签列表', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -6699,11 +3039,7 @@
'UserLabelList' => [
'description' => '用户标签列表',
'type' => 'array',
- 'items' => [
- 'description' => '用户标签列表',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'items' => ['description' => '用户标签列表', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -6759,76 +3095,40 @@
.' }',
],
'QueryBizItems' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'SubBizId',
'in' => 'query',
- 'schema' => [
- 'description' => '子业务ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '子业务ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页商品数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页商品数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页页码,从1开始。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页码,从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '用户ID', 'type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -6836,42 +3136,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Model' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '96B4141C-A3CD-5162-B435-4780A75E3D97',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageNumber' => [
- 'description' => '分页页码,从1开始。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页商品数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '商品总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '19',
- ],
+ 'Model' => ['type' => 'string'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '96B4141C-A3CD-5162-B435-4780A75E3D97'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageNumber' => ['description' => '分页页码,从1开始。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '每页商品数量', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalCount' => ['description' => '商品总数', 'type' => 'integer', 'format' => 'int32', 'example' => '19'],
],
],
],
@@ -6882,14 +3153,8 @@
],
'QueryGuideItemGroup' => [
'summary' => '获取导购商品组商品列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6906,53 +3171,27 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******002',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******002'],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品组ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'test01',
- ],
+ 'schema' => ['description' => '商品组ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test01'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页码,从1开始', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页商品数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页商品数量', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
[
'name' => 'ItemState',
@@ -6962,11 +3201,7 @@
'type' => 'string',
'required' => false,
'example' => 'AVAILABLE_FOR_SALE',
- 'enum' => [
- 'AVAILABLE_FOR_SALE',
- 'NOT_FOR_SALE',
- 'ALL',
- ],
+ 'enum' => ['AVAILABLE_FOR_SALE', 'NOT_FOR_SALE', 'ALL'],
],
],
],
@@ -6975,35 +3210,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '1B82570B-7167-5D41-A74F-CD8DC2C54A49',
- ],
- 'Success' => [
- 'description' => '请求是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '205',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1B82570B-7167-5D41-A74F-CD8DC2C54A49'],
+ 'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '205'],
'GuideItemGroup' => [
'type' => 'object',
'itemNode' => true,
@@ -7015,59 +3227,16 @@
'description' => '商品组商品信息',
'type' => 'object',
'properties' => [
- 'PriceCent' => [
- 'description' => '商品销售价格(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '990',
- ],
- 'MainPicUrl' => [
- 'description' => '主图地址',
- 'type' => 'string',
- ],
- 'ItemTitle' => [
- 'description' => '商品标题',
- 'type' => 'string',
- 'example' => '南枣核桃糕(圆盒)'."\n",
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10001036-******0492928',
- ],
- 'PointPrice' => [
- 'description' => '积分价格(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '990',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '66******1055',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '69',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ReservePrice' => [
- 'description' => '商品原价(元),可⽤于显示划线价',
- 'type' => 'string',
- 'example' => '20.0',
- ],
- 'ItemUrl' => [
- 'description' => '商品详情链接',
- 'type' => 'string',
- ],
+ 'PriceCent' => ['description' => '商品销售价格(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '990'],
+ 'MainPicUrl' => ['description' => '主图地址', 'type' => 'string'],
+ 'ItemTitle' => ['description' => '商品标题', 'type' => 'string', 'example' => '南枣核桃糕(圆盒)'."\n"],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10001036-******0492928'],
+ 'PointPrice' => ['description' => '积分价格(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '990'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '66******1055'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '69'],
+ 'PointsAmount' => ['description' => '积分抵扣价格', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ReservePrice' => ['description' => '商品原价(元),可⽤于显示划线价', 'type' => 'string', 'example' => '20.0'],
+ 'ItemUrl' => ['description' => '商品详情链接', 'type' => 'string'],
],
],
],
@@ -7081,14 +3250,8 @@
'title' => '获取导购商品组商品列表',
],
'CreateVirtualProductOrder' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7105,153 +3268,72 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210508****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210508****'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '221122411****',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '221122411****'],
],
[
'name' => 'OutTradeId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户唯⼀订单号,未提供时,由阿⾥云创建',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '963****',
- ],
+ 'schema' => ['description' => '客户唯⼀订单号,未提供时,由阿⾥云创建', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '963****'],
],
[
'name' => 'ItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '66985559****',
- ],
+ 'schema' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '66985559****'],
],
[
'name' => 'Quantity',
'in' => 'query',
- 'schema' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1'],
],
[
'name' => 'TotalAmount',
'in' => 'query',
- 'schema' => [
- 'description' => '订单总金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '4990',
- 'default' => '0',
- ],
+ 'schema' => ['description' => '订单总金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4990', 'default' => '0'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '拓展字段:这个字段⾥包括mobileNo字段,传⼊接⼊卡密的⼿机号,chargeAccount约定为充值账号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"chargeAccount\\":\\"1510380****\\",\\"mobileNo\\":\\"186****3931\\"}',
- 'default' => '{}',
- ],
+ 'schema' => ['description' => '拓展字段:这个字段⾥包括mobileNo字段,传⼊接⼊卡密的⼿机号,chargeAccount约定为充值账号', 'type' => 'string', 'required' => false, 'example' => '{\\"chargeAccount\\":\\"1510380****\\",\\"mobileNo\\":\\"186****3931\\"}', 'default' => '{}'],
],
[
'name' => 'DeliveryAddress',
'in' => 'query',
- 'schema' => [
- 'description' => '收货地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => '北京市朝阳区*******************',
- ],
+ 'schema' => ['description' => '收货地址', 'type' => 'string', 'required' => false, 'example' => '北京市朝阳区*******************'],
],
[
'name' => 'OrderExpireTime',
'in' => 'query',
- 'schema' => [
- 'description' => '订单失效时间,单位秒,默认15分钟',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '900',
- 'example' => '900',
- 'default' => '900',
- ],
+ 'schema' => ['description' => '订单失效时间,单位秒,默认15分钟', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '900', 'example' => '900', 'default' => '900'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃,填AccountType即可',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃,填AccountType即可', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '必须对应C端唯⼀⼀个⽤户,企业不可使⽤⼀个ID代所有⽤户下单',
- 'type' => 'string',
- 'required' => false,
- 'example' => '221122411****'."\n",
- ],
+ 'schema' => ['description' => '必须对应C端唯⼀⼀个⽤户,企业不可使⽤⼀个ID代所有⽤户下单', 'type' => 'string', 'required' => false, 'example' => '221122411****'."\n"],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => '',
- ],
+ 'schema' => ['description' => '固定值ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => ''],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10001036-66644894****',
- ],
+ 'schema' => ['description' => 'lm侧商品id', 'type' => 'string', 'required' => false, 'example' => '10001036-66644894****'],
],
[
'name' => 'ItemList',
@@ -7264,33 +3346,10 @@
'description' => '商品列表',
'type' => 'object',
'properties' => [
- 'SkuId' => [
- 'description' => '商品skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '456458315****',
- ],
- 'LmItemId' => [
- 'description' => 'LM侧商品Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10001036-66644894****'."\n",
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '66985559****'."\n",
- ],
- 'Quantity' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'SkuId' => ['description' => '商品skuId', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '456458315****'],
+ 'LmItemId' => ['description' => 'LM侧商品Id', 'type' => 'string', 'required' => false, 'example' => '10001036-66644894****'."\n"],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '66985559****'."\n"],
+ 'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
'required' => false,
],
@@ -7304,55 +3363,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '3B55509D-20AC-5BD5-9A81-D6B7382E****',
- ],
- 'Success' => [
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'LogsId' => [
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '3B55509D-20AC-5BD5-9A81-D6B7382E****'],
+ 'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'True'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'LogsId' => ['type' => 'string', 'example' => '1'],
'Model' => [
'description' => '订单信息,从返回的model对象中取出LmOrderList字段',
'type' => 'object',
'properties' => [
- 'RedirectUrl' => [
- 'description' => '重定向地址',
- 'type' => 'string',
- 'example' => 'https://console.authing.cn/console/g*********',
- ],
+ 'RedirectUrl' => ['description' => '重定向地址', 'type' => 'string', 'example' => 'https://console.authing.cn/console/g*********'],
'LmOrderList' => [
'type' => 'object',
'itemNode' => true,
@@ -7364,11 +3387,7 @@
'description' => '订单主订单列表',
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => '订单主订单号',
- 'type' => 'string',
- 'example' => '39435****',
- ],
+ 'LmOrderId' => ['description' => '订单主订单号', 'type' => 'string', 'example' => '39435****'],
],
],
],
@@ -7381,11 +3400,7 @@
'PayTradeIds' => [
'description' => '交易单号',
'type' => 'array',
- 'items' => [
- 'description' => '交易单号',
- 'type' => 'string',
- 'example' => '[2324289*******,238478******]',
- ],
+ 'items' => ['description' => '交易单号', 'type' => 'string', 'example' => '[2324289*******,238478******]'],
],
],
],
@@ -7396,11 +3411,7 @@
'OrderIds' => [
'description' => '淘宝订单id列表',
'type' => 'array',
- 'items' => [
- 'description' => '淘宝订单id列表',
- 'type' => 'string',
- 'example' => '[2113691583*****]',
- ],
+ 'items' => ['description' => '淘宝订单id列表', 'type' => 'string', 'example' => '[2113691583*****]'],
],
],
],
@@ -7440,14 +3451,8 @@
.' }',
],
'SettleOrder' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7460,70 +3465,37 @@
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'OutRequestNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '外部请求号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '外部请求号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'TradeNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '交易流水号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '交易流水号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'RoyaltyParameters',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"key":"value"}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{"key":"value"}'],
],
[
'name' => 'OutTradeNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '外部交易号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '外部交易号', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'MerchantId',
'in' => 'formData',
- 'schema' => [
- 'description' => '商户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '64******721',
- ],
+ 'schema' => ['description' => '商户ID', 'type' => 'string', 'required' => false, 'example' => '64******721'],
],
],
'responses' => [
@@ -7531,35 +3503,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8'],
'TradeOrderSettleResponse' => [
'description' => '返回的结果',
'type' => 'object',
'properties' => [
- 'TradeNo' => [
- 'description' => '交易流水号',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'OutRequestNo' => [
- 'description' => '外部请求号',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'TradeNo' => ['description' => '交易流水号', 'type' => 'string', 'example' => '""'],
+ 'OutRequestNo' => ['description' => '外部请求号', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -7571,14 +3523,8 @@
'summary' => '当订单交易完成后将钱款清算给各方。',
],
'QueryOrderAndPaymentList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7595,94 +3541,47 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传同样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '22******6718',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传同样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '22******6718'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页多少条记录,最大20条',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页多少条记录,最大20条', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'FilterOption',
'in' => 'query',
- 'schema' => [
- 'description' => '订单过滤条件,json序列化后的字符串',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"lmOrderList\\":[32******46],\\"enableStatus\\":-1}',
- ],
+ 'schema' => ['description' => '订单过滤条件,json序列化后的字符串', 'type' => 'string', 'required' => false, 'example' => '{\\"lmOrderList\\":[32******46],\\"enableStatus\\":-1}'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -7690,57 +3589,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '3F43129B-020F-5F8A-88B0-9CBDE2AD6F52',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'description' => '每页多少条记录,最大为20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '当前页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '总订单数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '3F43129B-020F-5F8A-88B0-9CBDE2AD6F52'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['description' => '每页多少条记录,最大为20条', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'PageNumber' => ['description' => '当前页码,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '总订单数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'PostFee' => [
'description' => '邮费',
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'description' => '资金金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'FundType' => [
- 'description' => '资金类型',
- 'type' => 'string',
- ],
- 'FundAmountMoney' => [
- 'description' => 'FundAmount对应的等值金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'FundAmount' => ['description' => '资金金额', 'type' => 'integer', 'format' => 'int64'],
+ 'FundType' => ['description' => '资金类型', 'type' => 'string'],
+ 'FundAmountMoney' => ['description' => 'FundAmount对应的等值金额', 'type' => 'integer', 'format' => 'int64'],
],
],
'LmOrderList' => [
@@ -7753,60 +3614,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => '订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '44******82',
- ],
- 'EnableStatus' => [
- 'description' => '0:生效,1无效',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ExtJson' => [
- 'description' => '拓展字段',
- 'type' => 'string',
- ],
- 'OrderStatus' => [
- 'description' => '订单状态,6=交易成功',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'LmPaymentId' => [
- 'description' => 'lm现⾦⽀付订单号,⽀付宝账单⾥对应字段:商家订单号',
- 'type' => 'string',
- ],
- 'ShopName' => [
- 'description' => '店铺名',
- 'type' => 'string',
- 'example' => '****零食店',
- ],
- 'TbOrderId' => [
- 'description' => '淘宝订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '18******13134',
- ],
- 'OrderAmount' => [
- 'description' => '订单总金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'LogisticsStatus' => [
- 'description' => '物流状态(由于此字段为定时从主站同步的,会存在延迟,最⻓可能⼏天才同步)',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'CreateDate' => [
- 'description' => '下单时间,格式化(yyyy-MM-dd HH:mm:ss)',
- 'type' => 'string',
- 'example' => '2022-04-01 12:00:00',
- ],
+ 'LmOrderId' => ['description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '44******82'],
+ 'EnableStatus' => ['description' => '0:生效,1无效', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ExtJson' => ['description' => '拓展字段', 'type' => 'string'],
+ 'OrderStatus' => ['description' => '订单状态,6=交易成功', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'LmPaymentId' => ['description' => 'lm现⾦⽀付订单号,⽀付宝账单⾥对应字段:商家订单号', 'type' => 'string'],
+ 'ShopName' => ['description' => '店铺名', 'type' => 'string', 'example' => '****零食店'],
+ 'TbOrderId' => ['description' => '淘宝订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '18******13134'],
+ 'OrderAmount' => ['description' => '订单总金额', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'LogisticsStatus' => ['description' => '物流状态(由于此字段为定时从主站同步的,会存在延迟,最⻓可能⼏天才同步)', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'CreateDate' => ['description' => '下单时间,格式化(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2022-04-01 12:00:00'],
'FundStructureModels' => [
'type' => 'object',
'itemNode' => true,
@@ -7817,20 +3634,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'description' => '资金金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'FundType' => [
- 'description' => '资金类型',
- 'type' => 'string',
- ],
- 'FundAmountMoney' => [
- 'description' => '子订单金额,以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'FundAmount' => ['description' => '资金金额', 'type' => 'integer', 'format' => 'int64'],
+ 'FundType' => ['description' => '资金类型', 'type' => 'string'],
+ 'FundAmountMoney' => ['description' => '子订单金额,以分为单位', 'type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -7847,68 +3653,18 @@
'description' => '子订单列表',
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => '子订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '39******99',
- ],
- 'EnableStatus' => [
- 'description' => ' '."\n"
- .'支付状态 0,⽣效;1,⽆效',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ItemTitle' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '南枣核桃糕(圆盒)',
- ],
- 'OrderStatus' => [
- 'description' => '订单状态,6=交易成功',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'SkuName' => [
- 'description' => '下单的商品sku显示的名称',
- 'type' => 'string',
- 'example' => '南枣核桃糕(圆盒)2盒装',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '10000055-******135427',
- ],
- 'SkuId' => [
- 'description' => '下单商品的skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '471******886',
- ],
- 'Number' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TbOrderId' => [
- 'description' => '淘宝子订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '13******61284',
- ],
- 'ItemPic' => [
- 'description' => '商品图片地址',
- 'type' => 'string',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '656******550',
- ],
+ 'LmOrderId' => ['description' => '子订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '39******99'],
+ 'EnableStatus' => ['description' => ' '."\n"
+ .'支付状态 0,⽣效;1,⽆效', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ItemTitle' => ['description' => '商品名称', 'type' => 'string', 'example' => '南枣核桃糕(圆盒)'],
+ 'OrderStatus' => ['description' => '订单状态,6=交易成功', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'SkuName' => ['description' => '下单的商品sku显示的名称', 'type' => 'string', 'example' => '南枣核桃糕(圆盒)2盒装'],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '10000055-******135427'],
+ 'SkuId' => ['description' => '下单商品的skuId', 'type' => 'integer', 'format' => 'int64', 'example' => '471******886'],
+ 'Number' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TbOrderId' => ['description' => '淘宝子订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '13******61284'],
+ 'ItemPic' => ['description' => '商品图片地址', 'type' => 'string'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '656******550'],
'ItemPriceList' => [
'type' => 'object',
'itemNode' => true,
@@ -7919,20 +3675,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'description' => '资金金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'FundType' => [
- 'description' => '资金类型',
- 'type' => 'string',
- ],
- 'FundAmountMoney' => [
- 'description' => '子订单金额,以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'FundAmount' => ['description' => '资金金额', 'type' => 'integer', 'format' => 'int64'],
+ 'FundType' => ['description' => '资金类型', 'type' => 'string'],
+ 'FundAmountMoney' => ['description' => '子订单金额,以分为单位', 'type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -7947,20 +3692,9 @@
'description' => '邮费',
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'description' => '资金金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'FundType' => [
- 'description' => '资金类型',
- 'type' => 'string',
- ],
- 'FundAmountMoney' => [
- 'description' => 'FundAmount对应的等值金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'FundAmount' => ['description' => '资金金额', 'type' => 'integer', 'format' => 'int64'],
+ 'FundType' => ['description' => '资金类型', 'type' => 'string'],
+ 'FundAmountMoney' => ['description' => 'FundAmount对应的等值金额', 'type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -8034,14 +3768,8 @@
.' }',
],
'QueryOrderCommissionRate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8049,72 +3777,37 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******002',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******002'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '221249435****',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '221249435****'],
],
[
'name' => 'LmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '45******23',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '45******23'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -8122,21 +3815,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****'],
'CommissionModels' => [
'description' => '佣金信息',
'type' => 'array',
@@ -8144,21 +3825,12 @@
'description' => '佣金信息',
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '45******23'."\n",
- ],
+ 'LmOrderId' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '45******23'."\n"],
'CommissionInfo' => [
'description' => '佣金信息',
'type' => 'object',
'properties' => [
- 'RateType' => [
- 'description' => '费率类型,CONSTANT_RATE 表示固定⽐例',
- 'type' => 'string',
- 'example' => 'CONSTANT_RATE',
- ],
+ 'RateType' => ['description' => '费率类型,CONSTANT_RATE 表示固定⽐例', 'type' => 'string', 'example' => 'CONSTANT_RATE'],
'RateConfig' => [
'description' => '费率信息',
'type' => 'object',
@@ -8168,17 +3840,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ValueUnit' => [
- 'description' => '%%(费率单位,如1000%%表示10%的费率,250%%表示2.5%的费率)',
- 'type' => 'string',
- 'example' => '%%',
- ],
- 'Value' => [
- 'description' => '(费率)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
+ 'ValueUnit' => ['description' => '%%(费率单位,如1000%%表示10%的费率,250%%表示2.5%的费率)', 'type' => 'string', 'example' => '%%'],
+ 'Value' => ['description' => '(费率)', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
],
],
],
@@ -8215,14 +3878,8 @@
.' ]',
],
'QueryOrderDetailInner' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8238,61 +3895,32 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210927****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210927****'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和ThirdPartyUserId填写一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '208823220453****',
- ],
+ 'schema' => ['description' => '和ThirdPartyUserId填写一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '208823220453****'],
],
[
'name' => 'FilterOption',
'in' => 'query',
- 'schema' => [
- 'description' => '过滤条件,格式:{"key1":"value1"}。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"enableStatus\\":0,\\"lmOrderList\\":[42433****]}',
- ],
+ 'schema' => ['description' => '过滤条件,格式:{"key1":"value1"}。', 'type' => 'string', 'required' => false, 'example' => '{\\"enableStatus\\":0,\\"lmOrderList\\":[42433****]}'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '208823220453****'."\n",
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false, 'example' => '208823220453****'."\n"],
],
],
'responses' => [
@@ -8300,21 +3928,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The specified parameter %s value is not valid.',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '6103AD7B-21C2-523B-89D0-579DA58D****',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '6103AD7B-21C2-523B-89D0-579DA58D****'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
@@ -8323,142 +3939,33 @@
'description' => '返回订单信息',
'type' => 'object',
'properties' => [
- 'Eticket' => [
- 'type' => 'boolean',
- ],
- 'CreateDate' => [
- 'description' => '下单时间',
- 'type' => 'string',
- 'example' => '2022-04-01 16:33:23',
- ],
- 'LogisticsCompName' => [
- 'description' => '物流公司名称',
- 'type' => 'string',
- 'example' => '中通',
- ],
- 'ChannelCode' => [
- 'description' => '渠道ID',
- 'type' => 'string',
- 'example' => '*********',
- ],
- 'LogisticsMobilePhone' => [
- 'description' => '物流联系电话',
- 'type' => 'string',
- 'example' => '185****4801',
- ],
- 'ResExtInfo' => [
- 'description' => '拓展字段',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'EnableStatus' => [
- 'description' => '0,⽣效;1,⽆效',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ChannelBizType' => [
- 'type' => 'string',
- ],
- 'Shipping' => [
- 'type' => 'string',
- ],
- 'OrderPayInfo' => [
- 'description' => '订单费用信息',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'LogisticsStatusDesc' => [
- 'description' => '物流状态',
- 'type' => 'string',
- 'example' => '商品已下单',
- ],
- 'TbOrderId' => [
- 'description' => '淘宝子订单号',
- 'type' => 'string',
- 'example' => '25343894898952***',
- ],
- 'LogisticsStatus' => [
- 'description' => '物流状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'LmOrderId' => [
- 'description' => 'lm订单id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '45609****',
- ],
- 'SellerId' => [
- 'description' => '卖家id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '220941058****',
- ],
- 'ShopName' => [
- 'description' => '店铺名',
- 'type' => 'string',
- 'example' => '谢雪华的门店',
- ],
- 'OrderAmount' => [
- 'description' => '订单总金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'ExtInfo' => [
- 'description' => '拓展信息',
- 'type' => 'object',
- 'example' => '{\\"key\\":\\"value\\"}',
- ],
- 'EndTime' => [
- 'description' => '订单完结时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2022-04-01 17:21:23',
- ],
- 'PayStatus' => [
- 'description' => '订单状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'LogisticsNo' => [
- 'description' => '物流单号',
- 'type' => 'string',
- 'example' => 'YT217467555****',
- ],
- 'LogisticsUserName' => [
- 'description' => '物流名称',
- 'type' => 'string',
- 'example' => '圆通',
- ],
- 'LogisticsAddress' => [
- 'description' => '物流地址',
- 'type' => 'string',
- 'example' => '北京市*******',
- ],
- 'PayWaterStatus' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RefundStatus' => [
- 'description' => '退款状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'SellerNick' => [
- 'description' => '卖家nick',
- 'type' => 'string',
- 'example' => '点苍科技',
- ],
- 'ChannelOrderId' => [
- 'description' => '渠道订单号',
- 'type' => 'string',
- 'example' => '182378172837****',
- ],
+ 'Eticket' => ['type' => 'boolean'],
+ 'CreateDate' => ['description' => '下单时间', 'type' => 'string', 'example' => '2022-04-01 16:33:23'],
+ 'LogisticsCompName' => ['description' => '物流公司名称', 'type' => 'string', 'example' => '中通'],
+ 'ChannelCode' => ['description' => '渠道ID', 'type' => 'string', 'example' => '*********'],
+ 'LogisticsMobilePhone' => ['description' => '物流联系电话', 'type' => 'string', 'example' => '185****4801'],
+ 'ResExtInfo' => ['description' => '拓展字段', 'type' => 'string', 'example' => '""'],
+ 'EnableStatus' => ['description' => '0,⽣效;1,⽆效', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ChannelBizType' => ['type' => 'string'],
+ 'Shipping' => ['type' => 'string'],
+ 'OrderPayInfo' => ['description' => '订单费用信息', 'type' => 'string', 'example' => '""'],
+ 'LogisticsStatusDesc' => ['description' => '物流状态', 'type' => 'string', 'example' => '商品已下单'],
+ 'TbOrderId' => ['description' => '淘宝子订单号', 'type' => 'string', 'example' => '25343894898952***'],
+ 'LogisticsStatus' => ['description' => '物流状态', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'LmOrderId' => ['description' => 'lm订单id', 'type' => 'integer', 'format' => 'int64', 'example' => '45609****'],
+ 'SellerId' => ['description' => '卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '220941058****'],
+ 'ShopName' => ['description' => '店铺名', 'type' => 'string', 'example' => '谢雪华的门店'],
+ 'OrderAmount' => ['description' => '订单总金额', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'ExtInfo' => ['description' => '拓展信息', 'type' => 'object', 'example' => '{\\"key\\":\\"value\\"}'],
+ 'EndTime' => ['description' => '订单完结时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-04-01 17:21:23'],
+ 'PayStatus' => ['description' => '订单状态', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'LogisticsNo' => ['description' => '物流单号', 'type' => 'string', 'example' => 'YT217467555****'],
+ 'LogisticsUserName' => ['description' => '物流名称', 'type' => 'string', 'example' => '圆通'],
+ 'LogisticsAddress' => ['description' => '物流地址', 'type' => 'string', 'example' => '北京市*******'],
+ 'PayWaterStatus' => ['type' => 'integer', 'format' => 'int32'],
+ 'RefundStatus' => ['description' => '退款状态', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'SellerNick' => ['description' => '卖家nick', 'type' => 'string', 'example' => '点苍科技'],
+ 'ChannelOrderId' => ['description' => '渠道订单号', 'type' => 'string', 'example' => '182378172837****'],
'SubItemOrderList' => [
'type' => 'object',
'itemNode' => true,
@@ -8470,75 +3977,19 @@
'description' => '子订单列表',
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => 'lm子订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '45609****',
- ],
- 'ItemPriceInfo' => [
- 'description' => '商品价格信息',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ItemTitle' => [
- 'description' => '商品标题',
- 'type' => 'string',
- 'example' => '葡萄吐司',
- ],
- 'TbSubOrderId' => [
- 'description' => '淘宝子订单ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2487583728****',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '10000102-61638587****',
- ],
- 'TotalPaymentInfo' => [
- 'type' => 'string',
- ],
- 'ItemPic' => [
- 'description' => '商品图片地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n",
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '63194403****',
- ],
- 'ChannelCode' => [
- 'description' => '渠道ID',
- 'type' => 'string',
- 'example' => '*****',
- ],
- 'PayStatus' => [
- 'description' => '订单状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'SkuName' => [
- 'description' => '下单的商品sku显示的名称',
- 'type' => 'string',
- 'example' => '白色/64G',
- ],
- 'Number' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SkuId' => [
- 'description' => 'skuId,虚拟商品为-1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '473246257****',
- ],
+ 'LmOrderId' => ['description' => 'lm子订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '45609****'],
+ 'ItemPriceInfo' => ['description' => '商品价格信息', 'type' => 'string', 'example' => '""'],
+ 'ItemTitle' => ['description' => '商品标题', 'type' => 'string', 'example' => '葡萄吐司'],
+ 'TbSubOrderId' => ['description' => '淘宝子订单ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2487583728****'],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '10000102-61638587****'],
+ 'TotalPaymentInfo' => ['type' => 'string'],
+ 'ItemPic' => ['description' => '商品图片地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n"],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '63194403****'],
+ 'ChannelCode' => ['description' => '渠道ID', 'type' => 'string', 'example' => '*****'],
+ 'PayStatus' => ['description' => '订单状态', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'SkuName' => ['description' => '下单的商品sku显示的名称', 'type' => 'string', 'example' => '白色/64G'],
+ 'Number' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SkuId' => ['description' => 'skuId,虚拟商品为-1', 'type' => 'integer', 'format' => 'int64', 'example' => '473246257****'],
'ItemPriceList' => [
'type' => 'object',
'itemNode' => true,
@@ -8550,38 +4001,14 @@
'description' => '价格列表',
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'description' => '资⾦⾦额或数量,如现⾦单位为分,美分,积分为个,其它再约定,建议为最⼩的数量单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'TbOrderId' => [
- 'description' => '淘宝订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2547326482****',
- ],
- 'FundType' => [
- 'description' => '资⾦类型,如现⾦,优惠券,代⾦券,积分等 :'."\n"
- .'CASH_CNY_PAY,POINT_PAY',
- 'type' => 'string',
- 'example' => 'POINT_PAY',
- ],
- 'FundAmountMoney' => [
- 'description' => '对应的等值⾦额,单位为分。⽐如fundType为现⾦时,'."\n"
- .'fundAmountMoney等于fundAmount,其它⾮现⾦类的⽀付,由渠道计算好相应的等值⾦额放在这'."\n"
- .'⾥。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'TbSubOrderId' => [
- 'description' => '淘宝子订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2547326482****'."\n",
- ],
+ 'FundAmount' => ['description' => '资⾦⾦额或数量,如现⾦单位为分,美分,积分为个,其它再约定,建议为最⼩的数量单位', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'TbOrderId' => ['description' => '淘宝订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '2547326482****'],
+ 'FundType' => ['description' => '资⾦类型,如现⾦,优惠券,代⾦券,积分等 :'."\n"
+ .'CASH_CNY_PAY,POINT_PAY', 'type' => 'string', 'example' => 'POINT_PAY'],
+ 'FundAmountMoney' => ['description' => '对应的等值⾦额,单位为分。⽐如fundType为现⾦时,'."\n"
+ .'fundAmountMoney等于fundAmount,其它⾮现⾦类的⽀付,由渠道计算好相应的等值⾦额放在这'."\n"
+ .'⾥。', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'TbSubOrderId' => ['description' => '淘宝子订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '2547326482****'."\n"],
],
],
],
@@ -8604,39 +4031,15 @@
."\n",
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'description' => '资⾦⾦额或数量,如现⾦单位为分,美分,积分为个,其它再约定,建议为最⼩的数量单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'LmOrderId' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '51855****',
- ],
- 'FundType' => [
- 'description' => '资⾦类型,如现⾦,优惠券,代⾦券,积分等 :'."\n"
- .'CASHCNYPAY,POINT_PAY'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'POINT_PAY',
- ],
- 'FundAmountMoney' => [
- 'description' => '对应的等值⾦额,单位为分。⽐如fundType为现⾦时,'."\n"
- .'fundAmountMoney等于fundAmount,其它⾮现⾦类的⽀付,由渠道计算好相应的等值⾦额放在这'."\n"
- .'⾥。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'TbSubOrderId' => [
- 'description' => '淘宝子订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2874823748****',
- ],
+ 'FundAmount' => ['description' => '资⾦⾦额或数量,如现⾦单位为分,美分,积分为个,其它再约定,建议为最⼩的数量单位', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'LmOrderId' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '51855****'],
+ 'FundType' => ['description' => '资⾦类型,如现⾦,优惠券,代⾦券,积分等 :'."\n"
+ .'CASHCNYPAY,POINT_PAY'."\n"
+ ."\n", 'type' => 'string', 'example' => 'POINT_PAY'],
+ 'FundAmountMoney' => ['description' => '对应的等值⾦额,单位为分。⽐如fundType为现⾦时,'."\n"
+ .'fundAmountMoney等于fundAmount,其它⾮现⾦类的⽀付,由渠道计算好相应的等值⾦额放在这'."\n"
+ .'⾥。', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'TbSubOrderId' => ['description' => '淘宝子订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '2874823748****'],
],
],
],
@@ -8646,39 +4049,15 @@
'description' => '邮费',
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'description' => '资⾦⾦额或数量,如现⾦单位为分,美分,积分为个,其它再约定,建议为最⼩的数量单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'LmOrderId' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '52312****',
- ],
- 'FundType' => [
- 'description' => '资⾦类型,如现⾦,优惠券,代⾦券,积分等 :'."\n"
- .'CASHCNYPAY,POINT_PAY'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'POINT_PAY',
- ],
- 'FundAmountMoney' => [
- 'description' => '对应的等值⾦额,单位为分。⽐如fundType为现⾦时,'."\n"
- .'fundAmountMoney等于fundAmount,其它⾮现⾦类的⽀付,由渠道计算好相应的等值⾦额放在这'."\n"
- .'⾥。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'TbSubOrderId' => [
- 'description' => '淘宝子订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2874823748****',
- ],
+ 'FundAmount' => ['description' => '资⾦⾦额或数量,如现⾦单位为分,美分,积分为个,其它再约定,建议为最⼩的数量单位', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'LmOrderId' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '52312****'],
+ 'FundType' => ['description' => '资⾦类型,如现⾦,优惠券,代⾦券,积分等 :'."\n"
+ .'CASHCNYPAY,POINT_PAY'."\n"
+ ."\n", 'type' => 'string', 'example' => 'POINT_PAY'],
+ 'FundAmountMoney' => ['description' => '对应的等值⾦额,单位为分。⽐如fundType为现⾦时,'."\n"
+ .'fundAmountMoney等于fundAmount,其它⾮现⾦类的⽀付,由渠道计算好相应的等值⾦额放在这'."\n"
+ .'⾥。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'TbSubOrderId' => ['description' => '淘宝子订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '2874823748****'],
],
],
],
@@ -8695,14 +4074,8 @@
'description' => '查询订单详情(内部使用)'."\n",
],
'QueryOrderIdByPayId' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8718,71 +4091,37 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '221249435****',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '221249435****'],
],
[
'name' => 'PaymentId',
'in' => 'query',
- 'schema' => [
- 'description' => '支付ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'PYPT******9379',
- ],
+ 'schema' => ['description' => '支付ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PYPT******9379'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -8790,21 +4129,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8'],
'LmOrderIds' => [
'type' => 'object',
'itemNode' => true,
@@ -8816,12 +4143,7 @@
'description' => '返回的订单id。',
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => 'lm订单ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '45******89',
- ],
+ 'LmOrderId' => ['description' => 'lm订单ID', 'type' => 'integer', 'format' => 'int64', 'example' => '45******89'],
],
],
],
@@ -8836,13 +4158,8 @@
'summary' => '查询订单场景使用。',
],
'QueryOrderInfoAfterSale' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8858,72 +4175,37 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'ChannelUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '渠道用户ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '22******323',
- ],
+ 'schema' => ['description' => '渠道用户ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '22******323'],
],
[
'name' => 'LmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '40******84',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '40******84'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃,填AccountType即可',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃,填AccountType即可', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '22******323',
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false, 'example' => '22******323'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -8931,103 +4213,28 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A107756D-18BF-56BC-9F33-8DFAA2279F17',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A107756D-18BF-56BC-9F33-8DFAA2279F17'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '45******66',
- ],
- 'ShopServiceTelephone' => [
- 'description' => '商家服务电话',
- 'type' => 'string',
- ],
- 'RefundAmount' => [
- 'description' => '退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'XiaomiCode' => [
- 'description' => '小蜜编码',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ShopName' => [
- 'description' => '店铺名称',
- 'type' => 'string',
- 'example' => '***旗舰店',
- ],
- 'CreateDate' => [
- 'description' => '下单时间',
- 'type' => 'string',
- 'example' => '2022-03-29',
- ],
- 'RefundRate' => [
- 'type' => 'string',
- ],
- 'ExtJson' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'OrderStatus' => [
- 'description' => '订单状态',
- 'type' => 'string',
- 'example' => '6',
- ],
- 'RefundPoints' => [
- 'description' => '退积分数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'TbOrderId' => [
- 'description' => '淘宝订单ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12******964113',
- ],
- 'Points' => [
- 'description' => '积分数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '69',
- ],
- 'RefundStatus' => [
- 'description' => '退款状态',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CashAmount' => [
- 'description' => '现金金额',
- 'type' => 'string',
- 'example' => '10',
- ],
+ 'LmOrderId' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '45******66'],
+ 'ShopServiceTelephone' => ['description' => '商家服务电话', 'type' => 'string'],
+ 'RefundAmount' => ['description' => '退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'XiaomiCode' => ['description' => '小蜜编码', 'type' => 'string', 'example' => '""'],
+ 'ShopName' => ['description' => '店铺名称', 'type' => 'string', 'example' => '***旗舰店'],
+ 'CreateDate' => ['description' => '下单时间', 'type' => 'string', 'example' => '2022-03-29'],
+ 'RefundRate' => ['type' => 'string'],
+ 'ExtJson' => ['description' => '扩展信息', 'type' => 'string', 'example' => '{}'],
+ 'OrderStatus' => ['description' => '订单状态', 'type' => 'string', 'example' => '6'],
+ 'RefundPoints' => ['description' => '退积分数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'TbOrderId' => ['description' => '淘宝订单ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12******964113'],
+ 'Points' => ['description' => '积分数', 'type' => 'integer', 'format' => 'int64', 'example' => '69'],
+ 'RefundStatus' => ['description' => '退款状态', 'type' => 'string', 'example' => '1'],
+ 'PointsAmount' => ['description' => '积分抵扣金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CashAmount' => ['description' => '现金金额', 'type' => 'string', 'example' => '10'],
'LogisticsList' => [
'type' => 'object',
'itemNode' => true,
@@ -9039,26 +4246,10 @@
'description' => '物流信息',
'type' => 'object',
'properties' => [
- 'LogisticsCompanyCode' => [
- 'description' => '物流公司代码',
- 'type' => 'string',
- 'example' => 'SF',
- ],
- 'LogisticsNo' => [
- 'description' => '物流单号',
- 'type' => 'string',
- 'example' => '731******8882',
- ],
- 'LogisticsStatus' => [
- 'description' => '物流状态',
- 'type' => 'string',
- 'example' => '3',
- ],
- 'LogisticsCompanyName' => [
- 'description' => '物流公司名称',
- 'type' => 'string',
- 'example' => '顺丰速运',
- ],
+ 'LogisticsCompanyCode' => ['description' => '物流公司代码', 'type' => 'string', 'example' => 'SF'],
+ 'LogisticsNo' => ['description' => '物流单号', 'type' => 'string', 'example' => '731******8882'],
+ 'LogisticsStatus' => ['description' => '物流状态', 'type' => 'string', 'example' => '3'],
+ 'LogisticsCompanyName' => ['description' => '物流公司名称', 'type' => 'string', 'example' => '顺丰速运'],
],
],
],
@@ -9075,14 +4266,8 @@
'summary' => '内部接口不对外提供。',
],
'QueryOrderItemInfoByPaymentIdForAiZhanYou' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9099,42 +4284,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '业务用户ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '22******85759',
- ],
+ 'schema' => ['description' => '业务用户ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '22******85759'],
],
[
'name' => 'PaymentId',
'in' => 'query',
- 'schema' => [
- 'description' => '支付ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'P51M******15',
- ],
+ 'schema' => ['description' => '支付ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'P51M******15'],
],
],
'responses' => [
@@ -9142,21 +4307,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DA2554FD-F21F-536F-A7B7-B96C3E5F****',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DA2554FD-F21F-536F-A7B7-B96C3E5F****'],
'LmOrderList' => [
'type' => 'object',
'itemNode' => true,
@@ -9168,39 +4321,12 @@
'description' => '订单列表',
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '42******18',
- ],
- 'ItemName' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '南枣核桃糕(圆盒)'."\n",
- ],
- 'SkuName' => [
- 'description' => 'sku名称',
- 'type' => 'string',
- 'example' => '南枣核桃糕(圆盒)2盒装',
- ],
- 'SkuId' => [
- 'description' => '下单商品的skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '433******8350',
- ],
- 'LmItemId' => [
- 'description' => 'Lm侧商品ID',
- 'type' => 'string',
- 'example' => '10000035-******31758',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '599******711',
- ],
+ 'LmOrderId' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '42******18'],
+ 'ItemName' => ['description' => '商品名称', 'type' => 'string', 'example' => '南枣核桃糕(圆盒)'."\n"],
+ 'SkuName' => ['description' => 'sku名称', 'type' => 'string', 'example' => '南枣核桃糕(圆盒)2盒装'],
+ 'SkuId' => ['description' => '下单商品的skuId', 'type' => 'integer', 'format' => 'int64', 'example' => '433******8350'],
+ 'LmItemId' => ['description' => 'Lm侧商品ID', 'type' => 'string', 'example' => '10000035-******31758'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '599******711'],
],
],
],
@@ -9215,14 +4341,8 @@
'summary' => '通过支付 ID 查询订单商品信息。',
],
'QueryOrderList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9239,94 +4359,47 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******005',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******005'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和ThirdPartyUserId填写一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '220******311',
- ],
+ 'schema' => ['description' => '和ThirdPartyUserId填写一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '220******311'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每⻚多少条记录,最⼤20条',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每⻚多少条记录,最⼤20条', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'FilterOption',
'in' => 'query',
- 'schema' => [
- 'description' => '订单过滤条件,json序列化后的字符串',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"lmOrderList\\":[32******46],\\"enableStatus\\":-1}',
- ],
+ 'schema' => ['description' => '订单过滤条件,json序列化后的字符串', 'type' => 'string', 'required' => false, 'example' => '{\\"lmOrderList\\":[32******46],\\"enableStatus\\":-1}'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃,填AccountType即可',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃,填AccountType即可', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户侧用ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -9334,57 +4407,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '6EC363BE-9A87-55AA-A9AF-44E77F0EEDCA',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'description' => '每⻚多少条记录,最⼤20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '总订单数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '6EC363BE-9A87-55AA-A9AF-44E77F0EEDCA'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['description' => '每⻚多少条记录,最⼤20条', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'PageNumber' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '总订单数量', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
'PostFee' => [
'description' => '邮费',
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'description' => '资金金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'FundType' => [
- 'description' => '支付方式',
- 'type' => 'string',
- ],
- 'FundAmountMoney' => [
- 'description' => '订单金额,以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'FundAmount' => ['description' => '资金金额', 'type' => 'integer', 'format' => 'int64'],
+ 'FundType' => ['description' => '支付方式', 'type' => 'string'],
+ 'FundAmountMoney' => ['description' => '订单金额,以分为单位', 'type' => 'integer', 'format' => 'int64'],
],
],
'LmOrderList' => [
@@ -9398,56 +4433,15 @@
'description' => '订单列表',
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '41******03',
- ],
- 'EnableStatus' => [
- 'description' => '0,⽣效;1,⽆效',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ExtJson' => [
- 'description' => '拓展字段',
- 'type' => 'string',
- ],
- 'OrderStatus' => [
- 'description' => '订单状态,6=交易成功',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'ShopName' => [
- 'description' => '店铺名',
- 'type' => 'string',
- 'example' => '****零食店'."\n",
- ],
- 'TbOrderId' => [
- 'description' => '淘宝订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12******41253',
- ],
- 'OrderAmount' => [
- 'description' => '订单总金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'LogisticsStatus' => [
- 'description' => '物流状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'CreateDate' => [
- 'description' => '下单时间',
- 'type' => 'string',
- 'example' => '2022-04-01 12:00:00',
- ],
+ 'LmOrderId' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '41******03'],
+ 'EnableStatus' => ['description' => '0,⽣效;1,⽆效', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ExtJson' => ['description' => '拓展字段', 'type' => 'string'],
+ 'OrderStatus' => ['description' => '订单状态,6=交易成功', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'ShopName' => ['description' => '店铺名', 'type' => 'string', 'example' => '****零食店'."\n"],
+ 'TbOrderId' => ['description' => '淘宝订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '12******41253'],
+ 'OrderAmount' => ['description' => '订单总金额', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'LogisticsStatus' => ['description' => '物流状态', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'CreateDate' => ['description' => '下单时间', 'type' => 'string', 'example' => '2022-04-01 12:00:00'],
'FundStructureModels' => [
'type' => 'object',
'itemNode' => true,
@@ -9458,20 +4452,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'description' => '资金金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'FundType' => [
- 'description' => '支付方式',
- 'type' => 'string',
- ],
- 'FundAmountMoney' => [
- 'description' => '订单金额,以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'FundAmount' => ['description' => '资金金额', 'type' => 'integer', 'format' => 'int64'],
+ 'FundType' => ['description' => '支付方式', 'type' => 'string'],
+ 'FundAmountMoney' => ['description' => '订单金额,以分为单位', 'type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -9488,68 +4471,18 @@
'description' => '子订单列表',
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => 'lm子订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '37******63',
- ],
- 'EnableStatus' => [
- 'description' => ' '."\n"
- .'0,⽣效;1,⽆效',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ItemTitle' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '南枣核桃糕(圆盒)',
- ],
- 'OrderStatus' => [
- 'description' => '订单状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'SkuName' => [
- 'description' => '下单商品的sku显示id',
- 'type' => 'string',
- 'example' => '南枣核桃糕(圆盒)2盒装'."\n",
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '10000102-******170234',
- ],
- 'SkuId' => [
- 'description' => '下单商品的skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '472******6880',
- ],
- 'Number' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TbOrderId' => [
- 'description' => '淘宝订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12******41253',
- ],
- 'ItemPic' => [
- 'description' => '商品图片地址',
- 'type' => 'string',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '607******466',
- ],
+ 'LmOrderId' => ['description' => 'lm子订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '37******63'],
+ 'EnableStatus' => ['description' => ' '."\n"
+ .'0,⽣效;1,⽆效', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ItemTitle' => ['description' => '商品名称', 'type' => 'string', 'example' => '南枣核桃糕(圆盒)'],
+ 'OrderStatus' => ['description' => '订单状态', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'SkuName' => ['description' => '下单商品的sku显示id', 'type' => 'string', 'example' => '南枣核桃糕(圆盒)2盒装'."\n"],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '10000102-******170234'],
+ 'SkuId' => ['description' => '下单商品的skuId', 'type' => 'integer', 'format' => 'int64', 'example' => '472******6880'],
+ 'Number' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TbOrderId' => ['description' => '淘宝订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '12******41253'],
+ 'ItemPic' => ['description' => '商品图片地址', 'type' => 'string'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '607******466'],
'ItemPriceList' => [
'type' => 'object',
'itemNode' => true,
@@ -9560,20 +4493,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'description' => '资金金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'FundType' => [
- 'description' => '支付类型',
- 'type' => 'string',
- ],
- 'FundAmountMoney' => [
- 'description' => '子订单金额,以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'FundAmount' => ['description' => '资金金额', 'type' => 'integer', 'format' => 'int64'],
+ 'FundType' => ['description' => '支付类型', 'type' => 'string'],
+ 'FundAmountMoney' => ['description' => '子订单金额,以分为单位', 'type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -9588,20 +4510,9 @@
'description' => '邮费',
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'description' => '资金金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'FundType' => [
- 'description' => '支付方式',
- 'type' => 'string',
- ],
- 'FundAmountMoney' => [
- 'description' => '订单金额,以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'FundAmount' => ['description' => '资金金额', 'type' => 'integer', 'format' => 'int64'],
+ 'FundType' => ['description' => '支付方式', 'type' => 'string'],
+ 'FundAmountMoney' => ['description' => '订单金额,以分为单位', 'type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -9732,14 +4643,8 @@
.' }',
],
'QueryOrderLogistics' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9755,74 +4660,38 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210825****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210825****'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '22378277****',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '22378277****'],
],
[
'name' => 'LmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '42535****',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '42535****'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃,填AccountType即可',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃,填AccountType即可', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '22378277****'."\n",
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false, 'example' => '22378277****'."\n"],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -9831,45 +4700,17 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537****',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537****'],
'OrderLogistics' => [
'description' => '订单物流详情',
'type' => 'object',
'properties' => [
- 'LogisticsCompanyCode' => [
- 'description' => '本单物流公司code',
- 'type' => 'string',
- 'example' => 'ZTO',
- ],
- 'LogisticsCompanyName' => [
- 'description' => '本单物流公司名称',
- 'type' => 'string',
- 'example' => '中通',
- ],
- 'DataProvider' => [
- 'description' => '数据来源:如:菜鸟裹裹',
- 'type' => 'string',
- 'example' => '菜鸟裹裹'."\n",
- ],
- 'DataProviderTitle' => [
- 'description' => '数据来源说明,如:本数据由菜⻦裹裹提供',
- 'type' => 'string',
- 'example' => '本数据由菜⻦裹裹提供',
- ],
+ 'LogisticsCompanyCode' => ['description' => '本单物流公司code', 'type' => 'string', 'example' => 'ZTO'],
+ 'LogisticsCompanyName' => ['description' => '本单物流公司名称', 'type' => 'string', 'example' => '中通'],
+ 'DataProvider' => ['description' => '数据来源:如:菜鸟裹裹', 'type' => 'string', 'example' => '菜鸟裹裹'."\n"],
+ 'DataProviderTitle' => ['description' => '数据来源说明,如:本数据由菜⻦裹裹提供', 'type' => 'string', 'example' => '本数据由菜⻦裹裹提供'],
'LogisticsDetailList' => [
'type' => 'object',
'itemNode' => true,
@@ -9881,21 +4722,9 @@
'description' => '物流详情列表',
'type' => 'object',
'properties' => [
- 'OcurrTimeStr' => [
- 'description' => '发生时间',
- 'type' => 'string',
- 'example' => '2022-04-01 16:33:23',
- ],
- 'StanderdDesc' => [
- 'description' => '物流信息',
- 'type' => 'string',
- 'example' => '商品已下单',
- ],
- 'StatusIcon' => [
- 'description' => '状态图标',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'OcurrTimeStr' => ['description' => '发生时间', 'type' => 'string', 'example' => '2022-04-01 16:33:23'],
+ 'StanderdDesc' => ['description' => '物流信息', 'type' => 'string', 'example' => '商品已下单'],
+ 'StatusIcon' => ['description' => '状态图标', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -9905,52 +4734,20 @@
'description' => '收件人信息',
'type' => 'object',
'properties' => [
- 'Address' => [
- 'description' => '收件人地址',
- 'type' => 'string',
- 'example' => '北京市***********',
- ],
- 'Name' => [
- 'description' => '收件人姓名',
- 'type' => 'string',
- 'example' => '刘**',
- ],
- 'PhoneNumber' => [
- 'description' => '收件人联系电话',
- 'type' => 'string',
- 'example' => '185****4801',
- ],
- 'ZipCode' => [
- 'description' => '邮政编码',
- 'type' => 'string',
- 'example' => '457001',
- ],
+ 'Address' => ['description' => '收件人地址', 'type' => 'string', 'example' => '北京市***********'],
+ 'Name' => ['description' => '收件人姓名', 'type' => 'string', 'example' => '刘**'],
+ 'PhoneNumber' => ['description' => '收件人联系电话', 'type' => 'string', 'example' => '185****4801'],
+ 'ZipCode' => ['description' => '邮政编码', 'type' => 'string', 'example' => '457001'],
],
],
'Fetcher' => [
'description' => '取件人',
'type' => 'object',
'properties' => [
- 'Address' => [
- 'description' => '取件地址',
- 'type' => 'string',
- 'example' => '北京市*******',
- ],
- 'Name' => [
- 'description' => '取件人姓名',
- 'type' => 'string',
- 'example' => '刘**',
- ],
- 'PhoneNumber' => [
- 'description' => '联系电话',
- 'type' => 'string',
- 'example' => '185****4801',
- ],
- 'ZipCode' => [
- 'description' => '邮政编码',
- 'type' => 'string',
- 'example' => '457001',
- ],
+ 'Address' => ['description' => '取件地址', 'type' => 'string', 'example' => '北京市*******'],
+ 'Name' => ['description' => '取件人姓名', 'type' => 'string', 'example' => '刘**'],
+ 'PhoneNumber' => ['description' => '联系电话', 'type' => 'string', 'example' => '185****4801'],
+ 'ZipCode' => ['description' => '邮政编码', 'type' => 'string', 'example' => '457001'],
],
],
],
@@ -9965,14 +4762,8 @@
'description' => '查询订单物流详情'."\n",
],
'QueryLogistics' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9989,72 +4780,38 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210830****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210830****'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => false,
- 'example' => '213250002250****',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => false, 'example' => '213250002250****'],
],
[
'name' => 'LmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '46802****',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '46802****'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '213250002250****'."\n",
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false, 'example' => '213250002250****'."\n"],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -10063,21 +4820,9 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The specified parameter %s value is not valid.',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'E090F1A0-7454-5F36-933C-E6332CE2****',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'E090F1A0-7454-5F36-933C-E6332CE2****'],
'Data' => [
'type' => 'object',
'itemNode' => true,
@@ -10089,31 +4834,11 @@
'description' => '物流信息列表',
'type' => 'object',
'properties' => [
- 'LogisticsCompanyCode' => [
- 'description' => '本单物流公司code',
- 'type' => 'string',
- 'example' => 'ZTO',
- ],
- 'MailNo' => [
- 'description' => '运单号',
- 'type' => 'string',
- 'example' => '32178478218****',
- ],
- 'LogisticsCompanyName' => [
- 'description' => '本单物流公司名称',
- 'type' => 'string',
- 'example' => '中通',
- ],
- 'DataProvider' => [
- 'description' => '数据来源:如:菜鸟裹裹',
- 'type' => 'string',
- 'example' => '菜鸟裹裹',
- ],
- 'DataProviderTitle' => [
- 'description' => '数据来源说明,如:本数据由菜⻦裹裹提供',
- 'type' => 'string',
- 'example' => '本数据由菜⻦裹裹提供',
- ],
+ 'LogisticsCompanyCode' => ['description' => '本单物流公司code', 'type' => 'string', 'example' => 'ZTO'],
+ 'MailNo' => ['description' => '运单号', 'type' => 'string', 'example' => '32178478218****'],
+ 'LogisticsCompanyName' => ['description' => '本单物流公司名称', 'type' => 'string', 'example' => '中通'],
+ 'DataProvider' => ['description' => '数据来源:如:菜鸟裹裹', 'type' => 'string', 'example' => '菜鸟裹裹'],
+ 'DataProviderTitle' => ['description' => '数据来源说明,如:本数据由菜⻦裹裹提供', 'type' => 'string', 'example' => '本数据由菜⻦裹裹提供'],
'LogisticsDetailList' => [
'type' => 'object',
'itemNode' => true,
@@ -10125,16 +4850,8 @@
'description' => '物流详情列表',
'type' => 'object',
'properties' => [
- 'OcurrTimeStr' => [
- 'description' => '发生时间',
- 'type' => 'string',
- 'example' => '2022-04-01',
- ],
- 'StanderdDesc' => [
- 'description' => '物流信息',
- 'type' => 'string',
- 'example' => '商品已经下单',
- ],
+ 'OcurrTimeStr' => ['description' => '发生时间', 'type' => 'string', 'example' => '2022-04-01'],
+ 'StanderdDesc' => ['description' => '物流信息', 'type' => 'string', 'example' => '商品已经下单'],
],
],
],
@@ -10151,24 +4868,10 @@
'description' => '货物信息列表',
'type' => 'object',
'properties' => [
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '62250669****',
- ],
- 'GoodName' => [
- 'description' => '货物名字,不保证有,⼀个主单只有⼀个商品可能没有该值,物流未获取物流'."\n"
- .'公司物流号之前也没有该值',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Quantity' => [
- 'description' => '商品数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '62250669****'],
+ 'GoodName' => ['description' => '货物名字,不保证有,⼀个主单只有⼀个商品可能没有该值,物流未获取物流'."\n"
+ .'公司物流号之前也没有该值', 'type' => 'string', 'example' => '""'],
+ 'Quantity' => ['description' => '商品数量', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
],
],
],
@@ -10209,14 +4912,8 @@
.' }',
],
'RenderH5Order' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10233,69 +4930,37 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和ThirdPartyUserId填写一样的值',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '208******6520',
- ],
+ 'schema' => ['description' => '和ThirdPartyUserId填写一样的值', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '208******6520'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '208******6520',
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false, 'example' => '208******6520'],
],
[
'name' => 'BuyOrderRequestModel',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -10303,59 +4968,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '96B4141C-A3CD-5162-B435-4780A75E3D97',
- ],
- 'Success' => [
- 'description' => '调用是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '205',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'LogsId' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '96B4141C-A3CD-5162-B435-4780A75E3D97'],
+ 'Success' => ['description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '205'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'LogsId' => ['description' => '废弃', 'type' => 'string', 'example' => '1'],
'Model' => [
'type' => 'object',
'properties' => [
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'object',
- ],
- 'BuyerCurrentPoints' => [
- 'description' => '买家当前积分数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'object'],
+ 'BuyerCurrentPoints' => ['description' => '买家当前积分数', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
'LmItemInfoList' => [
'description' => 'lm商品信息列表',
'type' => 'array',
@@ -10364,95 +4989,24 @@
."\n",
'type' => 'object',
'properties' => [
- 'TbShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '***旗舰店',
- ],
- 'SellerId' => [
- 'description' => '卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '42******044',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10000102-******94679',
- ],
- 'Message' => [
- 'description' => '消息',
- 'type' => 'string',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Cash' => [
- 'description' => '现金数',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65******461',
- ],
- 'VirtualItemType' => [
- 'description' => '虚拟商品类型',
- 'type' => 'string',
- ],
- 'ItemName' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '南枣核桃糕(圆盒)'."\n",
- ],
- 'ActualPrice' => [
- 'description' => '实际价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'SkuName' => [
- 'description' => 'sku名称',
- 'type' => 'string',
- 'example' => '南枣核桃糕(圆盒)2盒装',
- ],
- 'SkuId' => [
- 'description' => '下单商品的skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '46******9302',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '69',
- ],
- 'ItemUrl' => [
- 'description' => '商品详情链接',
- 'type' => 'string',
- ],
- 'SellerNick' => [
- 'description' => '卖家昵称',
- 'type' => 'string',
- ],
- 'Quantity' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Features' => [
- 'type' => 'object',
- ],
- 'ItemPicUrl' => [
- 'description' => '商品图片URL',
- 'type' => 'string',
- ],
+ 'TbShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '***旗舰店'],
+ 'SellerId' => ['description' => '卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '42******044'],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10000102-******94679'],
+ 'Message' => ['description' => '消息', 'type' => 'string'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'Cash' => ['description' => '现金数', 'type' => 'integer', 'format' => 'int64'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '65******461'],
+ 'VirtualItemType' => ['description' => '虚拟商品类型', 'type' => 'string'],
+ 'ItemName' => ['description' => '商品名称', 'type' => 'string', 'example' => '南枣核桃糕(圆盒)'."\n"],
+ 'ActualPrice' => ['description' => '实际价格', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'SkuName' => ['description' => 'sku名称', 'type' => 'string', 'example' => '南枣核桃糕(圆盒)2盒装'],
+ 'SkuId' => ['description' => '下单商品的skuId', 'type' => 'integer', 'format' => 'int64', 'example' => '46******9302'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '69'],
+ 'ItemUrl' => ['description' => '商品详情链接', 'type' => 'string'],
+ 'SellerNick' => ['description' => '卖家昵称', 'type' => 'string'],
+ 'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Features' => ['type' => 'object'],
+ 'ItemPicUrl' => ['description' => '商品图片URL', 'type' => 'string'],
],
],
],
@@ -10462,23 +5016,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => '展示名称',
- 'type' => 'string',
- ],
- 'PostFee' => [
- 'description' => '邮费',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ServiceType' => [
- 'description' => '服务类型',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
+ 'DisplayName' => ['description' => '展示名称', 'type' => 'string'],
+ 'PostFee' => ['description' => '邮费', 'type' => 'integer', 'format' => 'int64'],
+ 'ServiceType' => ['description' => '服务类型', 'type' => 'integer', 'format' => 'int64'],
+ 'Id' => ['type' => 'string'],
],
],
],
@@ -10488,35 +5029,12 @@
'items' => [
'type' => 'object',
'properties' => [
- 'DivisionCode' => [
- 'description' => '区划码',
- 'type' => 'string',
- 'example' => '410223',
- ],
- 'Receiver' => [
- 'description' => '收货人',
- 'type' => 'string',
- 'example' => '张三',
- ],
- 'AddressDetail' => [
- 'description' => '地址详情',
- 'type' => 'string',
- ],
- 'Default' => [
- 'description' => '是否默认地址',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AddressId' => [
- 'description' => '地址ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ReceiverPhone' => [
- 'description' => '收货人电话',
- 'type' => 'string',
- 'example' => '158****3627',
- ],
+ 'DivisionCode' => ['description' => '区划码', 'type' => 'string', 'example' => '410223'],
+ 'Receiver' => ['description' => '收货人', 'type' => 'string', 'example' => '张三'],
+ 'AddressDetail' => ['description' => '地址详情', 'type' => 'string'],
+ 'Default' => ['description' => '是否默认地址', 'type' => 'boolean', 'example' => 'true'],
+ 'AddressId' => ['description' => '地址ID', 'type' => 'integer', 'format' => 'int64'],
+ 'ReceiverPhone' => ['description' => '收货人电话', 'type' => 'string', 'example' => '158****3627'],
],
],
],
@@ -10524,14 +5042,8 @@
'description' => '发票信息',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '发票类型',
- 'type' => 'string',
- ],
- 'Desc' => [
- 'description' => '发票描述',
- 'type' => 'string',
- ],
+ 'Type' => ['description' => '发票类型', 'type' => 'string'],
+ 'Desc' => ['description' => '发票描述', 'type' => 'string'],
],
],
],
@@ -10545,14 +5057,8 @@
'summary' => 'H5模式渲染订单。',
],
'RepayOrder' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10568,73 +5074,37 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210125****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210125****'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和ThirdPartyUserId填写一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9f99f38030254728***',
- ],
+ 'schema' => ['description' => '和ThirdPartyUserId填写一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9f99f38030254728***'],
],
[
'name' => 'LmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '449975059**',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '449975059**'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃,填AccountType即可',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃,填AccountType即可', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '9f99f38030254728***'."\n",
- ],
+ 'schema' => ['description' => '客户侧ID', 'type' => 'string', 'required' => false, 'example' => '9f99f38030254728***'."\n"],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -10643,21 +5113,9 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The specified parameter %s value is not valid.',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '322830A9-C820-5974-B409-7B32C41E8B42',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '322830A9-C820-5974-B409-7B32C41E8B42'],
],
],
],
@@ -10667,14 +5125,8 @@
'summary' => '用户如果没付款,可以调用该接口继续付款。',
],
'CreateOrderV2' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10691,163 +5143,77 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL202****0001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL202****0001'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '4012776630',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '4012776630'],
],
[
'name' => 'OutTradeId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户唯一订单号,未提供时,由阿里云创建',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '949251510338846720',
- ],
+ 'schema' => ['description' => '客户唯一订单号,未提供时,由阿里云创建', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '949251510338846720'],
],
[
'name' => 'ItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '591831917868',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '591831917868'],
],
[
'name' => 'Quantity',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1'],
],
[
'name' => 'TotalAmount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- 'default' => '0',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '0'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展字段',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"outShopId\\":\\"8044468\\"}',
- 'default' => '{}',
- ],
+ 'schema' => ['description' => '扩展字段', 'type' => 'string', 'required' => false, 'example' => '{\\"outShopId\\":\\"8044468\\"}', 'default' => '{}'],
],
[
'name' => 'DeliveryAddress',
'in' => 'query',
- 'schema' => [
- 'description' => '收货地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => '*****************************************************************************************************',
- ],
+ 'schema' => ['description' => '收货地址', 'type' => 'string', 'required' => false, 'example' => '*****************************************************************************************************'],
],
[
'name' => 'OrderExpireTime',
'in' => 'query',
- 'schema' => [
- 'description' => '订单失效时间,单位秒,默认15分钟',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '900',
- 'example' => '3600',
- 'default' => '900',
- ],
+ 'schema' => ['description' => '订单失效时间,单位秒,默认15分钟', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '900', 'example' => '3600', 'default' => '900'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃,填AccountType即可',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃,填AccountType即可', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '必须对应C端唯一一个用户,企业不可使用一个ID代所有用户下单',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '必须对应C端唯一一个用户,企业不可使用一个ID代所有用户下单', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => '',
- ],
+ 'schema' => ['description' => '固定值ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => ''],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10016572-654408058233',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'string', 'required' => false, 'example' => '10016572-654408058233'],
],
[
'name' => 'BuyerMessageMap',
'in' => 'query',
- 'schema' => [
- 'description' => 'key为sellerId,value值为备注内容的jsonString,例如{"186XXXX284":"备注内容...","186XXXX184":"备注内容..."}',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"186XXXX284":"备注内容…","186XXXX184":"备注内容…"}',
- ],
+ 'schema' => ['description' => 'key为sellerId,value值为备注内容的jsonString,例如{"186XXXX284":"备注内容...","186XXXX184":"备注内容..."}', 'type' => 'string', 'required' => false, 'example' => '{"186XXXX284":"备注内容…","186XXXX184":"备注内容…"}'],
],
[
'name' => 'ItemList',
@@ -10860,33 +5226,10 @@
'description' => '商品列表',
'type' => 'object',
'properties' => [
- 'SkuId' => [
- 'description' => '商品skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '4586054386257',
- ],
- 'LmItemId' => [
- 'description' => 'Lm侧商品Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000102-630119724405',
- ],
- 'ItemId' => [
- 'description' => '商品Id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '649442334167',
- ],
- 'Quantity' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
+ 'SkuId' => ['description' => '商品skuId', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4586054386257'],
+ 'LmItemId' => ['description' => 'Lm侧商品Id', 'type' => 'string', 'required' => false, 'example' => '10000102-630119724405'],
+ 'ItemId' => ['description' => '商品Id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '649442334167'],
+ 'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
'required' => false,
],
@@ -10900,55 +5243,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '978A8742-1A38-54B5-98D9-F8713ACBC385',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'TotalCount' => [
- 'description' => '总订单数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '7',
- ],
- 'LogsId' => [
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '978A8742-1A38-54B5-98D9-F8713ACBC385'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'True'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '成功'],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'TotalCount' => ['description' => '总订单数量', 'type' => 'integer', 'format' => 'int64', 'example' => '7'],
+ 'LogsId' => ['type' => 'string', 'example' => '1'],
'Model' => [
'description' => '订单信息,从返回的model对象中取出LmOrderList字段',
'type' => 'object',
'properties' => [
- 'RedirectUrl' => [
- 'description' => '重定向地址',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'RedirectUrl' => ['description' => '重定向地址', 'type' => 'string', 'example' => '""'],
'LmOrderList' => [
'type' => 'object',
'itemNode' => true,
@@ -10960,11 +5267,7 @@
'description' => '订单主订单列表',
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => '订单主订单号',
- 'type' => 'string',
- 'example' => '[5748****,5647****]',
- ],
+ 'LmOrderId' => ['description' => '订单主订单号', 'type' => 'string', 'example' => '[5748****,5647****]'],
],
],
],
@@ -10976,9 +5279,7 @@
'properties' => [
'PayTradeIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -10989,11 +5290,7 @@
'OrderIds' => [
'description' => '淘宝订单id列表',
'type' => 'array',
- 'items' => [
- 'description' => '淘宝订单id列表',
- 'type' => 'string',
- 'example' => '[25983948****.2588378****]',
- ],
+ 'items' => ['description' => '淘宝订单id列表', 'type' => 'string', 'example' => '[25983948****.2588378****]'],
],
],
],
@@ -11035,14 +5332,8 @@
.' }',
],
'EnableOrder' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11059,89 +5350,47 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL201912040001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL201912040001'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'OutTradeId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户唯一订单号,未提供时,由阿里云创建',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '客户唯一订单号,未提供时,由阿里云创建', 'type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'LmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => '创建订单时的外放主订单id',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '创建订单时的外放主订单id', 'type' => 'string', 'required' => false, 'docRequired' => true],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展字段',
- 'type' => 'string',
- 'required' => false,
- 'default' => '{}',
- ],
+ 'schema' => ['description' => '扩展字段', 'type' => 'string', 'required' => false, 'default' => '{}'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用Id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户侧用Id', 'type' => 'string', 'required' => false],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- 'default' => '',
- ],
+ 'schema' => ['description' => '固定值ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY', 'default' => ''],
],
],
'responses' => [
@@ -11149,40 +5398,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'SubMessage' => [
- 'type' => 'string',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时返回具体原因',
- 'type' => 'string',
- ],
- 'SubCode' => [
- 'type' => 'string',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'LogsId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'SubMessage' => ['type' => 'string'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时返回具体原因', 'type' => 'string'],
+ 'SubCode' => ['type' => 'string'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'LogsId' => ['type' => 'string'],
'Model' => [
'type' => 'object',
'properties' => [
- 'RedirectUrl' => [
- 'type' => 'string',
- ],
+ 'RedirectUrl' => ['type' => 'string'],
'LmOrderList' => [
'type' => 'object',
'itemNode' => true,
@@ -11193,10 +5420,7 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => 'lm订单id',
- 'type' => 'string',
- ],
+ 'LmOrderId' => ['description' => 'lm订单id', 'type' => 'string'],
],
],
],
@@ -11208,9 +5432,7 @@
'properties' => [
'PayTradeIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -11221,9 +5443,7 @@
'OrderIds' => [
'description' => '订单列表',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -11241,14 +5461,8 @@
.'2.档返回支付未决时,(code=WITHHOLD_RESULT _STATUS_UNKNOWN),不代表订单支付失败,只有订单状态为8时,才能认为订单失败,其他状态可联系linkedmall技术支持确认,不可轻易将钱退给用户',
],
'CancelOrder' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11264,72 +5478,37 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务Id',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210802****',
- ],
+ 'schema' => ['description' => '业务Id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210802****'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传同样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '208861290576****',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传同样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '208861290576****'],
],
[
'name' => 'LmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => '阿里云主订单Id,最多只有一个',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '46992****',
- ],
+ 'schema' => ['description' => '阿里云主订单Id,最多只有一个', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '46992****'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户唯一标识',
- 'type' => 'string',
- 'required' => false,
- 'example' => '207761290576****',
- ],
+ 'schema' => ['description' => '客户侧用户唯一标识', 'type' => 'string', 'required' => false, 'example' => '207761290576****'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -11337,41 +5516,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '920C6519-4888-599F-9FBA-991774BAA1DD',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'LogsId' => [
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '920C6519-4888-599F-9FBA-991774BAA1DD'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'True'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '成功'],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'LogsId' => ['description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
],
],
],
@@ -11384,14 +5535,8 @@
.'该接口只适用于调用CreateOrderV2下单接口但未调用EnableOrder接支付接口的订单',
],
'RenderOrder' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11408,92 +5553,47 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2000***12',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2000***12'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和ThirdPartyUserId填写一样的值',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2212850685759',
- ],
+ 'schema' => ['description' => '和ThirdPartyUserId填写一样的值', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2212850685759'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '拓展字段',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- 'default' => '{}',
- ],
+ 'schema' => ['description' => '拓展字段', 'type' => 'string', 'required' => false, 'example' => '{}', 'default' => '{}'],
],
[
'name' => 'DeliveryAddress',
'in' => 'query',
- 'schema' => [
- 'description' => '收货地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => '***********************************************************************',
- ],
+ 'schema' => ['description' => '收货地址', 'type' => 'string', 'required' => false, 'example' => '***********************************************************************'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '必须对应C端唯一一个用户,企业不可使用一个ID代替所有用户下单',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2212850685759',
- ],
+ 'schema' => ['description' => '必须对应C端唯一一个用户,企业不可使用一个ID代替所有用户下单', 'type' => 'string', 'required' => false, 'example' => '2212850685759'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10016572-654408058233',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'string', 'required' => false, 'example' => '10016572-654408058233'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
[
'name' => 'ItemList',
@@ -11506,33 +5606,10 @@
'description' => '商品列表',
'type' => 'object',
'properties' => [
- 'SkuId' => [
- 'description' => '商品SkuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '4415814743135',
- ],
- 'LmItemId' => [
- 'description' => 'LM侧商品Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10016572-654408058233'."\n",
- ],
- 'ItemId' => [
- 'description' => '商品Id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '620033847326',
- ],
- 'Quantity' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'SkuId' => ['description' => '商品SkuId', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4415814743135'],
+ 'LmItemId' => ['description' => 'LM侧商品Id', 'type' => 'string', 'required' => false, 'example' => '10016572-654408058233'."\n"],
+ 'ItemId' => ['description' => '商品Id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '620033847326'],
+ 'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
'required' => false,
],
@@ -11546,47 +5623,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'DAAA6391-3339-5333-9E4D-C71CD26A231F',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '成果',
- ],
- 'Code' => [
- 'description' => '成功返回success',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败返回具体原因',
- 'type' => 'string',
- 'example' => 'SKU_IS_MISSING',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'DAAA6391-3339-5333-9E4D-C71CD26A231F'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'False'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '成果'],
+ 'Code' => ['description' => '成功返回success', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败返回具体原因', 'type' => 'string', 'example' => 'SKU_IS_MISSING'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'Model' => [
'description' => '订单',
'type' => 'object',
@@ -11602,9 +5646,7 @@
'description' => '渲染结果',
'type' => 'object',
'properties' => [
- 'ExtInfo' => [
- 'type' => 'object',
- ],
+ 'ExtInfo' => ['type' => 'object'],
'LmItemInfos' => [
'type' => 'object',
'itemNode' => true,
@@ -11614,68 +5656,20 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'type' => 'string',
- 'example' => '10001036-254415474010492928',
- ],
- 'SellerId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '107184918',
- ],
- 'Message' => [
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'ItemId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '658057729548',
- ],
- 'CanSell' => [
- 'type' => 'boolean',
- ],
- 'Cash' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ItemName' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => 'iphone12',
- ],
- 'ActualPrice' => [
- 'description' => '实际价格。',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SkuName' => [
- 'type' => 'string',
- 'example' => 'liu_12',
- ],
- 'SkuId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4931861303981',
- ],
- 'Points' => [
- 'description' => '废弃字段',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '39',
- ],
- 'SellerNick' => [
- 'type' => 'string',
- ],
- 'Quantity' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ItemPicUrl' => [
- 'type' => 'string',
- ],
+ 'LmItemId' => ['type' => 'string', 'example' => '10001036-254415474010492928'],
+ 'SellerId' => ['type' => 'integer', 'format' => 'int64', 'example' => '107184918'],
+ 'Message' => ['type' => 'string', 'example' => '成功'],
+ 'ItemId' => ['type' => 'integer', 'format' => 'int64', 'example' => '658057729548'],
+ 'CanSell' => ['type' => 'boolean'],
+ 'Cash' => ['type' => 'integer', 'format' => 'int64'],
+ 'ItemName' => ['description' => '商品名称', 'type' => 'string', 'example' => 'iphone12'],
+ 'ActualPrice' => ['description' => '实际价格。', 'type' => 'integer', 'format' => 'int64'],
+ 'SkuName' => ['type' => 'string', 'example' => 'liu_12'],
+ 'SkuId' => ['type' => 'integer', 'format' => 'int64', 'example' => '4931861303981'],
+ 'Points' => ['description' => '废弃字段', 'type' => 'integer', 'format' => 'int64', 'example' => '39'],
+ 'SellerNick' => ['type' => 'string'],
+ 'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ItemPicUrl' => ['type' => 'string'],
],
],
],
@@ -11691,20 +5685,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'PostFee' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ServiceType' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
+ 'DisplayName' => ['type' => 'string'],
+ 'PostFee' => ['type' => 'integer', 'format' => 'int64'],
+ 'ServiceType' => ['type' => 'integer', 'format' => 'int64'],
+ 'Id' => ['type' => 'string'],
],
],
],
@@ -11767,13 +5751,8 @@
],
'ApplyRefund' => [
'summary' => '申请退款。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11789,139 +5768,67 @@
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL201912230007',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL201912230007'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '186******89',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '186******89'],
],
[
'name' => 'SubLmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => '⼦订单ID,通过查询订单详情接⼝获取',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '42******33',
- ],
+ 'schema' => ['description' => '⼦订单ID,通过查询订单详情接⼝获取', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '42******33'],
],
[
'name' => 'BizClaimType',
'in' => 'query',
- 'schema' => [
- 'description' => '退款类型。1 仅退款, 3 退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '退款类型。1 仅退款, 3 退货退款', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'ApplyRefundFee',
'in' => 'query',
- 'schema' => [
- 'description' => '申请退款金额,以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '790',
- ],
+ 'schema' => ['description' => '申请退款金额,以分为单位', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '790'],
],
[
'name' => 'ApplyRefundCount',
'in' => 'query',
- 'schema' => [
- 'description' => '退货数量,可不传',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '退货数量,可不传', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ApplyReasonTextId',
'in' => 'query',
- 'schema' => [
- 'description' => '退款原因ID。选择的reasonTextId,通过initApplyRefund接⼝获取',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '500325',
- ],
+ 'schema' => ['description' => '退款原因ID。选择的reasonTextId,通过initApplyRefund接⼝获取', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '500325'],
],
[
'name' => 'LeaveMessage',
'in' => 'formData',
- 'schema' => [
- 'description' => '留言。买家说明,某些原因要求必须留⾔',
- 'type' => 'string',
- 'required' => false,
- 'example' => '拍错',
- ],
+ 'schema' => ['description' => '留言。买家说明,某些原因要求必须留⾔', 'type' => 'string', 'required' => false, 'example' => '拍错'],
],
[
'name' => 'GoodsStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '货物状态。当退款类型:仅退款时,货物状态:为4未发货。所有状态:4: 未发货,6:已发货, 1: 未收到货, 2: 已收到货, 3:已寄回, 5:卖家确认收货',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '4',
- ],
+ 'schema' => ['description' => '货物状态。当退款类型:仅退款时,货物状态:为4未发货。所有状态:4: 未发货,6:已发货, 1: 未收到货, 2: 已收到货, 3:已寄回, 5:卖家确认收货', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => '',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => ''],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
[
'name' => 'LeavePictureList',
@@ -11934,18 +5841,8 @@
'description' => '图片地址列表',
'type' => 'object',
'properties' => [
- 'Picture' => [
- 'description' => '图片地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://lm-dk.oss-cn-hangzhou.aliyuncs.com/******06661.png',
- ],
- 'Desc' => [
- 'description' => '图片描述',
- 'type' => 'string',
- 'required' => false,
- 'example' => '瑕疵的商品图片!',
- ],
+ 'Picture' => ['description' => '图片地址', 'type' => 'string', 'required' => false, 'example' => 'https://lm-dk.oss-cn-hangzhou.aliyuncs.com/******06661.png'],
+ 'Desc' => ['description' => '图片描述', 'type' => 'string', 'required' => false, 'example' => '瑕疵的商品图片!'],
],
'required' => false,
],
@@ -11959,46 +5856,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '5F0A38D5-F981-529A-911E-1B6D55DE568C',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '5F0A38D5-F981-529A-911E-1B6D55DE568C'],
'RefundApplicationData' => [
'description' => '申请的返回数据',
'type' => 'object',
'properties' => [
- 'DisputeType' => [
- 'description' => '任意退款类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'SubLmOrderId' => [
- 'description' => '当前发起逆向的子订单号',
- 'type' => 'string',
- 'example' => '53******67',
- ],
- 'DisputeStatus' => [
- 'description' => '逆向状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DisputeId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'DisputeType' => ['description' => '任意退款类型', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'SubLmOrderId' => ['description' => '当前发起逆向的子订单号', 'type' => 'string', 'example' => '53******67'],
+ 'DisputeStatus' => ['description' => '逆向状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DisputeId' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -12031,13 +5899,8 @@
.' }',
],
'CancelRefund' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12053,83 +5916,42 @@
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******002',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******002'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '22******2303',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '22******2303'],
],
[
'name' => 'SubLmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => '⼦订单号,通过查询订单详情接⼝获取',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '52******93',
- ],
+ 'schema' => ['description' => '⼦订单号,通过查询订单详情接⼝获取', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '52******93'],
],
[
'name' => 'DisputeId',
'in' => 'query',
- 'schema' => [
- 'description' => '纠纷ID,通过查询订单逆向申请详情接⼝获取',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '14244******33071',
- ],
+ 'schema' => ['description' => '纠纷ID,通过查询订单逆向申请详情接⼝获取', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '14244******33071'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -12137,42 +5959,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B'],
'RefundApplicationData' => [
'description' => '申请的返回数据',
'type' => 'object',
'properties' => [
- 'DisputeType' => [
- 'description' => '逆向的状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'SubLmOrderId' => [
- 'description' => '当前发起逆向的子订单号',
- 'type' => 'string',
- 'example' => '37******31',
- ],
- 'DisputeStatus' => [
- 'description' => '任意退款类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'DisputeType' => ['description' => '逆向的状态', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'SubLmOrderId' => ['description' => '当前发起逆向的子订单号', 'type' => 'string', 'example' => '37******31'],
+ 'DisputeStatus' => ['description' => '任意退款类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -12194,13 +5990,8 @@
.' }',
],
'SubmitReturnGoodLogistics' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12216,105 +6007,52 @@
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20****80001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20****80001'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '250014030308185405',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '250014030308185405'],
],
[
'name' => 'LogisticsNo',
'in' => 'query',
- 'schema' => [
- 'description' => '物流单号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => ' SF131*****7061',
- ],
+ 'schema' => ['description' => '物流单号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => ' SF131*****7061'],
],
[
'name' => 'CpCode',
'in' => 'query',
- 'schema' => [
- 'description' => '物流公司代码',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'SF',
- ],
+ 'schema' => ['description' => '物流公司代码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'SF'],
],
[
'name' => 'SubLmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => '子订单号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '368925182',
- ],
+ 'schema' => ['description' => '子订单号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '368925182'],
],
[
'name' => 'DisputeId',
'in' => 'query',
- 'schema' => [
- 'description' => '纠纷ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '96281042016947370',
- ],
+ 'schema' => ['description' => '纠纷ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '96281042016947370'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -12322,21 +6060,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'C27A9456-5FC3-529D-9FDF-B21323E93B63',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => '成功'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'C27A9456-5FC3-529D-9FDF-B21323E93B63'],
],
],
],
@@ -12382,14 +6108,8 @@
.' }',
],
'QueryRefundApplicationDetail' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12406,72 +6126,38 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2******0002',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2******0002'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '12******89',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12******89'],
],
[
'name' => 'SubLmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => '发起逆向申请的订单号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '23******85',
- ],
+ 'schema' => ['description' => '发起逆向申请的订单号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '23******85'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -12479,182 +6165,57 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'DAAA6391-3339-5333-9E4D-C71CD26A231F',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'DAAA6391-3339-5333-9E4D-C71CD26A231F'],
'RefundApplicationDetail' => [
'description' => '初始化逆向申请参数',
'type' => 'object',
'properties' => [
- 'DisputeType' => [
- 'description' => '逆向发生的类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0: "任意退款类型"'."\n"
- .'1: "售中退款"'."\n"
- .'2: "售后退款"',
- ],
- 'LmOrderId' => [
- 'description' => '主订单号',
- 'type' => 'string',
- 'example' => '46******11',
- ],
- 'RefunderName' => [
- 'description' => '退货收货人,卖家同意退货后才会显示',
- 'type' => 'string',
- 'example' => '张三',
- ],
- 'SellerAgreeMsg' => [
- 'description' => '卖家同意退货说明,真实的退货地址会在这个字段进⾏返回',
- 'type' => 'string',
- 'example' => '同意退货',
- ],
- 'ReturnGoodLogisticsStatus' => [
- 'description' => '退货物流状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0: "未退货"'."\n"
- .'1: "等待揽收"'."\n"
- .'2: "快件已揽收"'."\n"
- .'3: "物流走件中"'."\n"
- .'4: "派送中"'."\n"
- .'5: "已签收"'."\n"
- .'6: "签收失败"',
- ],
- 'DisputeDesc' => [
- 'description' => '申请逆向描述',
- 'type' => 'string',
- 'example' => '尺码不符',
- ],
- 'RefunderAddress' => [
- 'description' => '商家退货地址,卖家同意退货后才会显示',
- 'type' => 'string',
- ],
- 'ReturnGoodCount' => [
- 'description' => '退货数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DisputeId' => [
- 'description' => '纠纷ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '141******33',
- ],
- 'DisputeEndTime' => [
- 'description' => '逆向结束时间',
- 'type' => 'string',
- 'example' => '2022-04-02 10:16:12',
- ],
- 'OrderLogisticsStatus' => [
- 'description' => ' 当前的订单的物流状态,1,标识未发货',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'BizClaimType' => [
- 'description' => '⽀持的订单退货⽅式,1, 标识仅退款,3,标识退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RealRefundFee' => [
- 'description' => '实际买家收到的⾦额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'RefundFee' => [
- 'description' => '退款⾦额(含退平台补贴的⾦额)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'SellerRefuseAgreementMessage' => [
- 'description' => '卖家拒绝的留⾔说明',
- 'type' => 'string',
- 'example' => '多拍不想要',
- ],
- 'DisputeCreateTime' => [
- 'description' => '逆向发起时间',
- 'type' => 'string',
- 'example' => '2022-04-02 10:16:10',
- ],
- 'RefunderTel' => [
- 'description' => '退货联系方式,卖家同意退货后才会显示',
- 'type' => 'string',
- 'example' => '158****1234',
- ],
- 'SellerRefuseReason' => [
- 'description' => '商家拒绝原因',
- 'type' => 'string',
- 'example' => '不满足退款条件',
- ],
- 'SubLmOrderId' => [
- 'description' => '当前发起逆向的⼦订单号',
- 'type' => 'string',
- 'example' => '44******62',
- ],
- 'ApplyDisputeDesc' => [
- 'description' => '当前买家申请退款说明',
- 'type' => 'string',
- 'example' => '多拍不想要',
- ],
- 'DisputeStatus' => [
- 'description' => '逆向退款的状态',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RefunderZipCode' => [
- 'description' => '退货地址邮编,卖家同意退货后才会显示',
- 'type' => 'string',
- ],
+ 'DisputeType' => ['description' => '逆向发生的类型', 'type' => 'integer', 'format' => 'int32', 'example' => '0: "任意退款类型"'."\n"
+ .'1: "售中退款"'."\n"
+ .'2: "售后退款"'],
+ 'LmOrderId' => ['description' => '主订单号', 'type' => 'string', 'example' => '46******11'],
+ 'RefunderName' => ['description' => '退货收货人,卖家同意退货后才会显示', 'type' => 'string', 'example' => '张三'],
+ 'SellerAgreeMsg' => ['description' => '卖家同意退货说明,真实的退货地址会在这个字段进⾏返回', 'type' => 'string', 'example' => '同意退货'],
+ 'ReturnGoodLogisticsStatus' => ['description' => '退货物流状态', 'type' => 'integer', 'format' => 'int32', 'example' => '0: "未退货"'."\n"
+ .'1: "等待揽收"'."\n"
+ .'2: "快件已揽收"'."\n"
+ .'3: "物流走件中"'."\n"
+ .'4: "派送中"'."\n"
+ .'5: "已签收"'."\n"
+ .'6: "签收失败"'],
+ 'DisputeDesc' => ['description' => '申请逆向描述', 'type' => 'string', 'example' => '尺码不符'],
+ 'RefunderAddress' => ['description' => '商家退货地址,卖家同意退货后才会显示', 'type' => 'string'],
+ 'ReturnGoodCount' => ['description' => '退货数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DisputeId' => ['description' => '纠纷ID', 'type' => 'integer', 'format' => 'int64', 'example' => '141******33'],
+ 'DisputeEndTime' => ['description' => '逆向结束时间', 'type' => 'string', 'example' => '2022-04-02 10:16:12'],
+ 'OrderLogisticsStatus' => ['description' => ' 当前的订单的物流状态,1,标识未发货', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'BizClaimType' => ['description' => '⽀持的订单退货⽅式,1, 标识仅退款,3,标识退货退款', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RealRefundFee' => ['description' => '实际买家收到的⾦额', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'RefundFee' => ['description' => '退款⾦额(含退平台补贴的⾦额)', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'SellerRefuseAgreementMessage' => ['description' => '卖家拒绝的留⾔说明', 'type' => 'string', 'example' => '多拍不想要'],
+ 'DisputeCreateTime' => ['description' => '逆向发起时间', 'type' => 'string', 'example' => '2022-04-02 10:16:10'],
+ 'RefunderTel' => ['description' => '退货联系方式,卖家同意退货后才会显示', 'type' => 'string', 'example' => '158****1234'],
+ 'SellerRefuseReason' => ['description' => '商家拒绝原因', 'type' => 'string', 'example' => '不满足退款条件'],
+ 'SubLmOrderId' => ['description' => '当前发起逆向的⼦订单号', 'type' => 'string', 'example' => '44******62'],
+ 'ApplyDisputeDesc' => ['description' => '当前买家申请退款说明', 'type' => 'string', 'example' => '多拍不想要'],
+ 'DisputeStatus' => ['description' => '逆向退款的状态', 'type' => 'integer', 'format' => 'int32'],
+ 'RefunderZipCode' => ['description' => '退货地址邮编,卖家同意退货后才会显示', 'type' => 'string'],
'MaxRefundFeeData' => [
'description' => '本单可退金额数据',
'type' => 'object',
'properties' => [
- 'MaxRefundFee' => [
- 'description' => '本单最大可退金额',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MinRefundFee' => [
- 'description' => '本单最小可退金额',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'MaxRefundFee' => ['description' => '本单最大可退金额', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'MinRefundFee' => ['description' => '本单最小可退金额', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
],
],
'ApplyReasonText' => [
'description' => '买家申请逆向的原因',
'type' => 'object',
'properties' => [
- 'ReasonTips' => [
- 'description' => '买家申请逆向的原因ID',
- 'type' => 'string',
- 'example' => '多拍不想要',
- ],
- 'ReasonTextId' => [
- 'description' => '买家申请逆向的原因文案',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100005',
- ],
+ 'ReasonTips' => ['description' => '买家申请逆向的原因ID', 'type' => 'string', 'example' => '多拍不想要'],
+ 'ReasonTextId' => ['description' => '买家申请逆向的原因文案', 'type' => 'integer', 'format' => 'int64', 'example' => '100005'],
],
],
],
@@ -12734,14 +6295,8 @@
.' 2: "售后退款"',
],
'InitApplyRefund' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12758,95 +6313,47 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '182******062',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '182******062'],
],
[
'name' => 'SubLmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => '发起退款的⼦订单号,可在查询订单详情接⼝中获取',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '51******13',
- ],
+ 'schema' => ['description' => '发起退款的⼦订单号,可在查询订单详情接⼝中获取', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '51******13'],
],
[
'name' => 'BizClaimType',
'in' => 'query',
- 'schema' => [
- 'description' => '退款类型:1 仅退款,3 退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '退款类型:1 仅退款,3 退货退款', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'GoodsStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '货物状态:4: 未发货, 6: 已发货, 1: 未收到货, 2: 已收到货, 3:已寄回, 5: 卖家确认收货',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '6',
- ],
+ 'schema' => ['description' => '货物状态:4: 未发货, 6: 已发货, 1: 未收到货, 2: 已收到货, 3:已寄回, 5: 卖家确认收货', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '6'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -12854,40 +6361,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubLmOrderId' => [
- 'description' => '发起退款的⼦订单号',
- 'type' => 'string',
- 'example' => '38******75',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'B7E4EF89-DBC3-5CD0-9993-02D8C13E7177',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubLmOrderId' => ['description' => '发起退款的⼦订单号', 'type' => 'string', 'example' => '38******75'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'B7E4EF89-DBC3-5CD0-9993-02D8C13E7177'],
'InitApplyRefundData' => [
'description' => '初始化的逆向申请参数',
'type' => 'object',
'properties' => [
- 'MainOrderRefund' => [
- 'description' => '是否是整单退',
- 'type' => 'boolean',
- ],
- 'BizClaimType' => [
- 'description' => '⽀持的订单退货⽅式,1, 标识仅退款,3,标识退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'MainOrderRefund' => ['description' => '是否是整单退', 'type' => 'boolean'],
+ 'BizClaimType' => ['description' => '⽀持的订单退货⽅式,1, 标识仅退款,3,标识退货退款', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RefundReasonList' => [
'type' => 'object',
'itemNode' => true,
@@ -12898,27 +6381,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ReasonTextId' => [
- 'description' => '退款信息id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '500003',
- ],
- 'ReasonTips' => [
- 'description' => '退款信息',
- 'type' => 'string',
- 'example' => '多拍不想要',
- ],
- 'ProofRequired' => [
- 'description' => '是否要求上传凭证',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'RefundDescRequired' => [
- 'description' => '是否要求留言',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ReasonTextId' => ['description' => '退款信息id', 'type' => 'integer', 'format' => 'int64', 'example' => '500003'],
+ 'ReasonTips' => ['description' => '退款信息', 'type' => 'string', 'example' => '多拍不想要'],
+ 'ProofRequired' => ['description' => '是否要求上传凭证', 'type' => 'boolean', 'example' => 'false'],
+ 'RefundDescRequired' => ['description' => '是否要求留言', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -12928,18 +6394,8 @@
'description' => '退款金额列表',
'type' => 'object',
'properties' => [
- 'MaxRefundFee' => [
- 'description' => '本单最大退款金额',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'MinRefundFee' => [
- 'description' => '本单最小退款金额',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'MaxRefundFee' => ['description' => '本单最大退款金额', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'MinRefundFee' => ['description' => '本单最小退款金额', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
],
@@ -12975,14 +6431,8 @@
.' }',
],
'QueryMessages' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12998,40 +6448,22 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务id',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2******001',
- ],
+ 'schema' => ['description' => '业务id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2******001'],
],
[
'name' => 'Topic',
'in' => 'query',
- 'schema' => [
- 'description' => '消息的 Topic',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Topic_******_api',
- ],
+ 'schema' => ['description' => '消息的 Topic', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Topic_******_api'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展内容',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '扩展内容', 'type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -13039,41 +6471,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8',
- ],
- 'Success' => [
- 'description' => '请求是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'Code' => [
- 'description' => '返回码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8'],
+ 'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '成功'],
+ 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'BizMessages' => [
'type' => 'object',
'itemNode' => true,
@@ -13084,24 +6488,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ContentMapJson' => [
- 'description' => '消息内容,map转成的jsonstring。',
- 'type' => 'string',
- ],
- 'PubTime' => [
- 'description' => '消息产生时间',
- 'type' => 'string',
- ],
- 'DataId' => [
- 'description' => '消息id,需要全局唯一,不可重复。',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Topic' => [
- 'description' => '消息的topic',
- 'type' => 'string',
- 'example' => 'Topic_******_api',
- ],
+ 'ContentMapJson' => ['description' => '消息内容,map转成的jsonstring。', 'type' => 'string'],
+ 'PubTime' => ['description' => '消息产生时间', 'type' => 'string'],
+ 'DataId' => ['description' => '消息id,需要全局唯一,不可重复。', 'type' => 'integer', 'format' => 'int64'],
+ 'Topic' => ['description' => '消息的topic', 'type' => 'string', 'example' => 'Topic_******_api'],
],
],
],
@@ -13116,13 +6506,8 @@
'summary' => '订购电影票业务使用。',
],
'RemoveMessages' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13138,41 +6523,22 @@
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2******001'],
],
[
'name' => 'MessageIds',
'in' => 'query',
- 'schema' => [
- 'description' => '消息id列表',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '212112212',
- ],
+ 'schema' => ['description' => '消息id列表', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '212112212'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '消息扩展字段。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '消息扩展字段。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -13180,60 +6546,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
- 'Success' => [
- 'description' => '调用是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'Code' => [
- 'description' => '返回码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
+ 'Success' => ['description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '成功'],
+ 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'ActionResult' => [
'description' => '删除结果',
'type' => 'object',
'properties' => [
- 'ReturnCode' => [
- 'description' => '返回码',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'ReturnValue' => [
- 'description' => '返回值',
- 'type' => 'string',
- 'example' => '[{\'uuid\': \'dim-a0bf795*******8e86d4d464dc3a\', \'code\': \'itm\', \'extendName\': \'item\', \'name\': u\'\\u5541\', \'description\': u\'\\u5546\\u4e49\'}]',
- ],
- 'ReturnMessage' => [
- 'description' => '返回消息',
- 'type' => 'string',
- 'example' => 'Success',
- ],
+ 'ReturnCode' => ['description' => '返回码', 'type' => 'string', 'example' => '0'],
+ 'ReturnValue' => ['description' => '返回值', 'type' => 'string', 'example' => '[{\'uuid\': \'dim-a0bf795*******8e86d4d464dc3a\', \'code\': \'itm\', \'extendName\': \'item\', \'name\': u\'\\u5541\', \'description\': u\'\\u5546\\u4e49\'}]'],
+ 'ReturnMessage' => ['description' => '返回消息', 'type' => 'string', 'example' => 'Success'],
],
],
],
@@ -13245,14 +6571,8 @@
'summary' => '删除消息。',
],
'DeleteItemLimitRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13260,72 +6580,37 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2021083****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2021083****'],
],
[
'name' => 'SubBizCode',
'in' => 'query',
- 'schema' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '7ddaba53d5be4173808f2335eac0****',
- ],
+ 'schema' => ['description' => '子业务号', 'type' => 'string', 'required' => false, 'example' => '7ddaba53d5be4173808f2335eac0****'],
],
[
'name' => 'LmActivityId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '679',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '679'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000035-6193664*****',
- ],
+ 'schema' => ['description' => 'lm侧商品id', 'type' => 'string', 'required' => false, 'example' => '10000035-6193664*****'],
],
[
'name' => 'ItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '57835029****',
- ],
+ 'schema' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '57835029****'],
],
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '规则id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -13334,26 +6619,10 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Model' => [
- 'description' => '返回结果',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The specified parameter %s value is not valid.',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Model' => ['description' => '返回结果', 'type' => 'boolean', 'example' => 'true'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****'],
],
],
],
@@ -13365,13 +6634,8 @@
.'删除项目限制规则',
],
'ModifyBasicAndBizItems' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13379,31 +6643,18 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2***100001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2***100001'],
],
[
'name' => 'SubBizId',
'in' => 'query',
- 'schema' => [
- 'description' => '子渠道ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f4279b7cbdfc46d4b7566****',
- ],
+ 'schema' => ['description' => '子渠道ID', 'type' => 'string', 'required' => false, 'example' => 'f4279b7cbdfc46d4b7566****'],
],
[
'name' => 'ItemList',
@@ -13416,19 +6667,8 @@
'description' => '商品列表',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'Lm侧商品ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000035-61936646****',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '65671280****',
- ],
+ 'LmItemId' => ['description' => 'Lm侧商品ID', 'type' => 'string', 'required' => false, 'example' => '10000035-61936646****'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '65671280****'],
'SkuList' => [
'description' => '商品sku列表',
'type' => 'array',
@@ -13436,61 +6676,14 @@
'description' => '商品sku列表',
'type' => 'object',
'properties' => [
- 'StatusAction' => [
- 'description' => '该sku状态',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
- 'PriceCent' => [
- 'description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2790',
- ],
- 'SupplierPrice' => [
- 'description' => '供货价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2790',
- ],
- 'SkuId' => [
- 'description' => '商品的SkuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '472461998****',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1999',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'BenefitId' => [
- 'description' => '商品权益ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021090800502200000086****',
- ],
- 'Quantity' => [
- 'description' => 'sku库存',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2000',
- ],
+ 'StatusAction' => ['description' => '该sku状态', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ 'PriceCent' => ['description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2790'],
+ 'SupplierPrice' => ['description' => '供货价', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2790'],
+ 'SkuId' => ['description' => '商品的SkuId', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '472461998****'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1999'],
+ 'PointsAmount' => ['description' => '积分抵扣价格', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'BenefitId' => ['description' => '商品权益ID', 'type' => 'string', 'required' => false, 'example' => '2021090800502200000086****'],
+ 'Quantity' => ['description' => 'sku库存', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2000'],
],
'required' => false,
],
@@ -13511,21 +6704,9 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The specified parameter %s value is not valid.',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'F957A835-87CE-5E5F-B0A9-A66B081E****',
- ],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'F957A835-87CE-5E5F-B0A9-A66B081E****'],
'FailedItemList' => [
'type' => 'object',
'itemNode' => true,
@@ -13538,17 +6719,8 @@
."\n",
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10000102-65305223****',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65305223****',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10000102-65305223****'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '65305223****'],
'SkuIdList' => [
'type' => 'object',
'itemNode' => true,
@@ -13556,11 +6728,7 @@
'Sku' => [
'description' => '商品skuId列表',
'type' => 'array',
- 'items' => [
- 'description' => 'skuId',
- 'type' => 'string',
- 'example' => '[4213879388301]',
- ],
+ 'items' => ['description' => 'skuId', 'type' => 'string', 'example' => '[4213879388301]'],
],
],
],
@@ -13579,13 +6747,8 @@
'description' => '修改基础和业务项目信息',
],
'GetCustomServiceUrl' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13602,95 +6765,48 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210315****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210315****'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '220077837****',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '220077837****'],
],
[
'name' => 'SellerId',
'in' => 'query',
- 'schema' => [
- 'description' => '卖家ID,如果不传对接的是⼩蜜机器⼈;传sellerId后,可以直接对接商家客服',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '220680193****',
- ],
+ 'schema' => ['description' => '卖家ID,如果不传对接的是⼩蜜机器⼈;传sellerId后,可以直接对接商家客服', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '220680193****'],
],
[
'name' => 'Cuid',
'in' => 'query',
- 'schema' => [
- 'description' => '客户⽅终端⽤户ID,⽤户的身份标识,不传时当做匿名⽤户',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '5512876',
- ],
+ 'schema' => ['description' => '客户⽅终端⽤户ID,⽤户的身份标识,不传时当做匿名⽤户', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '5512876'],
],
[
'name' => 'Nick',
'in' => 'query',
- 'schema' => [
- 'description' => '⼩蜜界⾯上显示的⽤户昵称,可不传,默认⽣成⼀串ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '123213***1212',
- ],
+ 'schema' => ['description' => '⼩蜜界⾯上显示的⽤户昵称,可不传,默认⽣成⼀串ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '123213***1212'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户唯一标识',
- 'type' => 'string',
- 'required' => false,
- 'example' => '220077837****'."\n",
- ],
+ 'schema' => ['description' => '客户侧用户唯一标识', 'type' => 'string', 'required' => false, 'example' => '220077837****'."\n"],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -13699,30 +6815,14 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED****',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED****'],
'UrlData' => [
'description' => '地址数据',
'type' => 'object',
'properties' => [
- 'ReturnUrl' => [
- 'description' => '客服地址',
- 'type' => 'string',
- 'example' => '客服地址(天猫超市返回的是座机号)',
- ],
+ 'ReturnUrl' => ['description' => '客服地址', 'type' => 'string', 'example' => '客服地址(天猫超市返回的是座机号)'],
],
],
],
@@ -13749,13 +6849,8 @@
.' }',
],
'GetGuidePage' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13772,21 +6867,13 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2***100001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2***100001'],
],
],
'responses' => [
@@ -13794,21 +6881,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'BA157565-3358-5D80-9330-************',
- ],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'BA157565-3358-5D80-9330-************'],
'MiniShopInfo' => [
'description' => '返回结果列表',
'type' => 'array',
@@ -13817,25 +6892,11 @@
."\n",
'type' => 'object',
'properties' => [
- 'LiteShopId' => [
- 'description' => '店铺id',
- 'type' => 'string',
- 'example' => '10000001',
- ],
- 'Src' => [
- 'type' => 'string',
- ],
- 'BizId' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'LMALL20211012****',
- ],
- 'Name' => [
- 'description' => '店铺名称',
- 'type' => 'string',
- 'example' => '店铺名称',
- ],
+ 'LiteShopId' => ['description' => '店铺id', 'type' => 'string', 'example' => '10000001'],
+ 'Src' => ['type' => 'string'],
+ 'BizId' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'example' => 'LMALL20211012****'],
+ 'Name' => ['description' => '店铺名称', 'type' => 'string', 'example' => '店铺名称'],
],
],
],
@@ -13849,13 +6910,8 @@
'description' => '获取导航页',
],
'GetLoginPage' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13872,60 +6928,32 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210830****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210830****'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户唯一标识',
- 'type' => 'string',
- 'required' => false,
- 'example' => '287381784****',
- ],
+ 'schema' => ['description' => '客户侧用户唯一标识', 'type' => 'string', 'required' => false, 'example' => '287381784****'],
],
[
'name' => 'TargetUrl',
'in' => 'formData',
- 'schema' => [
- 'description' => '登录成功后的跳转地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://********',
- ],
+ 'schema' => ['description' => '登录成功后的跳转地址', 'type' => 'string', 'required' => false, 'example' => 'https://********'],
],
[
'name' => 'FailUrl',
'in' => 'formData',
- 'schema' => [
- 'description' => '登录失败后的跳转地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://********',
- ],
+ 'schema' => ['description' => '登录失败后的跳转地址', 'type' => 'string', 'required' => false, 'example' => 'https://********'],
],
],
'responses' => [
@@ -13934,30 +6962,14 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '1267088B-4695-50DC-97B9-9E4F89D1****',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '1267088B-4695-50DC-97B9-9E4F89D1****'],
'UrlData' => [
'description' => '跳转链接',
'type' => 'object',
'properties' => [
- 'ReturnUrl' => [
- 'description' => '跳转链接',
- 'type' => 'string',
- 'example' => 'https://**********',
- ],
+ 'ReturnUrl' => ['description' => '跳转链接', 'type' => 'string', 'example' => 'https://**********'],
],
],
],
@@ -13970,13 +6982,8 @@
'description' => '如果客户使⽤的是淘宝的账号体系,在客户⾃⼰的系统⾥可以直接使⽤淘宝的登录⻚⾯进⾏登录。',
],
'GetSwitchUrl' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13990,60 +6997,32 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20211119****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20211119****'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '221249435****',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '221249435****'],
],
[
'name' => 'Url',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '221249435****'."\n",
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false, 'example' => '221249435****'."\n"],
],
],
'responses' => [
@@ -14052,26 +7031,10 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Url' => [
- 'description' => '获取的链接',
- 'type' => 'string',
- 'example' => 'https://*****************',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'DAAA6391-3339-5333-9E4D-C71CD26A****',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Url' => ['description' => '获取的链接', 'type' => 'string', 'example' => 'https://*****************'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'DAAA6391-3339-5333-9E4D-C71CD26A****'],
],
],
],
@@ -14082,13 +7045,8 @@
'description' => '获取登录态转换链接',
],
'GetUserInfo' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14102,52 +7060,27 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'UserFlag',
'in' => 'query',
- 'schema' => [
- 'description' => '用户标识',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '用户标识', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'AppName',
'in' => 'query',
- 'schema' => [
- 'description' => 'app名称',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'alipay',
- ],
+ 'schema' => ['description' => 'app名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'alipay'],
],
[
'name' => 'QueryJson',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询条件',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -14155,64 +7088,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '9054694D-E3AF-5A07-9647-0537026A45E1',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9054694D-E3AF-5A07-9647-0537026A45E1'],
'LoginResult' => [
'description' => '查询结果',
'type' => 'object',
'properties' => [
- 'ReturnUrl' => [
- 'description' => '返回url',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'BizUserName' => [
- 'description' => '业务用户名称',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'BizUid' => [
- 'description' => '业务用户ID',
- 'type' => 'string',
- 'example' => '18******60',
- ],
- 'BizId' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'example' => 'LMALL20******001',
- ],
- 'LmUserId' => [
- 'description' => 'linkedmall侧用户ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10******3',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'ReturnUrl' => ['description' => '返回url', 'type' => 'string', 'example' => '""'],
+ 'BizUserName' => ['description' => '业务用户名称', 'type' => 'string', 'example' => '""'],
+ 'BizUid' => ['description' => '业务用户ID', 'type' => 'string', 'example' => '18******60'],
+ 'BizId' => ['description' => '业务ID', 'type' => 'string', 'example' => 'LMALL20******001'],
+ 'LmUserId' => ['description' => 'linkedmall侧用户ID', 'type' => 'integer', 'format' => 'int64', 'example' => '10******3'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'object', 'example' => '{}'],
'SubBizId' => [
'description' => '子业务ID',
'type' => 'array',
- 'items' => [
- 'description' => '子业务ID',
- 'type' => 'string',
- 'example' => 'c6ff94******f9ab468e4a29a0c',
- ],
+ 'items' => ['description' => '子业务ID', 'type' => 'string', 'example' => 'c6ff94******f9ab468e4a29a0c'],
],
],
],
@@ -14225,14 +7117,8 @@
'summary' => '获取用户信息。',
],
'QueryAgreement' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14246,41 +7132,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ExternalAgreementNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '外部协议号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '外部协议号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'MerchantId',
'in' => 'formData',
- 'schema' => [
- 'description' => '商户ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '商户ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'AgreementNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '协议号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20******8006',
- ],
+ 'schema' => ['description' => '协议号', 'type' => 'string', 'required' => false, 'example' => '20******8006'],
],
],
'responses' => [
@@ -14288,55 +7155,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DAAA6391-3339-5333-9E4D-C71CD26A231F',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DAAA6391-3339-5333-9E4D-C71CD26A231F'],
'QueryAgreementResponse' => [
'description' => '查询结果',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExternalAgreementNo' => [
- 'description' => '外部协议号',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ValidTime' => [
- 'description' => '生效时间',
- 'type' => 'string',
- 'example' => '2021-08-01 00:00:00'."\n",
- ],
- 'InvalidTime' => [
- 'description' => '过期时间',
- 'type' => 'string',
- 'example' => '2022-08-01 00:00:00'."\n",
- ],
- 'AgreementNo' => [
- 'description' => '协议号',
- 'type' => 'string',
- 'example' => '20******8006'."\n",
- ],
- 'SignTime' => [
- 'description' => '签约时间',
- 'type' => 'string',
- 'example' => '2021-08-01 00:00:00'."\n",
- ],
+ 'Status' => ['description' => '状态', 'type' => 'string', 'example' => '""'],
+ 'ExternalAgreementNo' => ['description' => '外部协议号', 'type' => 'string', 'example' => '""'],
+ 'ValidTime' => ['description' => '生效时间', 'type' => 'string', 'example' => '2021-08-01 00:00:00'."\n"],
+ 'InvalidTime' => ['description' => '过期时间', 'type' => 'string', 'example' => '2022-08-01 00:00:00'."\n"],
+ 'AgreementNo' => ['description' => '协议号', 'type' => 'string', 'example' => '20******8006'."\n"],
+ 'SignTime' => ['description' => '签约时间', 'type' => 'string', 'example' => '2021-08-01 00:00:00'."\n"],
],
],
],
@@ -14348,14 +7179,8 @@
'summary' => '合作伙伴使用,查看客户的代扣协议。',
],
'QueryAllCities' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14371,31 +7196,18 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'ExtJson',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -14403,41 +7215,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8',
- ],
- 'Success' => [
- 'description' => '请求是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8'],
+ 'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '1004'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '1004'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'Cities' => [
'type' => 'object',
'itemNode' => true,
@@ -14450,34 +7234,11 @@
.'城市列表',
'type' => 'object',
'properties' => [
- 'CityCode' => [
- 'description' => '城市编码',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '110100',
- ],
- 'ParentId' => [
- 'description' => '父类层级ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '110000',
- ],
- 'Name' => [
- 'description' => '城市名称',
- 'type' => 'string',
- 'example' => '北京市',
- ],
- 'PinYin' => [
- 'description' => '城市拼音',
- 'type' => 'string',
- 'example' => 'beijing',
- ],
- 'Id' => [
- 'description' => '所属实例id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '424',
- ],
+ 'CityCode' => ['description' => '城市编码', 'type' => 'integer', 'format' => 'int64', 'example' => '110100'],
+ 'ParentId' => ['description' => '父类层级ID', 'type' => 'integer', 'format' => 'int64', 'example' => '110000'],
+ 'Name' => ['description' => '城市名称', 'type' => 'string', 'example' => '北京市'],
+ 'PinYin' => ['description' => '城市拼音', 'type' => 'string', 'example' => 'beijing'],
+ 'Id' => ['description' => '所属实例id', 'type' => 'integer', 'format' => 'int64', 'example' => '424'],
],
],
],
@@ -14492,14 +7253,8 @@
'summary' => '查询所有的城市列表。',
],
'QueryBestSession4Items' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14507,42 +7262,24 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20211118****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20211118****'],
],
[
'name' => 'LmItemIds',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'lm侧商品ID列表',
- 'type' => 'object',
- 'required' => false,
- 'example' => '[\\"10000791-65975997****\\"]',
- ],
+ 'schema' => ['description' => 'lm侧商品ID列表', 'type' => 'object', 'required' => false, 'example' => '[\\"10000791-65975997****\\"]'],
],
[
'name' => 'ItemIds',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => '商品ID列表',
- 'type' => 'object',
- 'required' => false,
- 'example' => '[63928655****,65314637****,65771454****]',
- ],
+ 'schema' => ['description' => '商品ID列表', 'type' => 'object', 'required' => false, 'example' => '[63928655****,65314637****,65771454****]'],
],
],
'responses' => [
@@ -14551,21 +7288,9 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'DA2554FD-F21F-536F-A7B7-B96C3E5F****',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'DA2554FD-F21F-536F-A7B7-B96C3E5F****'],
'LmItemActivitySessionModelList' => [
'type' => 'object',
'itemNode' => true,
@@ -14577,74 +7302,23 @@
'description' => '返回活动场次列表',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '10000102-65875550****',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '66440412****',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '10000102-65875550****'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '66440412****'],
'LmActivitySessionModel' => [
'description' => '活动场次列表',
'type' => 'object',
'properties' => [
- 'SubBizCode' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'example' => 'cf5eddd467ca4d4a8105378a3ea****',
- ],
- 'EndDate' => [
- 'description' => '活动结束时间',
- 'type' => 'string',
- 'example' => '2022-03-09 18:59:59',
- ],
- 'DisplayDate' => [
- 'description' => '场次展示时间',
- 'type' => 'string',
- 'example' => '2022-03-09 18:59:59'."\n",
- ],
- 'LmSessionId' => [
- 'description' => '场次ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '679',
- ],
- 'Description' => [
- 'description' => '场次详情',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'StartDate' => [
- 'description' => '场次开始时间',
- 'type' => 'string',
- 'example' => '2021-12-25 09:07:00',
- ],
- 'LmActivityId' => [
- 'description' => '活动ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '679',
- ],
- 'BizId' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'LMALL20190325****',
- ],
- 'Name' => [
- 'description' => '场次名称',
- 'type' => 'string',
- 'example' => '"场次名称"',
- ],
- 'ExtInfo' => [
- 'description' => '拓展信息',
- 'type' => 'object',
- 'example' => '{"key":"value"}',
- ],
+ 'SubBizCode' => ['description' => '子业务号', 'type' => 'string', 'example' => 'cf5eddd467ca4d4a8105378a3ea****'],
+ 'EndDate' => ['description' => '活动结束时间', 'type' => 'string', 'example' => '2022-03-09 18:59:59'],
+ 'DisplayDate' => ['description' => '场次展示时间', 'type' => 'string', 'example' => '2022-03-09 18:59:59'."\n"],
+ 'LmSessionId' => ['description' => '场次ID', 'type' => 'integer', 'format' => 'int64', 'example' => '679'],
+ 'Description' => ['description' => '场次详情', 'type' => 'string', 'example' => '""'],
+ 'StartDate' => ['description' => '场次开始时间', 'type' => 'string', 'example' => '2021-12-25 09:07:00'],
+ 'LmActivityId' => ['description' => '活动ID', 'type' => 'integer', 'format' => 'int64', 'example' => '679'],
+ 'BizId' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'example' => 'LMALL20190325****'],
+ 'Name' => ['description' => '场次名称', 'type' => 'string', 'example' => '"场次名称"'],
+ 'ExtInfo' => ['description' => '拓展信息', 'type' => 'object', 'example' => '{"key":"value"}'],
],
],
],
@@ -14662,14 +7336,8 @@
'description' => '根据商品查询最优场次信息'."\n",
],
'QueryStatements' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14683,134 +7351,67 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'TenantId',
'in' => 'query',
- 'schema' => [
- 'description' => '租户ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '18******263',
- ],
+ 'schema' => ['description' => '租户ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '18******263'],
],
[
'name' => 'PayeeIds',
'in' => 'query',
- 'schema' => [
- 'description' => '收款人ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '收款人ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'SettleNoes',
'in' => 'query',
- 'schema' => [
- 'description' => '结算单号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '结算单号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2021-08-01 00:00:00',
- ],
+ 'schema' => ['description' => '开始时间', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2021-08-01 00:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-09-01 00:00:00',
- ],
+ 'schema' => ['description' => '结束时间', 'type' => 'string', 'required' => false, 'example' => '2021-09-01 00:00:00'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页显示的条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页显示的条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页码,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'SettleStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '结算状态',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '结算状态', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'SettleType',
'in' => 'query',
- 'schema' => [
- 'description' => '结算类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '结算类型', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'ExtInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20******001'],
],
[
'name' => 'Currency',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -14818,69 +7419,21 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '85729953-3123-5565-B3CA-493CCF25457B',
- ],
- 'Success' => [
- 'description' => '调用是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '205',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '85729953-3123-5565-B3CA-493CCF25457B'],
+ 'Success' => ['description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '""'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '205'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '每页显示的条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '19',
- ],
+ 'PageSize' => ['description' => '每页显示的条数', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'PageNumber' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '19'],
'StatementList' => [
'description' => '结算单列表',
'type' => 'array',
@@ -14888,87 +7441,24 @@
'description' => '结算单列表',
'type' => 'object',
'properties' => [
- 'PayeeAccountName' => [
- 'description' => '收款账号名称',
- 'type' => 'string',
- ],
- 'PayeeId' => [
- 'description' => '收款人ID',
- 'type' => 'string',
- ],
- 'PayeeAccountNo' => [
- 'description' => '收款人账号',
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'description' => '创建时间',
- 'type' => 'string',
- 'example' => '2021-08-01 00:00:00',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'EndTime' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2021-09-01 00:00:00'."\n",
- ],
- 'StartTime' => [
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2021-08-01 00:00:00'."\n",
- ],
- 'SettleNo' => [
- 'description' => '结算单号',
- 'type' => 'string',
- 'example' => 'TEST000000',
- ],
- 'Attributes' => [
- 'type' => 'string',
- ],
- 'SettleStatus' => [
- 'description' => '结算状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PayeeName' => [
- 'description' => '收款人姓名',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'SettleAmount' => [
- 'description' => '结算金额',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'PayeeAccountId' => [
- 'description' => '收款账号ID',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ModifiedDate' => [
- 'description' => '修改时间',
- 'type' => 'string',
- 'example' => '2021-09-01 00:00:00'."\n",
- ],
- 'StatusMessage' => [
- 'description' => '状态消息',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'TenantId' => [
- 'description' => '租户ID',
- 'type' => 'string',
- 'example' => '18******263'."\n",
- ],
- 'KpNoGenerateTime' => [
- 'type' => 'string',
- ],
- 'Currency' => [
- 'type' => 'string',
- ],
+ 'PayeeAccountName' => ['description' => '收款账号名称', 'type' => 'string'],
+ 'PayeeId' => ['description' => '收款人ID', 'type' => 'string'],
+ 'PayeeAccountNo' => ['description' => '收款人账号', 'type' => 'string'],
+ 'CreateDate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2021-08-01 00:00:00'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'string', 'example' => '{}'],
+ 'EndTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2021-09-01 00:00:00'."\n"],
+ 'StartTime' => ['description' => '开始时间', 'type' => 'string', 'example' => '2021-08-01 00:00:00'."\n"],
+ 'SettleNo' => ['description' => '结算单号', 'type' => 'string', 'example' => 'TEST000000'],
+ 'Attributes' => ['type' => 'string'],
+ 'SettleStatus' => ['description' => '结算状态', 'type' => 'string', 'example' => '""'],
+ 'PayeeName' => ['description' => '收款人姓名', 'type' => 'string', 'example' => '""'],
+ 'SettleAmount' => ['description' => '结算金额', 'type' => 'string', 'example' => '10'],
+ 'PayeeAccountId' => ['description' => '收款账号ID', 'type' => 'string', 'example' => '""'],
+ 'ModifiedDate' => ['description' => '修改时间', 'type' => 'string', 'example' => '2021-09-01 00:00:00'."\n"],
+ 'StatusMessage' => ['description' => '状态消息', 'type' => 'string', 'example' => '""'],
+ 'TenantId' => ['description' => '租户ID', 'type' => 'string', 'example' => '18******263'."\n"],
+ 'KpNoGenerateTime' => ['type' => 'string'],
+ 'Currency' => ['type' => 'string'],
],
],
],
@@ -14980,14 +7470,8 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"85729953-3123-5565-B3CA-493CCF25457B\\",\\n \\"Success\\": true,\\n \\"SubMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"SubCode\\": \\"205\\",\\n \\"TotalCount\\": 19,\\n \\"LogsId\\": \\"1\\",\\n \\"Model\\": {\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"StatementList\\": [\\n {\\n \\"PayeeAccountName\\": \\"\\",\\n \\"PayeeId\\": \\"\\",\\n \\"PayeeAccountNo\\": \\"\\",\\n \\"CreateDate\\": \\"2021-08-01 00:00:00\\",\\n \\"ExtInfo\\": \\"{}\\",\\n \\"EndTime\\": \\"2021-09-01 00:00:00\\\\n\\",\\n \\"StartTime\\": \\"2021-08-01 00:00:00\\\\n\\",\\n \\"SettleNo\\": \\"TEST000000\\",\\n \\"Attributes\\": \\"\\",\\n \\"SettleStatus\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PayeeName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SettleAmount\\": \\"10\\",\\n \\"PayeeAccountId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ModifiedDate\\": \\"2021-09-01 00:00:00\\\\n\\",\\n \\"StatusMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"TenantId\\": \\"18******263\\\\n\\",\\n \\"KpNoGenerateTime\\": \\"\\",\\n \\"Currency\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
@@ -14995,14 +7479,8 @@
'summary' => '查询语句。',
],
'QueryUnfinishedSessions' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15010,58 +7488,27 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210802****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210802****'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页码,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1', 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每⻚多少条记录,最⼤20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '20',
- 'minimum' => '1',
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每⻚多少条记录,最⼤20条', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '20', 'minimum' => '1', 'example' => '20'],
],
[
'name' => 'QueryTime',
'in' => 'query',
- 'schema' => [
- 'description' => '查询时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1637294220',
- ],
+ 'schema' => ['description' => '查询时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1637294220'],
],
],
'responses' => [
@@ -15069,39 +7516,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'BA157565-3358-5D80-9330-************',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageNumber' => [
- 'description' => '当前页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页多少条记录,最大为20条',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'BA157565-3358-5D80-9330-************'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageNumber' => ['description' => '当前页码,从1开始', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '每页多少条记录,最大为20条', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'LmActivitySessionModelList' => [
'type' => 'object',
'itemNode' => true,
@@ -15114,53 +7534,16 @@
."\n",
'type' => 'object',
'properties' => [
- 'SubBizCode' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'example' => '04fe37ad2d7c42a3b215ff3a5a9*****',
- ],
- 'DisplayDate' => [
- 'description' => '场次展示时间',
- 'type' => 'string',
- 'example' => '2017-11-30 23:59:59'."\n",
- ],
- 'EndDate' => [
- 'description' => '场次结束时间',
- 'type' => 'string',
- 'example' => '2017-11-30 23:59:59',
- ],
- 'Description' => [
- 'description' => '场次描述',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'LmSessionId' => [
- 'description' => '场次id',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'BizId' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'LMALL20211013****',
- ],
- 'LmActivityId' => [
- 'description' => '活动id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '679',
- ],
- 'StartDate' => [
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2021-05-01 00:00:00',
- ],
- 'Name' => [
- 'description' => '场次名称',
- 'type' => 'string',
- 'example' => '活动名称',
- ],
+ 'SubBizCode' => ['description' => '子业务号', 'type' => 'string', 'example' => '04fe37ad2d7c42a3b215ff3a5a9*****'],
+ 'DisplayDate' => ['description' => '场次展示时间', 'type' => 'string', 'example' => '2017-11-30 23:59:59'."\n"],
+ 'EndDate' => ['description' => '场次结束时间', 'type' => 'string', 'example' => '2017-11-30 23:59:59'],
+ 'Description' => ['description' => '场次描述', 'type' => 'string', 'example' => '""'],
+ 'LmSessionId' => ['description' => '场次id', 'type' => 'integer', 'format' => 'int64'],
+ 'BizId' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'example' => 'LMALL20211013****'],
+ 'LmActivityId' => ['description' => '活动id', 'type' => 'integer', 'format' => 'int64', 'example' => '679'],
+ 'StartDate' => ['description' => '开始时间', 'type' => 'string', 'example' => '2021-05-01 00:00:00'],
+ 'Name' => ['description' => '场次名称', 'type' => 'string', 'example' => '活动名称'],
],
],
],
@@ -15176,14 +7559,8 @@
'description' => '查询当前所有未结束的场次'."\n",
],
'QueryWithholdTrade' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15197,42 +7574,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'TradeNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '交易流水号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '交易流水号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'OutTradeNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '外部交易流水号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '外部交易流水号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'MerchantId',
'in' => 'formData',
- 'schema' => [
- 'description' => '商户ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '64******721',
- ],
+ 'schema' => ['description' => '商户ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '64******721'],
],
],
'responses' => [
@@ -15240,54 +7597,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '0825B1A4-0870-50BD-8AA3-9618587BEBC2',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '0825B1A4-0870-50BD-8AA3-9618587BEBC2'],
'QueryWithholdTradeResponse' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'SettleStatus' => [
- 'description' => '结算状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'TradeStatus' => [
- 'description' => '交易状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'TotalAmount' => [
- 'description' => '总金额',
- 'type' => 'string',
- 'example' => '1000',
- ],
- 'TradeNo' => [
- 'description' => '交易流水号',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PaymentDate' => [
- 'description' => '支付日期',
- 'type' => 'string',
- ],
- 'OutTradeNo' => [
- 'description' => '外部交易流水号',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'SettleStatus' => ['description' => '结算状态', 'type' => 'string', 'example' => '""'],
+ 'TradeStatus' => ['description' => '交易状态', 'type' => 'string', 'example' => '""'],
+ 'TotalAmount' => ['description' => '总金额', 'type' => 'string', 'example' => '1000'],
+ 'TradeNo' => ['description' => '交易流水号', 'type' => 'string', 'example' => '""'],
+ 'PaymentDate' => ['description' => '支付日期', 'type' => 'string'],
+ 'OutTradeNo' => ['description' => '外部交易流水号', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -15299,14 +7621,8 @@
'summary' => '查询代扣交易单详情。',
],
'ExecuteNode' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15320,74 +7636,37 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'ProcessInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '进度实例ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '进度实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'ProcessId',
'in' => 'query',
- 'schema' => [
- 'description' => '进度ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '进度ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'NodeInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '节点实例ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '节点实例ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'NodeId',
'in' => 'query',
- 'schema' => [
- 'description' => '节点ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '节点ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'RequestData',
'in' => 'query',
- 'schema' => [
- 'description' => '请求数据',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '请求数据', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20******001'],
],
],
'responses' => [
@@ -15395,60 +7674,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0',
- ],
- 'Success' => [
- 'description' => '请求是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '205',
- ],
- 'TotalCount' => [
- 'description' => '总记录数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0'],
+ 'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '1004'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '205'],
+ 'TotalCount' => ['description' => '总记录数', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'ResponseData' => [
- 'description' => '响应数据',
- 'type' => 'object',
- ],
- 'ProcessInstanceId' => [
- 'description' => '进度实例ID',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'ResponseData' => ['description' => '响应数据', 'type' => 'object'],
+ 'ProcessInstanceId' => ['description' => '进度实例ID', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -15457,14 +7696,8 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0\\",\\n \\"Success\\": true,\\n \\"SubMessage\\": \\"1004\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"SubCode\\": \\"205\\",\\n \\"TotalCount\\": 19,\\n \\"LogsId\\": \\"1\\",\\n \\"Model\\": {\\n \\"ResponseData\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"ProcessInstanceId\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n}","type":"json"}]',
@@ -15472,14 +7705,8 @@
'summary' => '执行节点。',
],
'RefundPoint' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15495,70 +7722,37 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20191223****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20191223****'],
],
[
'name' => 'SellerId',
'in' => 'query',
- 'schema' => [
- 'description' => '卖家ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10718491****',
- ],
+ 'schema' => ['description' => '卖家ID', 'type' => 'string', 'required' => false, 'example' => '10718491****'],
],
[
'name' => 'LmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '44453****',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'string', 'required' => false, 'example' => '44453****'],
],
[
'name' => 'Reason',
'in' => 'query',
- 'schema' => [
- 'description' => '退积分原因',
- 'type' => 'string',
- 'required' => false,
- 'example' => '小额打款-退积分',
- ],
+ 'schema' => ['description' => '退积分原因', 'type' => 'string', 'required' => false, 'example' => '小额打款-退积分'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'susan*****',
- ],
+ 'schema' => ['description' => '客户侧ID', 'type' => 'string', 'required' => false, 'example' => 'susan*****'],
],
],
'responses' => [
@@ -15566,21 +7760,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537****',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537****'],
],
],
],
@@ -15591,13 +7773,8 @@
'description' => '积分退还接口',
],
'RefuseMerchantSyncTask' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15614,53 +7791,28 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20190325****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20190325****'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1***1',
- ],
+ 'schema' => ['description' => '任务ID', 'type' => 'string', 'required' => false, 'example' => '1***1'],
],
[
'name' => 'SellerNick',
'in' => 'query',
- 'schema' => [
- 'description' => '卖家nick',
- 'type' => 'string',
- 'required' => false,
- 'example' => '宣儒商贸公司',
- 'default' => '',
- ],
+ 'schema' => ['description' => '卖家nick', 'type' => 'string', 'required' => false, 'example' => '宣儒商贸公司', 'default' => ''],
],
[
'name' => 'TimeStamp',
'in' => 'query',
- 'schema' => [
- 'description' => '时间戳。单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1641708010',
- ],
+ 'schema' => ['description' => '时间戳。单位秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1641708010'],
],
],
'responses' => [
@@ -15669,21 +7821,9 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The specified parameter lmItemId or itemId value is not valid.',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'F2D3CA1E-28BE-5E1C-B55F-81C8F290****',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The specified parameter lmItemId or itemId value is not valid.'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'F2D3CA1E-28BE-5E1C-B55F-81C8F290****'],
],
],
],
@@ -15694,13 +7834,8 @@
'description' => '拒绝同步任务',
],
'SyncMerchantInfo' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15717,61 +7852,32 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******002',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******002'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1****3',
- ],
+ 'schema' => ['description' => '任务ID', 'type' => 'string', 'required' => false, 'example' => '1****3'],
],
[
'name' => 'SellerNick',
'in' => 'query',
- 'schema' => [
- 'description' => '卖家昵称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '**食品专营店',
- 'default' => '',
- ],
+ 'schema' => ['description' => '卖家昵称', 'type' => 'string', 'required' => false, 'example' => '**食品专营店', 'default' => ''],
],
[
'name' => 'ItemList',
'in' => 'formData',
- 'schema' => [
- 'description' => '商品列表',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '商品列表', 'type' => 'string', 'required' => false],
],
[
'name' => 'TimeStamp',
'in' => 'query',
- 'schema' => [
- 'description' => '时间戳',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1639540484044',
- ],
+ 'schema' => ['description' => '时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1639540484044'],
],
],
'responses' => [
@@ -15779,36 +7885,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8'],
'Model' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '状态',
- 'type' => 'string',
- ],
- 'Url' => [
- 'type' => 'string',
- ],
- 'TaskId' => [
- 'description' => '任务ID',
- 'type' => 'string',
- 'example' => '1****1',
- ],
+ 'Status' => ['description' => '状态', 'type' => 'string'],
+ 'Url' => ['type' => 'string'],
+ 'TaskId' => ['description' => '任务ID', 'type' => 'string', 'example' => '1****1'],
],
],
],
@@ -15820,56 +7905,32 @@
'summary' => '合作伙伴同步担保交易签约信息使用。',
],
'ListItemActivities' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******002',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******002'],
],
[
'name' => 'LmItemIds',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'lm侧商品ID列表',
- 'type' => 'object',
- 'required' => false,
- 'example' => '[\\"10000230-60716881****\\",\\"10000021-59183191****\\"]',
- ],
+ 'schema' => ['description' => 'lm侧商品ID列表', 'type' => 'object', 'required' => false, 'example' => '[\\"10000230-60716881****\\",\\"10000021-59183191****\\"]'],
],
[
'name' => 'ItemIds',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => '商品ID列表',
- 'type' => 'object',
- 'required' => false,
- 'example' => '[664148141***,663735776***]',
- ],
+ 'schema' => ['description' => '商品ID列表', 'type' => 'object', 'required' => false, 'example' => '[664148141***,663735776***]'],
],
],
'responses' => [
@@ -15877,21 +7938,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
'LmItemActivityModelList' => [
'type' => 'object',
'itemNode' => true,
@@ -15901,60 +7950,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10000055-599520******',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '599520******',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10000055-599520******'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '599520******'],
'LmActivityPopModel' => [
'type' => 'object',
'properties' => [
- 'SubBizCode' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'example' => '4309074a******9d626669eaa7f7c',
- ],
- 'EndDate' => [
- 'description' => '活动结束时间',
- 'type' => 'string',
- 'example' => '2022-04-04 00:00:00',
- ],
- 'DisplayDate' => [
- 'description' => '活动展示时间',
- 'type' => 'string',
- 'example' => '2022-03-31 14:25:00 ',
- ],
- 'BizId' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'example' => 'LMALL20******001',
- ],
- 'StartDate' => [
- 'description' => '活动开始时间',
- 'type' => 'string',
- 'example' => '2022-04-01 00:00:00',
- ],
- 'Title' => [
- 'description' => '活动标题',
- 'type' => 'string',
- 'example' => '活动测试',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'object',
- ],
- 'Id' => [
- 'description' => '活动ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '666',
- ],
+ 'SubBizCode' => ['description' => '子业务号', 'type' => 'string', 'example' => '4309074a******9d626669eaa7f7c'],
+ 'EndDate' => ['description' => '活动结束时间', 'type' => 'string', 'example' => '2022-04-04 00:00:00'],
+ 'DisplayDate' => ['description' => '活动展示时间', 'type' => 'string', 'example' => '2022-03-31 14:25:00 '],
+ 'BizId' => ['description' => '业务ID', 'type' => 'string', 'example' => 'LMALL20******001'],
+ 'StartDate' => ['description' => '活动开始时间', 'type' => 'string', 'example' => '2022-04-01 00:00:00'],
+ 'Title' => ['description' => '活动标题', 'type' => 'string', 'example' => '活动测试'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'object'],
+ 'Id' => ['description' => '活动ID', 'type' => 'integer', 'format' => 'int64', 'example' => '666'],
],
],
],
@@ -15971,14 +7979,8 @@
'summary' => '获取商品参加的活动信息。',
],
'QueryUnfinishedActivities' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15986,48 +7988,23 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页页码,从1开始。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页码,从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1', 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页显示的条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '20',
- 'minimum' => '1',
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页显示的条数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '20', 'minimum' => '1', 'example' => '20'],
],
],
'responses' => [
@@ -16035,39 +8012,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'AB121F3E-607D-5EC3-A09B-7B54B86D9154',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'description' => '每页显示的条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '分页页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '未结束活动总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'AB121F3E-607D-5EC3-A09B-7B54B86D9154'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['description' => '每页显示的条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['description' => '分页页码,从1开始', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['description' => '未结束活动总数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'LmActivityModelExtList' => [
'type' => 'object',
'itemNode' => true,
@@ -16078,41 +8028,13 @@
'items' => [
'type' => 'object',
'properties' => [
- 'EndDate' => [
- 'description' => '活动结束时间',
- 'type' => 'string',
- 'example' => '2022-01-14 23:59:59',
- ],
- 'Description' => [
- 'description' => '活动描述',
- 'type' => 'string',
- 'example' => '测试活动',
- ],
- 'StartDate' => [
- 'description' => '活动开始时间',
- 'type' => 'string',
- 'example' => '2022-03-09 11:17:38',
- ],
- 'LmActivityId' => [
- 'description' => '活动id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '679',
- ],
- 'BizId' => [
- 'description' => '业务id',
- 'type' => 'string',
- 'example' => 'LMALL20******002',
- ],
- 'ActivityPicUrl' => [
- 'description' => '活动图片',
- 'type' => 'string',
- ],
- 'Name' => [
- 'description' => '活动名称',
- 'type' => 'string',
- 'example' => '活动测试',
- ],
+ 'EndDate' => ['description' => '活动结束时间', 'type' => 'string', 'example' => '2022-01-14 23:59:59'],
+ 'Description' => ['description' => '活动描述', 'type' => 'string', 'example' => '测试活动'],
+ 'StartDate' => ['description' => '活动开始时间', 'type' => 'string', 'example' => '2022-03-09 11:17:38'],
+ 'LmActivityId' => ['description' => '活动id', 'type' => 'integer', 'format' => 'int64', 'example' => '679'],
+ 'BizId' => ['description' => '业务id', 'type' => 'string', 'example' => 'LMALL20******002'],
+ 'ActivityPicUrl' => ['description' => '活动图片', 'type' => 'string'],
+ 'Name' => ['description' => '活动名称', 'type' => 'string', 'example' => '活动测试'],
'LmActivitySessionModels' => [
'type' => 'object',
'itemNode' => true,
@@ -16123,56 +8045,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SubBizCode' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'example' => '3a92eb6******54005be358a43bd',
- ],
- 'EndDate' => [
- 'description' => '场次结束时间',
- 'type' => 'string',
- 'example' => '2022-03-09 18:59:59',
- ],
- 'DisplayDate' => [
- 'description' => '场次展示时间',
- 'type' => 'string',
- 'example' => '2022-03-08 18:59:59',
- ],
- 'Description' => [
- 'description' => '场次描述',
- 'type' => 'string',
- 'example' => '活动秒杀',
- ],
- 'LmSessionId' => [
- 'description' => '场次id',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'StartDate' => [
- 'description' => '场次开始时间',
- 'type' => 'string',
- 'example' => '2022-03-08 00:00:00',
- ],
- 'BizId' => [
- 'description' => '业务id',
- 'type' => 'string',
- 'example' => 'LMALL20******001',
- ],
- 'LmActivityId' => [
- 'description' => '活动id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '679',
- ],
- 'Name' => [
- 'description' => '场次名称',
- 'type' => 'string',
- 'example' => '场次测试',
- ],
- 'ExtInfo' => [
- 'description' => '拓展信息',
- 'type' => 'object',
- ],
+ 'SubBizCode' => ['description' => '子业务号', 'type' => 'string', 'example' => '3a92eb6******54005be358a43bd'],
+ 'EndDate' => ['description' => '场次结束时间', 'type' => 'string', 'example' => '2022-03-09 18:59:59'],
+ 'DisplayDate' => ['description' => '场次展示时间', 'type' => 'string', 'example' => '2022-03-08 18:59:59'],
+ 'Description' => ['description' => '场次描述', 'type' => 'string', 'example' => '活动秒杀'],
+ 'LmSessionId' => ['description' => '场次id', 'type' => 'integer', 'format' => 'int64'],
+ 'StartDate' => ['description' => '场次开始时间', 'type' => 'string', 'example' => '2022-03-08 00:00:00'],
+ 'BizId' => ['description' => '业务id', 'type' => 'string', 'example' => 'LMALL20******001'],
+ 'LmActivityId' => ['description' => '活动id', 'type' => 'integer', 'format' => 'int64', 'example' => '679'],
+ 'Name' => ['description' => '场次名称', 'type' => 'string', 'example' => '场次测试'],
+ 'ExtInfo' => ['description' => '拓展信息', 'type' => 'object'],
],
],
],
@@ -16226,13 +8108,8 @@
.' }',
],
'QueryBizItemsWithActivity' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16240,45 +8117,25 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL201903220001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL201903220001'],
],
[
'name' => 'LmItemIds',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'Lm侧商品查询列表,⼀次查询Lm侧itemId最多20个',
- 'type' => 'object',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '[\\"10000230-60716881****\\",\\"10000021-59183191****\\"]',
- ],
+ 'schema' => ['description' => 'Lm侧商品查询列表,⼀次查询Lm侧itemId最多20个', 'type' => 'object', 'required' => false, 'docRequired' => true, 'example' => '[\\"10000230-60716881****\\",\\"10000021-59183191****\\"]'],
],
[
'name' => 'ItemIds',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => '查询列表,⼀次查询itemId最多20个',
- 'type' => 'object',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '[\\"60716881****\\",\\"59183191****\\"]'."\n",
- ],
+ 'schema' => ['description' => '查询列表,⼀次查询itemId最多20个', 'type' => 'object', 'required' => false, 'docRequired' => true, 'example' => '[\\"60716881****\\",\\"59183191****\\"]'."\n"],
],
],
'responses' => [
@@ -16286,21 +8143,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '1A0D9B6B-EBEA-5B7C-B10D-C4455F842637',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '1A0D9B6B-EBEA-5B7C-B10D-C4455F842637'],
'ItemList' => [
'type' => 'object',
'itemNode' => true,
@@ -16312,68 +8157,17 @@
'description' => '商品列表',
'type' => 'object',
'properties' => [
- 'PicUrl' => [
- 'description' => '商品图片',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/******.jpg',
- ],
- 'TotalSoldQuantity' => [
- 'description' => '总售卖数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '900',
- ],
- 'ItemTitle' => [
- 'description' => '商品标题',
- 'type' => 'string',
- 'example' => '葡萄吐司',
- ],
- 'MaxAllowedCount' => [
- 'description' => '最大可购买数量(-1表示无限制)',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '-1',
- ],
- 'SellerId' => [
- 'description' => '卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '284324****',
- ],
- 'LmItemId' => [
- 'description' => 'Lm侧商品ID',
- 'type' => 'string',
- 'example' => '10000230-60716881****',
- ],
- 'CategoryId' => [
- 'description' => '商品类目ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50018977',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '60716881****'."\n",
- ],
- 'ReservePrice' => [
- 'description' => '商品原价(所有sku中活动价的最⾼价)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'Quantity' => [
- 'description' => '商品库存',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'TaobaoShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '橘子郡',
- ],
+ 'PicUrl' => ['description' => '商品图片', 'type' => 'string', 'example' => 'https://img.alicdn.com/******.jpg'],
+ 'TotalSoldQuantity' => ['description' => '总售卖数量', 'type' => 'integer', 'format' => 'int32', 'example' => '900'],
+ 'ItemTitle' => ['description' => '商品标题', 'type' => 'string', 'example' => '葡萄吐司'],
+ 'MaxAllowedCount' => ['description' => '最大可购买数量(-1表示无限制)', 'type' => 'integer', 'format' => 'int32', 'example' => '-1'],
+ 'SellerId' => ['description' => '卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '284324****'],
+ 'LmItemId' => ['description' => 'Lm侧商品ID', 'type' => 'string', 'example' => '10000230-60716881****'],
+ 'CategoryId' => ['description' => '商品类目ID', 'type' => 'integer', 'format' => 'int64', 'example' => '50018977'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '60716881****'."\n"],
+ 'ReservePrice' => ['description' => '商品原价(所有sku中活动价的最⾼价)', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'Quantity' => ['description' => '商品库存', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'TaobaoShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '橘子郡'],
'SkuList' => [
'type' => 'object',
'itemNode' => true,
@@ -16385,54 +8179,15 @@
'description' => '商品sku列表',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => 'sku状态',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PriceCent' => [
- 'description' => '渠道售价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2790',
- ],
- 'PointsInfo' => [
- 'type' => 'string',
- ],
- 'MaxAllowedCount' => [
- 'description' => '商品可售库存',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
- 'PointsKey' => [
- 'type' => 'string',
- ],
- 'SkuId' => [
- 'description' => 'skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '472266643****',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '69',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Quantity' => [
- 'description' => 'sku库存',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '500',
- ],
+ 'Status' => ['description' => 'sku状态', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PriceCent' => ['description' => '渠道售价', 'type' => 'integer', 'format' => 'int64', 'example' => '2790'],
+ 'PointsInfo' => ['type' => 'string'],
+ 'MaxAllowedCount' => ['description' => '商品可售库存', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'PointsKey' => ['type' => 'string'],
+ 'SkuId' => ['description' => 'skuId', 'type' => 'integer', 'format' => 'int64', 'example' => '472266643****'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '69'],
+ 'PointsAmount' => ['description' => '积分抵扣价格', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Quantity' => ['description' => 'sku库存', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
],
],
],
@@ -16449,34 +8204,11 @@
'description' => '活动列表',
'type' => 'object',
'properties' => [
- 'StartDate' => [
- 'description' => '活动开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1632412800000',
- ],
- 'LmActivityId' => [
- 'description' => '活动ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '679',
- ],
- 'EndDate' => [
- 'description' => '活动结束时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1642412800000'."\n",
- ],
- 'Title' => [
- 'description' => '活动标题',
- 'type' => 'string',
- 'example' => '***活动测试',
- ],
- 'Description' => [
- 'description' => '活动详情',
- 'type' => 'string',
- 'example' => '***活动测试'."\n",
- ],
+ 'StartDate' => ['description' => '活动开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1632412800000'],
+ 'LmActivityId' => ['description' => '活动ID', 'type' => 'integer', 'format' => 'int64', 'example' => '679'],
+ 'EndDate' => ['description' => '活动结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1642412800000'."\n"],
+ 'Title' => ['description' => '活动标题', 'type' => 'string', 'example' => '***活动测试'],
+ 'Description' => ['description' => '活动详情', 'type' => 'string', 'example' => '***活动测试'."\n"],
'ActivitySessions' => [
'type' => 'object',
'itemNode' => true,
@@ -16488,95 +8220,28 @@
'description' => '活动场次',
'type' => 'object',
'properties' => [
- 'SubBizCode' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'example' => '5fbbd94******4345f6c37166fb',
- ],
- 'EndDate' => [
- 'description' => '场次结束时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1639412800000',
- ],
- 'DisplayDate' => [
- 'description' => '场次展示时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1633412800000',
- ],
- 'LmSessionId' => [
- 'description' => '场次ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '329',
- ],
- 'Description' => [
- 'description' => '场次详情',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'StartDate' => [
- 'description' => '场次开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1634412800000',
- ],
- 'Title' => [
- 'description' => '场次标题',
- 'type' => 'string',
- 'example' => '***场次测试',
- ],
+ 'SubBizCode' => ['description' => '子业务号', 'type' => 'string', 'example' => '5fbbd94******4345f6c37166fb'],
+ 'EndDate' => ['description' => '场次结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1639412800000'],
+ 'DisplayDate' => ['description' => '场次展示时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1633412800000'],
+ 'LmSessionId' => ['description' => '场次ID', 'type' => 'integer', 'format' => 'int64', 'example' => '329'],
+ 'Description' => ['description' => '场次详情', 'type' => 'string', 'example' => '""'],
+ 'StartDate' => ['description' => '场次开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1634412800000'],
+ 'Title' => ['description' => '场次标题', 'type' => 'string', 'example' => '***场次测试'],
'ActivitySessionItem' => [
'description' => '活动场次商品列表',
'type' => 'object',
'properties' => [
- 'SessionQuantity' => [
- 'description' => '场次库存',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '888',
- ],
- 'LimitQuantityForPerson' => [
- 'description' => '个人限购数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'SaleableQuantity' => [
- 'description' => '场次可售库存',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '888',
- ],
+ 'SessionQuantity' => ['description' => '场次库存', 'type' => 'integer', 'format' => 'int64', 'example' => '888'],
+ 'LimitQuantityForPerson' => ['description' => '个人限购数', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'SaleableQuantity' => ['description' => '场次可售库存', 'type' => 'integer', 'format' => 'int64', 'example' => '888'],
'ActivitySessionItemSkuList' => [
'description' => '场次商品sku列表',
'type' => 'object',
'properties' => [
- 'SkuId' => [
- 'description' => 'skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '471******57',
- ],
- 'PriceCent' => [
- 'description' => '渠道售价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '159',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'SkuId' => ['description' => 'skuId', 'type' => 'integer', 'format' => 'int64', 'example' => '471******57'],
+ 'PriceCent' => ['description' => '渠道售价', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '159'],
+ 'PointsAmount' => ['description' => '积分抵扣价格', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
],
@@ -16590,18 +8255,8 @@
'description' => '活动商品列表',
'type' => 'object',
'properties' => [
- 'ActivityQuantity' => [
- 'description' => '活动库存(-1表示无限制)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '-1',
- ],
- 'LimitQuantityForPerson' => [
- 'description' => '个人限购数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'ActivityQuantity' => ['description' => '活动库存(-1表示无限制)', 'type' => 'integer', 'format' => 'int64', 'example' => '-1'],
+ 'LimitQuantityForPerson' => ['description' => '个人限购数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'ActivityItemSkuList' => [
'type' => 'object',
'itemNode' => true,
@@ -16613,18 +8268,8 @@
'description' => '活动商品sku列表',
'type' => 'object',
'properties' => [
- 'ActivityPrice' => [
- 'description' => '活动价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '990',
- ],
- 'SkuId' => [
- 'description' => 'skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '471******57'."\n",
- ],
+ 'ActivityPrice' => ['description' => '活动价', 'type' => 'integer', 'format' => 'int64', 'example' => '990'],
+ 'SkuId' => ['description' => 'skuId', 'type' => 'integer', 'format' => 'int64', 'example' => '471******57'."\n"],
],
],
],
@@ -16648,10 +8293,7 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"RequestId\\": \\"1A0D9B6B-EBEA-5B7C-B10D-C4455F842637\\",\\n \\"ItemList\\": {\\n \\"Item\\": [\\n {\\n \\"PicUrl\\": \\"https://img.alicdn.com/******.jpg\\",\\n \\"TotalSoldQuantity\\": 900,\\n \\"ItemTitle\\": \\"葡萄吐司\\",\\n \\"MaxAllowedCount\\": -1,\\n \\"SellerId\\": 0,\\n \\"LmItemId\\": \\"10000230-60716881****\\",\\n \\"CategoryId\\": 50018977,\\n \\"ItemId\\": 0,\\n \\"ReservePrice\\": 2990,\\n \\"Quantity\\": 1000,\\n \\"TaobaoShopName\\": \\"橘子郡\\",\\n \\"SkuList\\": {\\n \\"Sku\\": [\\n {\\n \\"Status\\": 1,\\n \\"PriceCent\\": 2790,\\n \\"PointsInfo\\": \\"\\",\\n \\"MaxAllowedCount\\": 1000,\\n \\"PointsKey\\": \\"\\",\\n \\"SkuId\\": 0,\\n \\"Points\\": 69,\\n \\"PointsAmount\\": 0,\\n \\"Quantity\\": 500\\n }\\n ]\\n },\\n \\"Activities\\": {\\n \\"Activity\\": [\\n {\\n \\"StartDate\\": 1632412800000,\\n \\"LmActivityId\\": 679,\\n \\"EndDate\\": 1642412800000,\\n \\"Title\\": \\"***活动测试\\",\\n \\"Description\\": \\"***活动测试\\\\n\\",\\n \\"ActivitySessions\\": {\\n \\"ActivitySession\\": [\\n {\\n \\"SubBizCode\\": \\"5fbbd94******4345f6c37166fb\\",\\n \\"EndDate\\": 1639412800000,\\n \\"DisplayDate\\": 1633412800000,\\n \\"LmSessionId\\": 329,\\n \\"Description\\": \\"\\\\\\"\\\\\\"\\",\\n \\"StartDate\\": 1634412800000,\\n \\"Title\\": \\"***场次测试\\",\\n \\"ActivitySessionItem\\": {\\n \\"SessionQuantity\\": 888,\\n \\"LimitQuantityForPerson\\": 2,\\n \\"SaleableQuantity\\": 888,\\n \\"ActivitySessionItemSkuList\\": {\\n \\"SkuId\\": 0,\\n \\"PriceCent\\": 2990,\\n \\"Points\\": 159,\\n \\"PointsAmount\\": 0\\n }\\n }\\n }\\n ]\\n },\\n \\"ActivityItem\\": {\\n \\"ActivityQuantity\\": -1,\\n \\"LimitQuantityForPerson\\": 1,\\n \\"ActivityItemSkuList\\": {\\n \\"ActivityItemSku\\": [\\n {\\n \\"ActivityPrice\\": 990,\\n \\"SkuId\\": 0\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
@@ -16721,14 +8363,8 @@
.' }',
],
'QueryUnfinishedSessions4Items' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16736,53 +8372,29 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'LmItemIds',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => 'lm侧商品ID列表',
- 'type' => 'object',
- 'required' => false,
- 'example' => '[\\"10000230-60716881****\\",\\"10000021-59183191****\\"]',
- ],
+ 'schema' => ['description' => 'lm侧商品ID列表', 'type' => 'object', 'required' => false, 'example' => '[\\"10000230-60716881****\\",\\"10000021-59183191****\\"]'],
],
[
'name' => 'ItemIds',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => '商品ID列表',
- 'type' => 'object',
- 'required' => false,
- 'example' => '[\\"60716881****\\",\\"59183191****\\"]',
- ],
+ 'schema' => ['description' => '商品ID列表', 'type' => 'object', 'required' => false, 'example' => '[\\"60716881****\\",\\"59183191****\\"]'],
],
[
'name' => 'QueryTime',
'in' => 'query',
- 'schema' => [
- 'description' => '查询时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1637294220',
- ],
+ 'schema' => ['description' => '查询时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1637294220'],
],
],
'responses' => [
@@ -16790,21 +8402,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A209C555-3869-5259-9880-9747CBDA2B89',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A209C555-3869-5259-9880-9747CBDA2B89'],
'LmItemActivitySessionModelListList' => [
'type' => 'object',
'itemNode' => true,
@@ -16814,17 +8414,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10000230-60716881****',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '60716881****',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10000230-60716881****'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '60716881****'],
'LmActivitySessionModels' => [
'type' => 'object',
'itemNode' => true,
@@ -16834,56 +8425,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SubBizCode' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'example' => 'cf5eddd******105378a3ea27b67',
- ],
- 'EndDate' => [
- 'description' => '场次结束时间',
- 'type' => 'string',
- 'example' => '2022-04-01 00:00:00',
- ],
- 'DisplayDate' => [
- 'description' => '场次展示时间',
- 'type' => 'string',
- 'example' => '2022-03-30 13:53:00',
- ],
- 'LmSessionId' => [
- 'description' => '场次ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Description' => [
- 'description' => '场次描述',
- 'type' => 'string',
- 'example' => '场次测试',
- ],
- 'StartDate' => [
- 'description' => '场次开始时间',
- 'type' => 'string',
- 'example' => '2022-03-30 14:00:00'."\n",
- ],
- 'LmActivityId' => [
- 'description' => '活动ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '679',
- ],
- 'BizId' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'example' => 'LMALL20******001',
- ],
- 'Name' => [
- 'description' => '场次名称',
- 'type' => 'string',
- 'example' => '场次测试',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'object',
- ],
+ 'SubBizCode' => ['description' => '子业务号', 'type' => 'string', 'example' => 'cf5eddd******105378a3ea27b67'],
+ 'EndDate' => ['description' => '场次结束时间', 'type' => 'string', 'example' => '2022-04-01 00:00:00'],
+ 'DisplayDate' => ['description' => '场次展示时间', 'type' => 'string', 'example' => '2022-03-30 13:53:00'],
+ 'LmSessionId' => ['description' => '场次ID', 'type' => 'integer', 'format' => 'int64'],
+ 'Description' => ['description' => '场次描述', 'type' => 'string', 'example' => '场次测试'],
+ 'StartDate' => ['description' => '场次开始时间', 'type' => 'string', 'example' => '2022-03-30 14:00:00'."\n"],
+ 'LmActivityId' => ['description' => '活动ID', 'type' => 'integer', 'format' => 'int64', 'example' => '679'],
+ 'BizId' => ['description' => '业务ID', 'type' => 'string', 'example' => 'LMALL20******001'],
+ 'Name' => ['description' => '场次名称', 'type' => 'string', 'example' => '场次测试'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'object'],
],
],
],
@@ -16903,14 +8454,8 @@
'summary' => '根据商品查询其参加的未完成场次。',
],
'CreateWithholdTrade' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16924,124 +8469,62 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'OutRequestNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '外部请求号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '94A30BED-4321-4A94-B948-EB896493B4BF',
- ],
+ 'schema' => ['description' => '外部请求号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '94A30BED-4321-4A94-B948-EB896493B4BF'],
],
[
'name' => 'OutTradeNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '外部交易流水号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '23******274',
- ],
+ 'schema' => ['description' => '外部交易流水号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '23******274'],
],
[
'name' => 'Subject',
'in' => 'formData',
- 'schema' => [
- 'description' => '标题',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '标题', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'BuyerId',
'in' => 'formData',
- 'schema' => [
- 'description' => '买家ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '12******209',
- ],
+ 'schema' => ['description' => '买家ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '12******209'],
],
[
'name' => 'MerchantId',
'in' => 'formData',
- 'schema' => [
- 'description' => '商户ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '64******721',
- ],
+ 'schema' => ['description' => '商户ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '64******721'],
],
[
'name' => 'TotalAmount',
'in' => 'formData',
- 'schema' => [
- 'description' => '总金额',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6900',
- ],
+ 'schema' => ['description' => '总金额', 'type' => 'string', 'required' => false, 'example' => '6900'],
],
[
'name' => 'Body',
'in' => 'formData',
- 'schema' => [
- 'description' => 'body参数',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => 'body参数', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'GoodsDetail',
'in' => 'formData',
- 'schema' => [
- 'description' => '商品详情',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '商品详情', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'AgreementNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '协议号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021******59220',
- ],
+ 'schema' => ['description' => '协议号', 'type' => 'string', 'required' => false, 'example' => '2021******59220'],
],
[
'name' => 'SettleMode',
'in' => 'formData',
- 'schema' => [
- 'description' => '结算模式',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '结算模式', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"key":"value"}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{"key":"value"}'],
],
],
'responses' => [
@@ -17049,46 +8532,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '返回码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回信息',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8',
- ],
+ 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => '成功'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8'],
'WithholdTradeResponse' => [
'description' => '调用成功时,返回的数据。',
'type' => 'object',
'properties' => [
- 'PaymentDate' => [
- 'description' => '订单支付时间',
- 'type' => 'string',
- 'example' => '2022-04-01 12:00:00',
- ],
- 'TradeNo' => [
- 'description' => '交易流水号',
- 'type' => 'string',
- 'example' => '32******372',
- ],
- 'OutRequestNo' => [
- 'description' => '外部请求号',
- 'type' => 'string',
- 'example' => '57E4FE52-0750-4456-AA8F-ECC9FA0F8DF0',
- ],
- 'OutTradeNo' => [
- 'description' => '外部交易流水号',
- 'type' => 'string',
- 'example' => ' '."\n"
- .'23******274'."\n",
- ],
+ 'PaymentDate' => ['description' => '订单支付时间', 'type' => 'string', 'example' => '2022-04-01 12:00:00'],
+ 'TradeNo' => ['description' => '交易流水号', 'type' => 'string', 'example' => '32******372'],
+ 'OutRequestNo' => ['description' => '外部请求号', 'type' => 'string', 'example' => '57E4FE52-0750-4456-AA8F-ECC9FA0F8DF0'],
+ 'OutTradeNo' => ['description' => '外部交易流水号', 'type' => 'string', 'example' => ' '."\n"
+ .'23******274'."\n"],
],
],
],
@@ -17100,13 +8555,8 @@
'summary' => '代扣支付下单。',
],
'CreatePayUrl' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17114,60 +8564,32 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务方标识',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20*****0001',
- ],
+ 'schema' => ['description' => '业务方标识', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20*****0001'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9f99f38030254728***',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9f99f38030254728***'],
],
[
'name' => 'BuyInfo',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃,填AccountType即可',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃,填AccountType即可', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '渠道用户ID'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '渠道用户ID'."\n", 'type' => 'string', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -17175,52 +8597,26 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
- 'Success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
+ 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'True'],
'Model' => [
'description' => '返回的信息。',
'type' => 'object',
'properties' => [
- 'RedirectUrl' => [
- 'description' => '支付url',
- 'type' => 'string',
- 'example' => '"www.taobao.com"',
- ],
+ 'RedirectUrl' => ['description' => '支付url', 'type' => 'string', 'example' => '"www.taobao.com"'],
'PayTradeIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'OrderIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'LmOrderList' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -17233,14 +8629,8 @@
'summary' => '创单并获取支付链接。',
],
'GetWithholdSignPageUrl' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17254,114 +8644,57 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'OutRequestNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '外部请求号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '0AF7F437-C869-477D-A21A-CF402493FFFE',
- ],
+ 'schema' => ['description' => '外部请求号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '0AF7F437-C869-477D-A21A-CF402493FFFE'],
],
[
'name' => 'ExternalAgreementNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '外部协议号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '223******2637',
- ],
+ 'schema' => ['description' => '外部协议号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '223******2637'],
],
[
'name' => 'MerchantId',
'in' => 'formData',
- 'schema' => [
- 'description' => '商户ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '64******721',
- ],
+ 'schema' => ['description' => '商户ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '64******721'],
],
[
'name' => 'MerchantServiceName',
'in' => 'formData',
- 'schema' => [
- 'description' => '商户服务名',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '天猫****代扣',
- ],
+ 'schema' => ['description' => '商户服务名', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '天猫****代扣'],
],
[
'name' => 'MerchantServiceDescription',
'in' => 'formData',
- 'schema' => [
- 'description' => '商户服务描述',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '天猫******代扣',
- ],
+ 'schema' => ['description' => '商户服务描述', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '天猫******代扣'],
],
[
'name' => 'IdentityParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '身份参数',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '身份参数', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'ReturnUrl',
'in' => 'formData',
- 'schema' => [
- 'description' => '返回地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '返回地址', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'NotifyUrl',
'in' => 'formData',
- 'schema' => [
- 'description' => '通知地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '通知地址', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'DeviceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '设备类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '设备类型', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -17369,34 +8702,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '返回码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8',
- ],
+ 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8'],
'WithholdSignResponse' => [
'description' => '响应结果',
'type' => 'object',
'properties' => [
- 'PageUrl' => [
- 'description' => '页面地址',
- 'type' => 'string',
- ],
- 'OutRequestNo' => [
- 'description' => '外部请求号',
- 'type' => 'string',
- 'example' => '0AF7F437-C869-477D-A21A-CF402493FFFE',
- ],
+ 'PageUrl' => ['description' => '页面地址', 'type' => 'string'],
+ 'OutRequestNo' => ['description' => '外部请求号', 'type' => 'string', 'example' => '0AF7F437-C869-477D-A21A-CF402493FFFE'],
],
],
],
@@ -17408,14 +8722,8 @@
'summary' => '获取代扣签约地址。',
],
'RefundOrder' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17428,92 +8736,47 @@
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'OutRequestNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '外部请求号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '4111584A-44D8-49B6-80BD-FACD0726054C',
- ],
+ 'schema' => ['description' => '外部请求号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '4111584A-44D8-49B6-80BD-FACD0726054C'],
],
[
'name' => 'OutTradeNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '外部交易流水号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '23******32727',
- ],
+ 'schema' => ['description' => '外部交易流水号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '23******32727'],
],
[
'name' => 'TradeNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '交易流水号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'WH******27',
- ],
+ 'schema' => ['description' => '交易流水号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'WH******27'],
],
[
'name' => 'RefundReason',
'in' => 'formData',
- 'schema' => [
- 'description' => '退款原因',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '不想要',
- ],
+ 'schema' => ['description' => '退款原因', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '不想要'],
],
[
'name' => 'RefundAmount',
'in' => 'formData',
- 'schema' => [
- 'description' => '退款金额',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '退款金额', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '100'],
],
[
'name' => 'RefundRoyaltyParameters',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'MerchantId',
'in' => 'formData',
- 'schema' => [
- 'description' => '企业分配给阿里云的ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '64******721',
- ],
+ 'schema' => ['description' => '企业分配给阿里云的ID', 'type' => 'string', 'required' => false, 'example' => '64******721'],
],
],
'responses' => [
@@ -17521,46 +8784,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '返回码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
+ 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
'RefundResponse' => [
'description' => '成功退款信息',
'type' => 'object',
'properties' => [
- 'FundChange' => [
- 'type' => 'string',
- ],
- 'GmtRefundPay' => [
- 'type' => 'string',
- ],
- 'TradeNo' => [
- 'description' => '交易流水号',
- 'type' => 'string',
- ],
- 'OutTradeNo' => [
- 'description' => '外部交易流水号',
- 'type' => 'string',
- 'example' => ' '."\n"
- .'23******32727'."\n",
- ],
- 'OutRequestNo' => [
- 'description' => '外部请求号',
- 'type' => 'string',
- 'example' => '4111584A-44D8-49B6-80BD-FACD0726054C',
- ],
+ 'FundChange' => ['type' => 'string'],
+ 'GmtRefundPay' => ['type' => 'string'],
+ 'TradeNo' => ['description' => '交易流水号', 'type' => 'string'],
+ 'OutTradeNo' => ['description' => '外部交易流水号', 'type' => 'string', 'example' => ' '."\n"
+ .'23******32727'."\n"],
+ 'OutRequestNo' => ['description' => '外部请求号', 'type' => 'string', 'example' => '4111584A-44D8-49B6-80BD-FACD0726054C'],
],
],
],
@@ -17572,14 +8808,8 @@
'summary' => '订单退款。',
],
'RepayForPayUrl' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17596,64 +8826,33 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210802****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210802****'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9f99f38030254728***',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9f99f38030254728***'],
],
[
'name' => 'LmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '449975059**',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '449975059**'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '9f99f38030254728***'."\n",
- ],
+ 'schema' => ['description' => '客户侧ID', 'type' => 'string', 'required' => false, 'example' => '9f99f38030254728***'."\n"],
],
],
'responses' => [
@@ -17661,30 +8860,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The specified parameter %s value is not valid.',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '1AF23E47-D8FB-576A-B069-CA98B4DE****',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '1AF23E47-D8FB-576A-B069-CA98B4DE****'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'FrontUrl' => [
- 'description' => '返回的支付链接',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'FrontUrl' => ['description' => '返回的支付链接', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -17697,14 +8880,8 @@
'description' => '获取继续支付链接',
],
'UnsignWithholdAgreement' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17718,52 +8895,27 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'OutRequestNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '外部请求号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '外部请求号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'ExternalAgreementNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '外部协议号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '234******3626',
- ],
+ 'schema' => ['description' => '外部协议号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '234******3626'],
],
[
'name' => 'MerchantId',
'in' => 'formData',
- 'schema' => [
- 'description' => '商户ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '64******721',
- ],
+ 'schema' => ['description' => '商户ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '64******721'],
],
[
'name' => 'AgreementNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '协议号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20******8006',
- ],
+ 'schema' => ['description' => '协议号', 'type' => 'string', 'required' => false, 'example' => '20******8006'],
],
],
'responses' => [
@@ -17771,30 +8923,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8'],
'WithholdSignResponse' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'OutRequestNo' => [
- 'description' => '外部请求号',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'OutRequestNo' => ['description' => '外部请求号', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -17806,14 +8942,8 @@
'summary' => '代扣解约。',
],
'CreateOrder' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17830,162 +8960,77 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20201229****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20201229****'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '221249435****',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '221249435****'],
],
[
'name' => 'OutTradeId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户系统唯一订单号,由客户提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '14684075319554*****',
- ],
+ 'schema' => ['description' => '客户系统唯一订单号,由客户提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '14684075319554*****'],
],
[
'name' => 'ItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '57835029****',
- ],
+ 'schema' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '57835029****'],
],
[
'name' => 'Quantity',
'in' => 'query',
- 'schema' => [
- 'description' => '购买数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '购买数量', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', 'default' => '1'],
],
[
'name' => 'TotalAmount',
'in' => 'query',
- 'schema' => [
- 'description' => '订单总金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '4990',
- 'default' => '0',
- ],
+ 'schema' => ['description' => '订单总金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4990', 'default' => '0'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展字段',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- 'default' => '{}',
- ],
+ 'schema' => ['description' => '扩展字段', 'type' => 'string', 'required' => false, 'example' => '{}', 'default' => '{}'],
],
[
'name' => 'DeliveryAddress',
'in' => 'query',
- 'schema' => [
- 'description' => '详细地址不足5个字符时请补齐5个字符',
- 'type' => 'string',
- 'required' => false,
- 'example' => '北京市朝阳区*******************',
- ],
+ 'schema' => ['description' => '详细地址不足5个字符时请补齐5个字符', 'type' => 'string', 'required' => false, 'example' => '北京市朝阳区*******************'],
],
[
'name' => 'OrderExpireTime',
'in' => 'query',
- 'schema' => [
- 'description' => '订单失效时间,默认值为15分钟',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '900',
- 'example' => '900000',
- 'default' => '900',
- ],
+ 'schema' => ['description' => '订单失效时间,默认值为15分钟', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '900', 'example' => '900000', 'default' => '900'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '必须对应C端唯一一个用户,企业不可使用一个ID代所有用户下单',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'susan*******',
- ],
+ 'schema' => ['description' => '必须对应C端唯一一个用户,企业不可使用一个ID代所有用户下单', 'type' => 'string', 'required' => false, 'example' => 'susan*******'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000035-6193664*****',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'string', 'required' => false, 'example' => '10000035-6193664*****'],
],
[
'name' => 'BuyerMessageMap',
'in' => 'query',
- 'schema' => [
- 'description' => '买家信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '买家信息json,可不填',
- ],
+ 'schema' => ['description' => '买家信息', 'type' => 'string', 'required' => false, 'example' => '买家信息json,可不填'],
],
[
'name' => 'ItemList',
@@ -17998,33 +9043,10 @@
'description' => '商品列表',
'type' => 'object',
'properties' => [
- 'SkuId' => [
- 'description' => '商品skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '456458315****',
- ],
- 'LmItemId' => [
- 'description' => 'LM侧商品Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000035-61936646****',
- ],
- 'ItemId' => [
- 'description' => '商品Id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '64750262****',
- ],
- 'Quantity' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'SkuId' => ['description' => '商品skuId', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '456458315****'],
+ 'LmItemId' => ['description' => 'LM侧商品Id', 'type' => 'string', 'required' => false, 'example' => '10000035-61936646****'],
+ 'ItemId' => ['description' => '商品Id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '64750262****'],
+ 'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
'required' => false,
],
@@ -18038,56 +9060,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'DA2554FD-F21F-536F-A7B7-B96C3E5F****',
- ],
- 'Success' => [
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'RESULT_STATUS_UNKOWN',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'TotalCount' => [
- 'description' => '总订单数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'LogsId' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'DA2554FD-F21F-536F-A7B7-B96C3E5F****'],
+ 'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '1004'],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'RESULT_STATUS_UNKOWN'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'TotalCount' => ['description' => '总订单数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'LogsId' => ['description' => '废弃', 'type' => 'string', 'example' => '1'],
'Model' => [
'description' => '订单信息,从返回的model对象中取出LmOrderList字段',
'type' => 'object',
'properties' => [
- 'RedirectUrl' => [
- 'description' => '重定向地址',
- 'type' => 'string',
- 'example' => '"www.taoba**.com"',
- ],
+ 'RedirectUrl' => ['description' => '重定向地址', 'type' => 'string', 'example' => '"www.taoba**.com"'],
'LmOrderList' => [
'type' => 'object',
'itemNode' => true,
@@ -18099,11 +9084,7 @@
'description' => '订单主订单列表',
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => '订单主订单号',
- 'type' => 'string',
- 'example' => '39435****',
- ],
+ 'LmOrderId' => ['description' => '订单主订单号', 'type' => 'string', 'example' => '39435****'],
],
],
],
@@ -18116,11 +9097,7 @@
'PayTradeIds' => [
'description' => '交易单号',
'type' => 'array',
- 'items' => [
- 'description' => '交易单号',
- 'type' => 'string',
- 'example' => '[2324289*******,238478******]',
- ],
+ 'items' => ['description' => '交易单号', 'type' => 'string', 'example' => '[2324289*******,238478******]'],
],
],
],
@@ -18131,11 +9108,7 @@
'OrderIds' => [
'description' => '淘宝订单id列表',
'type' => 'array',
- 'items' => [
- 'description' => '淘宝订单id列表',
- 'type' => 'string',
- 'example' => '2113691583*****',
- ],
+ 'items' => ['description' => '淘宝订单id列表', 'type' => 'string', 'example' => '2113691583*****'],
],
],
],
@@ -18185,14 +9158,8 @@
.' }',
],
'QueryItemDetail' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18209,43 +9176,23 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20201228****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20201228****'],
],
[
'name' => 'ItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '62501739****',
- ],
+ 'schema' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '62501739****'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000035-61936646****',
- ],
+ 'schema' => ['description' => 'lm侧商品id', 'type' => 'string', 'required' => false, 'example' => '10000035-61936646****'],
],
],
'responses' => [
@@ -18253,194 +9200,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'E46C790E-B1F2-51EF-B6F8-B52404B5****',
- ],
- 'Success' => [
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'BizItemGroup [LMALL20210830****] has not the item [65728655****].',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '1004',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'E46C790E-B1F2-51EF-B6F8-B52404B5****'],
+ 'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '1004'],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'BizItemGroup [LMALL20210830****] has not the item [65728655****].'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '1004'],
'Item' => [
'description' => '商品信息',
'type' => 'object',
'properties' => [
- 'ItemTitle' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '生龙888g佬米酒',
- ],
- 'MinPoints' => [
- 'description' => '最少积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'DescOption' => [
- 'description' => '商品详情描述',
- 'type' => 'string',
- 'example' => '"<p><img align=\\"absmiddle\\" src=\\"https://img.alicdn.com/imgextra/i1/174226****/O1CN01j0oO3L1SnK7EwwXP4_!!1742262291.jpg\\" style=\\"max-width: none;width: 750.0px;\\">"',
- ],
- 'VideoPicUrl' => [
- 'description' => '视频头图链接地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n",
- ],
- 'ExtJson' => [
- 'description' => '拓展字段',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'IsSellerPayPostfee' => [
- 'description' => '是否卖家包邮',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'LmItemCategory' => [
- 'description' => '商品类别',
- 'type' => 'string',
- 'example' => 'entity',
- ],
- 'SellerPayPostfee' => [
- 'description' => '是否卖家包邮',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ReservePrice' => [
- 'description' => '划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'Quantity' => [
- 'description' => '库存数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'VideoUrl' => [
- 'description' => '视频链接地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n",
- ],
- 'CustomizedAttributeMap' => [
- 'description' => '买家信息',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'IforestPropsJson' => [
- 'description' => 'json格式的产品属性',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'PropertiesJson' => [
- 'description' => 'json格式的产品参数',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'IforestProps' => [
- 'description' => '商品详情页商品名称下面的三列属性',
- 'type' => 'string',
- 'example' => '[]',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '10000043-64818014****',
- ],
- 'SellerId' => [
- 'description' => '卖家id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '424414****',
- ],
- 'TbShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '橘子郡',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '64407904****',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CenterInventory' => [
- 'description' => '主站是否有库存',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SellerType' => [
- 'description' => '卖家类型:0-淘宝卖家,1-天猫卖家',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'TotalSoldQuantity' => [
- 'description' => '商品在tmall的销量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '199',
- ],
- 'MainPicUrl' => [
- 'description' => '主图地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n",
- ],
- 'MinPrice' => [
- 'description' => '商品价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'IsCanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CategoryId' => [
- 'description' => '类目的ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5001****',
- ],
- 'DescPath' => [
- 'description' => '商品详情图片地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n",
- ],
- 'Properties' => [
- 'description' => '产品参数',
- 'type' => 'string',
- 'example' => '{}',
- ],
+ 'ItemTitle' => ['description' => '商品名称', 'type' => 'string', 'example' => '生龙888g佬米酒'],
+ 'MinPoints' => ['description' => '最少积分', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'DescOption' => ['description' => '商品详情描述', 'type' => 'string', 'example' => '"<p><img align=\\"absmiddle\\" src=\\"https://img.alicdn.com/imgextra/i1/174226****/O1CN01j0oO3L1SnK7EwwXP4_!!1742262291.jpg\\" style=\\"max-width: none;width: 750.0px;\\">"'],
+ 'VideoPicUrl' => ['description' => '视频头图链接地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n"],
+ 'ExtJson' => ['description' => '拓展字段', 'type' => 'string', 'example' => '{}'],
+ 'IsSellerPayPostfee' => ['description' => '是否卖家包邮', 'type' => 'boolean', 'example' => 'true'],
+ 'LmItemCategory' => ['description' => '商品类别', 'type' => 'string', 'example' => 'entity'],
+ 'SellerPayPostfee' => ['description' => '是否卖家包邮', 'type' => 'boolean', 'example' => 'true'],
+ 'ReservePrice' => ['description' => '划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'Quantity' => ['description' => '库存数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'VideoUrl' => ['description' => '视频链接地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n"],
+ 'CustomizedAttributeMap' => ['description' => '买家信息', 'type' => 'object', 'example' => '{}'],
+ 'IforestPropsJson' => ['description' => 'json格式的产品属性', 'type' => 'string', 'example' => '{}'],
+ 'PropertiesJson' => ['description' => 'json格式的产品参数', 'type' => 'string', 'example' => '{}'],
+ 'IforestProps' => ['description' => '商品详情页商品名称下面的三列属性', 'type' => 'string', 'example' => '[]'],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '10000043-64818014****'],
+ 'SellerId' => ['description' => '卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '424414****'],
+ 'TbShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '橘子郡'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '64407904****'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'CenterInventory' => ['description' => '主站是否有库存', 'type' => 'boolean', 'example' => 'true'],
+ 'SellerType' => ['description' => '卖家类型:0-淘宝卖家,1-天猫卖家', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'TotalSoldQuantity' => ['description' => '商品在tmall的销量', 'type' => 'integer', 'format' => 'int32', 'example' => '199'],
+ 'MainPicUrl' => ['description' => '主图地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n"],
+ 'MinPrice' => ['description' => '商品价格', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'IsCanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'CategoryId' => ['description' => '类目的ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '5001****'],
+ 'DescPath' => ['description' => '商品详情图片地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n"],
+ 'Properties' => ['description' => '产品参数', 'type' => 'string', 'example' => '{}'],
'Skus' => [
'type' => 'object',
'itemNode' => true,
@@ -18452,93 +9250,22 @@
'description' => '商品sku列表',
'type' => 'object',
'properties' => [
- 'PriceCent' => [
- 'description' => '客户端销售价格,目前不支持不同区域不同定价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '10000102-64426301****',
- ],
- 'PointPrice' => [
- 'description' => '积分价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true'."\n",
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '63894836****',
- ],
- 'SkuTitle' => [
- 'description' => 'sku名称,如:白色/64G。由各个属性拼成,/分割',
- 'type' => 'string',
- 'example' => '白色/64G',
- ],
- 'SkuPropertiesJson' => [
- 'description' => 'josn格式的商品sku参数',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ExtJson' => [
- 'description' => '拓展字段',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'SkuProperties' => [
- 'description' => '商品sku参数',
- 'type' => 'string',
- ],
- 'SkuId' => [
- 'description' => 'skuId,虚拟商品为-1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '456458315****',
- ],
- 'SkuPicUrl' => [
- 'description' => 'sku图片',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n",
- ],
- 'Points' => [
- 'description' => '积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2499',
- ],
- 'ReservePrice' => [
- 'description' => '划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4490',
- ],
- 'PointsAmount' => [
- 'description' => '积分金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4490',
- ],
- 'Quantity' => [
- 'description' => '库存数量,虚拟商品为-1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CustomizedAttributeMap' => [
- 'description' => '买家信息',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'PriceCent' => ['description' => '客户端销售价格,目前不支持不同区域不同定价', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '10000102-64426301****'],
+ 'PointPrice' => ['description' => '积分价格', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'."\n"],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '63894836****'],
+ 'SkuTitle' => ['description' => 'sku名称,如:白色/64G。由各个属性拼成,/分割', 'type' => 'string', 'example' => '白色/64G'],
+ 'SkuPropertiesJson' => ['description' => 'josn格式的商品sku参数', 'type' => 'string', 'example' => '{}'],
+ 'ExtJson' => ['description' => '拓展字段', 'type' => 'string', 'example' => '{}'],
+ 'SkuProperties' => ['description' => '商品sku参数', 'type' => 'string'],
+ 'SkuId' => ['description' => 'skuId,虚拟商品为-1', 'type' => 'integer', 'format' => 'int64', 'example' => '456458315****'],
+ 'SkuPicUrl' => ['description' => 'sku图片', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n"],
+ 'Points' => ['description' => '积分', 'type' => 'integer', 'format' => 'int64', 'example' => '2499'],
+ 'ReservePrice' => ['description' => '划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '4490'],
+ 'PointsAmount' => ['description' => '积分金额', 'type' => 'integer', 'format' => 'int64', 'example' => '4490'],
+ 'Quantity' => ['description' => '库存数量,虚拟商品为-1', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'CustomizedAttributeMap' => ['description' => '买家信息', 'type' => 'object', 'example' => '{}'],
],
],
],
@@ -18551,11 +9278,7 @@
'ItemImage' => [
'description' => '商品图片列表',
'type' => 'array',
- 'items' => [
- 'description' => '商品图片列表',
- 'type' => 'string',
- 'example' => '[https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg]',
- ],
+ 'items' => ['description' => '商品图片列表', 'type' => 'string', 'example' => '[https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg]'],
],
],
],
@@ -18571,14 +9294,8 @@
'description' => '查询商品详情',
],
'QueryAllCinemas' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18594,54 +9311,27 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'CityCode',
'in' => 'query',
- 'schema' => [
- 'description' => '城市编码',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '330100',
- ],
+ 'schema' => ['description' => '城市编码', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '330100'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -18649,47 +9339,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8',
- ],
- 'Success' => [
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '205',
- ],
- 'TotalCount' => [
- 'description' => '影院总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8'],
+ 'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '1004'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '205'],
+ 'TotalCount' => ['description' => '影院总数', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'Cinemas' => [
'type' => 'object',
'itemNode' => true,
@@ -18701,59 +9358,16 @@
'description' => '电影院列表',
'type' => 'object',
'properties' => [
- 'StandardId' => [
- 'description' => '广电总局发放给影院的8位标准影院编码',
- 'type' => 'string',
- 'example' => '42112601',
- ],
- 'ScheduleCloseTime' => [
- 'description' => '影院场次提前关闭时间,单位分钟'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15',
- ],
- 'CityId' => [
- 'description' => '影院所属城市ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '330100',
- ],
- 'CinemaName' => [
- 'description' => '影院名称',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'CityName' => [
- 'description' => '城市名称',
- 'type' => 'string',
- 'example' => '深圳市',
- ],
- 'Address' => [
- 'description' => '影院地址',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Longitude' => [
- 'description' => '影院经度',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Latitude' => [
- 'description' => '影院纬度',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Phone' => [
- 'description' => '影院电话',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Id' => [
- 'description' => '影院ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '153',
- ],
+ 'StandardId' => ['description' => '广电总局发放给影院的8位标准影院编码', 'type' => 'string', 'example' => '42112601'],
+ 'ScheduleCloseTime' => ['description' => '影院场次提前关闭时间,单位分钟'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '15'],
+ 'CityId' => ['description' => '影院所属城市ID', 'type' => 'integer', 'format' => 'int64', 'example' => '330100'],
+ 'CinemaName' => ['description' => '影院名称', 'type' => 'string', 'example' => '""'],
+ 'CityName' => ['description' => '城市名称', 'type' => 'string', 'example' => '深圳市'],
+ 'Address' => ['description' => '影院地址', 'type' => 'string', 'example' => '""'],
+ 'Longitude' => ['description' => '影院经度', 'type' => 'string', 'example' => '""'],
+ 'Latitude' => ['description' => '影院纬度', 'type' => 'string', 'example' => '""'],
+ 'Phone' => ['description' => '影院电话', 'type' => 'string', 'example' => '""'],
+ 'Id' => ['description' => '影院ID', 'type' => 'integer', 'format' => 'int64', 'example' => '153'],
],
],
],
@@ -18768,14 +9382,8 @@
'summary' => '开通电影服务客户使用。',
],
'QueryHotMovies' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18791,42 +9399,22 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'CityCode',
'in' => 'query',
- 'schema' => [
- 'description' => '城市编码',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '310100',
- ],
+ 'schema' => ['description' => '城市编码', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '310100'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -18834,41 +9422,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '1AF23E47-D8FB-576A-B069-CA98B4DE****',
- ],
- 'Success' => [
- 'description' => '调用是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '205',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1AF23E47-D8FB-576A-B069-CA98B4DE****'],
+ 'Success' => ['description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '205'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'Movies' => [
'type' => 'object',
'itemNode' => true,
@@ -18880,93 +9440,23 @@
'description' => '影片列表',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '影片类型',
- 'type' => 'string',
- 'example' => '剧情',
- ],
- 'MovieVersion' => [
- 'description' => '影片版本',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'BackgroundPicture' => [
- 'description' => '影片背景图',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Remark' => [
- 'description' => '评分',
- 'type' => 'string',
- 'example' => '9.7',
- ],
- 'OpenDay' => [
- 'description' => '上映日期,格式YYYY-MM-DD HH:MM:SS',
- 'type' => 'string',
- 'example' => '2022-04-01 12:00:00',
- ],
- 'Highlight' => [
- 'description' => '精彩点评',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Language' => [
- 'description' => '对白语言',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'OpenTime' => [
- 'description' => '上映时间',
- 'type' => 'string',
- 'example' => '2022-04-01 12:00:00'."\n",
- ],
- 'Director' => [
- 'description' => '导演',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Poster' => [
- 'description' => '海报',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'MovieName' => [
- 'description' => '影片名称',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Description' => [
- 'description' => '影片简介',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Country' => [
- 'description' => '国家',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Duration' => [
- 'description' => '影片播放时长',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '190',
- ],
- 'MovieNameEn' => [
- 'description' => '影片英文名',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'LeadingRole' => [
- 'description' => '主演',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Id' => [
- 'description' => '影片ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5790',
- ],
+ 'Type' => ['description' => '影片类型', 'type' => 'string', 'example' => '剧情'],
+ 'MovieVersion' => ['description' => '影片版本', 'type' => 'string', 'example' => '""'],
+ 'BackgroundPicture' => ['description' => '影片背景图', 'type' => 'string', 'example' => '""'],
+ 'Remark' => ['description' => '评分', 'type' => 'string', 'example' => '9.7'],
+ 'OpenDay' => ['description' => '上映日期,格式YYYY-MM-DD HH:MM:SS', 'type' => 'string', 'example' => '2022-04-01 12:00:00'],
+ 'Highlight' => ['description' => '精彩点评', 'type' => 'string', 'example' => '""'],
+ 'Language' => ['description' => '对白语言', 'type' => 'string', 'example' => '""'],
+ 'OpenTime' => ['description' => '上映时间', 'type' => 'string', 'example' => '2022-04-01 12:00:00'."\n"],
+ 'Director' => ['description' => '导演', 'type' => 'string', 'example' => '""'],
+ 'Poster' => ['description' => '海报', 'type' => 'string', 'example' => '""'],
+ 'MovieName' => ['description' => '影片名称', 'type' => 'string', 'example' => '""'],
+ 'Description' => ['description' => '影片简介', 'type' => 'string', 'example' => '""'],
+ 'Country' => ['description' => '国家', 'type' => 'string', 'example' => '""'],
+ 'Duration' => ['description' => '影片播放时长', 'type' => 'integer', 'format' => 'int64', 'example' => '190'],
+ 'MovieNameEn' => ['description' => '影片英文名', 'type' => 'string', 'example' => '""'],
+ 'LeadingRole' => ['description' => '主演', 'type' => 'string', 'example' => '""'],
+ 'Id' => ['description' => '影片ID', 'type' => 'integer', 'format' => 'int64', 'example' => '5790'],
'MovieTypeList' => [
'type' => 'object',
'itemNode' => true,
@@ -18974,11 +9464,7 @@
'MovieTypeList' => [
'description' => '影片类型列表,内容如:2D、IMAX3D、3D、IMAX、剧情、其他等',
'type' => 'array',
- 'items' => [
- 'description' => '影片类型',
- 'type' => 'string',
- 'example' => '剧情',
- ],
+ 'items' => ['description' => '影片类型', 'type' => 'string', 'example' => '剧情'],
],
],
],
@@ -18989,11 +9475,7 @@
'TrailerList' => [
'description' => '剧照列表',
'type' => 'array',
- 'items' => [
- 'description' => '剧照',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'items' => ['description' => '剧照', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -19011,14 +9493,8 @@
'summary' => '获取某个城市的正在热映的电影。',
],
'QueryMovieComments' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19034,54 +9510,27 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'MovieId',
'in' => 'query',
- 'schema' => [
- 'description' => '影片ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '影片ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页码,从1开始', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -19089,47 +9538,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '42A19B5E-B9A0-5D41-91D0-CC316A97B92A',
- ],
- 'Success' => [
- 'description' => '请求是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '205',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Count' => [
- 'description' => '符合过滤条件的记录数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '42A19B5E-B9A0-5D41-91D0-CC316A97B92A'],
+ 'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '1004'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '205'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
+ 'Count' => ['description' => '符合过滤条件的记录数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'CommentList' => [
'type' => 'object',
'itemNode' => true,
@@ -19141,50 +9557,14 @@
'description' => '评论列表',
'type' => 'object',
'properties' => [
- 'Remark' => [
- 'description' => '评分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9',
- ],
- 'FavorCount' => [
- 'description' => '点赞数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'Subject' => [
- 'description' => '评论标题',
- 'type' => 'string',
- 'example' => '观***有感',
- ],
- 'MovieId' => [
- 'description' => '影片ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '""',
- ],
- 'NickName' => [
- 'description' => '用户昵称',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Content' => [
- 'description' => '评论内容',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Id' => [
- 'description' => '评论ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6331',
- ],
- 'CommentTime' => [
- 'description' => '评论时间',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'Remark' => ['description' => '评分', 'type' => 'integer', 'format' => 'int64', 'example' => '9'],
+ 'FavorCount' => ['description' => '点赞数', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'Subject' => ['description' => '评论标题', 'type' => 'string', 'example' => '观***有感'],
+ 'MovieId' => ['description' => '影片ID', 'type' => 'integer', 'format' => 'int64', 'example' => '""'],
+ 'NickName' => ['description' => '用户昵称', 'type' => 'string', 'example' => '""'],
+ 'Content' => ['description' => '评论内容', 'type' => 'string', 'example' => '""'],
+ 'Id' => ['description' => '评论ID', 'type' => 'integer', 'format' => 'int64', 'example' => '6331'],
+ 'CommentTime' => ['description' => '评论时间', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -19199,14 +9579,8 @@
'summary' => '开通电影服务客户使用。',
],
'QueryMovieSchedules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19222,40 +9596,22 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'CinemaId',
'in' => 'query',
- 'schema' => [
- 'description' => '电影院ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '电影院ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -19263,41 +9619,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
- 'Success' => [
- 'description' => '调用是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '207',
- ],
- 'LogsId' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
+ 'Success' => ['description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '1004'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '207'],
+ 'LogsId' => ['description' => '废弃', 'type' => 'string', 'example' => '1'],
'Schedules' => [
'type' => 'object',
'itemNode' => true,
@@ -19310,74 +9638,20 @@
."\n",
'type' => 'object',
'properties' => [
- 'MovieVersion' => [
- 'description' => '影片版本',
- 'type' => 'string',
- ],
- 'SessionEndingTime' => [
- 'description' => '场次结束时间',
- 'type' => 'string',
- 'example' => '2022-04-01 12:00:00',
- ],
- 'MaxCanBuy' => [
- 'description' => '同一个场次最多可购买的座位数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'MovieId' => [
- 'description' => '影片ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ScheduleArea' => [
- 'description' => '场次分区价信息',
- 'type' => 'string',
- ],
- 'HallName' => [
- 'description' => '影厅名称',
- 'type' => 'string',
- ],
- 'IsExpired' => [
- 'description' => '是否已过期',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'SessionStartingTime' => [
- 'description' => '场次开始时间',
- 'type' => 'string',
- 'example' => '2022-04-01 10:00:00'."\n",
- ],
- 'Price' => [
- 'description' => '价格(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5000',
- ],
- 'SectionId' => [
- 'description' => '如果有值,表示上下两层影厅',
- 'type' => 'string',
- 'example' => '00001:楼下',
- ],
- 'ReleaseDate' => [
- 'description' => '影片上映日期',
- 'type' => 'string',
- ],
- 'CinemaId' => [
- 'description' => '影院ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ServiceFee' => [
- 'description' => '服务费',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Id' => [
- 'description' => '场次ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'MovieVersion' => ['description' => '影片版本', 'type' => 'string'],
+ 'SessionEndingTime' => ['description' => '场次结束时间', 'type' => 'string', 'example' => '2022-04-01 12:00:00'],
+ 'MaxCanBuy' => ['description' => '同一个场次最多可购买的座位数', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'MovieId' => ['description' => '影片ID', 'type' => 'integer', 'format' => 'int64'],
+ 'ScheduleArea' => ['description' => '场次分区价信息', 'type' => 'string'],
+ 'HallName' => ['description' => '影厅名称', 'type' => 'string'],
+ 'IsExpired' => ['description' => '是否已过期', 'type' => 'boolean', 'example' => 'false'],
+ 'SessionStartingTime' => ['description' => '场次开始时间', 'type' => 'string', 'example' => '2022-04-01 10:00:00'."\n"],
+ 'Price' => ['description' => '价格(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'],
+ 'SectionId' => ['description' => '如果有值,表示上下两层影厅', 'type' => 'string', 'example' => '00001:楼下'],
+ 'ReleaseDate' => ['description' => '影片上映日期', 'type' => 'string'],
+ 'CinemaId' => ['description' => '影院ID', 'type' => 'integer', 'format' => 'int64'],
+ 'ServiceFee' => ['description' => '服务费', 'type' => 'integer', 'format' => 'int64'],
+ 'Id' => ['description' => '场次ID', 'type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -19392,14 +9666,8 @@
'summary' => '获取影院所有上映电影的排期。',
],
'QueryMovieSeats' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19415,42 +9683,22 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******004',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******004'],
],
[
'name' => 'ScheduleId',
'in' => 'query',
- 'schema' => [
- 'description' => '排期ID'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9******5',
- ],
+ 'schema' => ['description' => '排期ID'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '9******5'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -19458,126 +9706,31 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8',
- ],
- 'Success' => [
- 'description' => '请求是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8'],
+ 'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '成功'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '1004'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'SeatMap' => [
'description' => '座位信息',
'type' => 'object',
'properties' => [
- 'MaxCanBuy' => [
- 'description' => '同一个场次最多可购买的座位数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'TipMessage' => [
- 'description' => '影院强制弹窗须知',
- 'type' => 'string',
- 'example' => '3D眼镜需要收费',
- ],
- 'MaxRow' => [
- 'description' => '最大行'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'MinColumn' => [
- 'description' => '最小列'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15',
- ],
- 'MinTopPx' => [
- 'description' => '距离顶部最小间距'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '30',
- ],
- 'Notice' => [
- 'description' => '购票须知'."\n",
- 'type' => 'string',
- 'example' => '""',
- ],
- 'MaxColumn' => [
- 'description' => '最大列'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'Regular' => [
- 'description' => 'true 使用行列,false使用坐标'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'MaxTopPx' => [
- 'description' => '距离顶部最大间距'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '30',
- ],
- 'MaxLeftPx' => [
- 'description' => '距离左边最大间距'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '30',
- ],
- 'SoldCount' => [
- 'description' => '已售座位数'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50',
- ],
- 'MinRow' => [
- 'description' => '最小行'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15',
- ],
- 'SeatCount' => [
- 'description' => '座位总数量'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '150',
- ],
- 'MinLeftPx' => [
- 'description' => '距离左边最小间距'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '30',
- ],
+ 'MaxCanBuy' => ['description' => '同一个场次最多可购买的座位数', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'TipMessage' => ['description' => '影院强制弹窗须知', 'type' => 'string', 'example' => '3D眼镜需要收费'],
+ 'MaxRow' => ['description' => '最大行'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'MinColumn' => ['description' => '最小列'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '15'],
+ 'MinTopPx' => ['description' => '距离顶部最小间距'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30'],
+ 'Notice' => ['description' => '购票须知'."\n", 'type' => 'string', 'example' => '""'],
+ 'MaxColumn' => ['description' => '最大列'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'Regular' => ['description' => 'true 使用行列,false使用坐标'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'MaxTopPx' => ['description' => '距离顶部最大间距'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30'],
+ 'MaxLeftPx' => ['description' => '距离左边最大间距'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30'],
+ 'SoldCount' => ['description' => '已售座位数'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'MinRow' => ['description' => '最小行'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '15'],
+ 'SeatCount' => ['description' => '座位总数量'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '150'],
+ 'MinLeftPx' => ['description' => '距离左边最小间距'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30'],
'Seats' => [
'type' => 'object',
'itemNode' => true,
@@ -19589,62 +9742,16 @@
'description' => '座位列表',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '座位状态:1:可售,0:不可售,-1:删除(非法)'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Flag' => [
- 'description' => '座位标识。0:普通座位,1:情侣首座(左座),2:情侣第二座(右座)'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ExtId' => [
- 'description' => '座位ID',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'RowName' => [
- 'description' => '行名称'."\n",
- 'type' => 'string',
- 'example' => '""',
- ],
- 'TopPx' => [
- 'description' => '座位top偏移量,绘制座位图时的css样式,为30的倍数,例:top:30px'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '30',
- ],
- 'Area' => [
- 'description' => '区域',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Name' => [
- 'description' => '座位名称'."\n",
- 'type' => 'string',
- 'example' => 'VIP座位',
- ],
- 'LeftPx' => [
- 'description' => '座位left偏移量,绘制座位图时的css样式,为30的倍数,例:left:30px'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '30',
- ],
- 'Column' => [
- 'description' => '列'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'Row' => [
- 'description' => '行',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
+ 'Status' => ['description' => '座位状态:1:可售,0:不可售,-1:删除(非法)'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Flag' => ['description' => '座位标识。0:普通座位,1:情侣首座(左座),2:情侣第二座(右座)'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ExtId' => ['description' => '座位ID', 'type' => 'string', 'example' => '""'],
+ 'RowName' => ['description' => '行名称'."\n", 'type' => 'string', 'example' => '""'],
+ 'TopPx' => ['description' => '座位top偏移量,绘制座位图时的css样式,为30的倍数,例:top:30px'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30'],
+ 'Area' => ['description' => '区域', 'type' => 'string', 'example' => '""'],
+ 'Name' => ['description' => '座位名称'."\n", 'type' => 'string', 'example' => 'VIP座位'],
+ 'LeftPx' => ['description' => '座位left偏移量,绘制座位图时的css样式,为30的倍数,例:left:30px'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30'],
+ 'Column' => ['description' => '列'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'Row' => ['description' => '行', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
],
],
],
@@ -19661,13 +9768,8 @@
'summary' => '获取影院具体电影排期的座位信息。',
],
'QueryMovieTickets' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19683,51 +9785,27 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******002',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******002'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '业务用户ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '221******8495',
- ],
+ 'schema' => ['description' => '业务用户ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '221******8495'],
],
[
'name' => 'OrderId',
'in' => 'query',
- 'schema' => [
- 'description' => '订单ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '14******42',
- ],
+ 'schema' => ['description' => '订单ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '14******42'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -19735,61 +9813,21 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B',
- ],
- 'Success' => [
- 'description' => '请求是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'LogsId' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B'],
+ 'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '1004'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '1004'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'LogsId' => ['description' => '废弃', 'type' => 'string', 'example' => '1'],
'MovieTicket' => [
'description' => '电影票信息',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '电影票状态',
- 'type' => 'string',
- ],
- 'TbOrderId' => [
- 'description' => '淘宝订单号',
- 'type' => 'string',
- ],
- 'TicketContents' => [
- 'description' => '电影票的内容',
- 'type' => 'string',
- ],
- 'ReturnMessage' => [
- 'description' => '返回消息',
- 'type' => 'string',
- ],
+ 'Status' => ['description' => '电影票状态', 'type' => 'string'],
+ 'TbOrderId' => ['description' => '淘宝订单号', 'type' => 'string'],
+ 'TicketContents' => ['description' => '电影票的内容', 'type' => 'string'],
+ 'ReturnMessage' => ['description' => '返回消息', 'type' => 'string'],
],
],
],
@@ -19801,14 +9839,8 @@
'summary' => '获取出票信息。',
],
'QueryUpcomingMovies' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19824,43 +9856,23 @@
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'CityCode',
'in' => 'query',
- 'schema' => [
- 'description' => '城市编码',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '110100',
- ],
+ 'schema' => ['description' => '城市编码', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '110100'],
],
[
'name' => 'ExtJson',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -19868,47 +9880,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '9681B75A-1BE4-57D2-8C03-5B6BEF29378D',
- ],
- 'Success' => [
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '208',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9681B75A-1BE4-57D2-8C03-5B6BEF29378D'],
+ 'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '1004'],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '208'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'Movies' => [
'type' => 'object',
'itemNode' => true,
@@ -19920,98 +9899,25 @@
'description' => '影片列表',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '影片类型',
- 'type' => 'string',
- 'example' => '剧情',
- ],
- 'MovieVersion' => [
- 'description' => '影片版本',
- 'type' => 'string',
- ],
- 'BackgroundPicture' => [
- 'description' => '影片背景图',
- 'type' => 'string',
- ],
- 'Remark' => [
- 'description' => '评分',
- 'type' => 'string',
- 'example' => '9.6',
- ],
- 'OpenDay' => [
- 'description' => '上映日期,格式YYYY-MM-DD HH:MM:SS',
- 'type' => 'string',
- ],
- 'Highlight' => [
- 'description' => '精彩点评',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'MovieTypeList' => [
- 'description' => '影片类型,内容如:2D、IMAX3D、3D、IMAX、剧情、其他等',
- 'type' => 'string',
- ],
- 'Language' => [
- 'description' => '对白语言',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Director' => [
- 'description' => '导演',
- 'type' => 'string',
- ],
- 'OpenTime' => [
- 'description' => '上映时间',
- 'type' => 'string',
- 'example' => '2022-04-01 12:00:00',
- ],
- 'Poster' => [
- 'description' => '海报',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'MovieName' => [
- 'description' => '影片名称',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Description' => [
- 'description' => '影片简介',
- 'type' => 'string',
- 'example' => '影片简介',
- ],
- 'Country' => [
- 'description' => '国家',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Duration' => [
- 'description' => '影片播放时长',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '190',
- ],
- 'MovieNameEn' => [
- 'description' => '影片英文名',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'LeadingRole' => [
- 'description' => '主演',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Id' => [
- 'description' => '影片ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1159177',
- ],
- 'TrailerList' => [
- 'description' => '剧照',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'Type' => ['description' => '影片类型', 'type' => 'string', 'example' => '剧情'],
+ 'MovieVersion' => ['description' => '影片版本', 'type' => 'string'],
+ 'BackgroundPicture' => ['description' => '影片背景图', 'type' => 'string'],
+ 'Remark' => ['description' => '评分', 'type' => 'string', 'example' => '9.6'],
+ 'OpenDay' => ['description' => '上映日期,格式YYYY-MM-DD HH:MM:SS', 'type' => 'string'],
+ 'Highlight' => ['description' => '精彩点评', 'type' => 'string', 'example' => '""'],
+ 'MovieTypeList' => ['description' => '影片类型,内容如:2D、IMAX3D、3D、IMAX、剧情、其他等', 'type' => 'string'],
+ 'Language' => ['description' => '对白语言', 'type' => 'string', 'example' => '""'],
+ 'Director' => ['description' => '导演', 'type' => 'string'],
+ 'OpenTime' => ['description' => '上映时间', 'type' => 'string', 'example' => '2022-04-01 12:00:00'],
+ 'Poster' => ['description' => '海报', 'type' => 'string', 'example' => '""'],
+ 'MovieName' => ['description' => '影片名称', 'type' => 'string', 'example' => '""'],
+ 'Description' => ['description' => '影片简介', 'type' => 'string', 'example' => '影片简介'],
+ 'Country' => ['description' => '国家', 'type' => 'string', 'example' => '""'],
+ 'Duration' => ['description' => '影片播放时长', 'type' => 'integer', 'format' => 'int64', 'example' => '190'],
+ 'MovieNameEn' => ['description' => '影片英文名', 'type' => 'string', 'example' => '""'],
+ 'LeadingRole' => ['description' => '主演', 'type' => 'string', 'example' => '""'],
+ 'Id' => ['description' => '影片ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1159177'],
+ 'TrailerList' => ['description' => '剧照', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -20026,14 +9932,8 @@
'summary' => '购买电影服务客户使用。',
],
'ReleaseMovieSeat' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20049,52 +9949,27 @@
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******005',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******005'],
],
[
'name' => 'LockSeatApplyKey',
'in' => 'query',
- 'schema' => [
- 'description' => '锁座ID'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '锁座ID'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '业务用户ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '221249435****',
- ],
+ 'schema' => ['description' => '业务用户ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '221249435****'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -20102,60 +9977,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '3F43129B-020F-5F8A-88B0-9CBDE2AD6F52',
- ],
- 'Success' => [
- 'description' => '调用是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '205',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '3F43129B-020F-5F8A-88B0-9CBDE2AD6F52'],
+ 'Success' => ['description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '1004'],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '205'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'ActionResult' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'ReturnCode' => [
- 'description' => '0代表调用接口成功',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'ReturnValue' => [
- 'description' => 'true代表成功,false代表失败',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'ReturnMessage' => [
- 'description' => '返回接口调用描述',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'ReturnCode' => ['description' => '0代表调用接口成功', 'type' => 'string', 'example' => '0'],
+ 'ReturnValue' => ['description' => 'true代表成功,false代表失败', 'type' => 'string', 'example' => 'true'],
+ 'ReturnMessage' => ['description' => '返回接口调用描述', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -20167,99 +10002,50 @@
'summary' => '开通电影服务客户使用。',
],
'ReserveMovieSeat' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******003',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******003'],
],
[
'name' => 'ScheduleId',
'in' => 'query',
- 'schema' => [
- 'description' => '排期ID'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9******15',
- ],
+ 'schema' => ['description' => '排期ID'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '9******15'],
],
[
'name' => 'SeatIds',
'in' => 'query',
- 'schema' => [
- 'description' => '座位ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '座位ID', 'type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'SeatNames',
'in' => 'query',
- 'schema' => [
- 'description' => '座位名称',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '11排13座',
- ],
+ 'schema' => ['description' => '座位名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '11排13座'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '业务用户ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '22******85759',
- ],
+ 'schema' => ['description' => '业务用户ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '22******85759'],
],
[
'name' => 'Mobile',
'in' => 'query',
- 'schema' => [
- 'description' => '联系方式,手机号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '186******71',
- ],
+ 'schema' => ['description' => '联系方式,手机号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '186******71'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -20267,69 +10053,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B',
- ],
- 'Success' => [
- 'description' => '调用是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '207',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B'],
+ 'Success' => ['description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '成功'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '207'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'ReservedSeat' => [
'description' => '锁座结果',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '状态'."\n"
- .'LOCK_SUCCESS:锁座成功'."\n"
- .'LOCK_DOING:正在创建',
- 'type' => 'string',
- 'example' => 'LOCKSUCCESS',
- ],
- 'ReservedTime' => [
- 'description' => '锁座成功的时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1649302236658',
- ],
- 'ApplyKey' => [
- 'description' => '锁座冥等串。下单出票接口需要传入该字段',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'DefaultLockSecond' => [
- 'description' => '锁座时长。绝大部分影院是900s, 部分影院是600s',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '900',
- ],
+ 'Status' => ['description' => '状态'."\n"
+ .'LOCK_SUCCESS:锁座成功'."\n"
+ .'LOCK_DOING:正在创建', 'type' => 'string', 'example' => 'LOCKSUCCESS'],
+ 'ReservedTime' => ['description' => '锁座成功的时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1649302236658'],
+ 'ApplyKey' => ['description' => '锁座冥等串。下单出票接口需要传入该字段', 'type' => 'string', 'example' => '""'],
+ 'DefaultLockSecond' => ['description' => '锁座时长。绝大部分影院是900s, 部分影院是600s', 'type' => 'integer', 'format' => 'int64', 'example' => '900'],
],
],
],
@@ -20341,46 +10081,26 @@
'summary' => '基于电影排期和座位号给用户预订电影座位。',
],
'QueryBatchRegistAnonymousTbAccountResult' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210125****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210125****'],
],
[
'name' => 'BatchId',
'in' => 'query',
- 'schema' => [
- 'description' => 'batchId由批量注册淘宝账号接⼝返回',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10418*******',
- ],
+ 'schema' => ['description' => 'batchId由批量注册淘宝账号接⼝返回', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '10418*******'],
],
],
'responses' => [
@@ -20389,31 +10109,11 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => 'submit : 已提交;success: 全部成功;fail:全部失败;partSuccess:部分成功,部分失败',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B****',
- ],
- 'BatchId' => [
- 'description' => '查询条件由批量注册淘宝账号接⼝返回',
- 'type' => 'string',
- 'example' => '10418*******'."\n",
- ],
+ 'Status' => ['description' => 'submit : 已提交;success: 全部成功;fail:全部失败;partSuccess:部分成功,部分失败', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B****'],
+ 'BatchId' => ['description' => '查询条件由批量注册淘宝账号接⼝返回', 'type' => 'string', 'example' => '10418*******'."\n"],
'FailIds' => [
'type' => 'object',
'itemNode' => true,
@@ -20421,11 +10121,7 @@
'FailId' => [
'description' => '注册失败的id列表',
'type' => 'array',
- 'items' => [
- 'description' => '注册失败的id列表',
- 'type' => 'string',
- 'example' => '["id1","id2"]',
- ],
+ 'items' => ['description' => '注册失败的id列表', 'type' => 'string', 'example' => '["id1","id2"]'],
],
],
],
@@ -20439,45 +10135,25 @@
'description' => '由于批量注册淘宝账号接⼝是异步接⼝,需要使⽤查询接⼝来查询注册结果。',
],
'BatchRegistAnonymousTbAccount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210802****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210802****'],
],
[
'name' => 'IdJsonList',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧⽤户ID列表(最多20个)',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'idJsonList": "[\\"id1\\", \\"id2\\"]',
- ],
+ 'schema' => ['description' => '客户侧⽤户ID列表(最多20个)', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'idJsonList": "[\\"id1\\", \\"id2\\"]'],
],
],
'responses' => [
@@ -20486,26 +10162,10 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '37899973-5963-5028-BA54-180A5B107****',
- ],
- 'BatchId' => [
- 'description' => '调⽤查询注册结果接⼝时的查询条件',
- 'type' => 'string',
- 'example' => '[\\"id1\\", \\"id2\\"]',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '37899973-5963-5028-BA54-180A5B107****'],
+ 'BatchId' => ['description' => '调⽤查询注册结果接⼝时的查询条件', 'type' => 'string', 'example' => '[\\"id1\\", \\"id2\\"]'],
],
],
],
@@ -20522,14 +10182,8 @@
.' }',
],
'ValidateTaobaoAccount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20546,61 +10200,32 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '42******681',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '42******681'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- 'default' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}', 'default' => '{}'],
],
[
'name' => 'TbUserNick',
'in' => 'query',
- 'schema' => [
- 'description' => '淘宝用户昵称',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '淘宝用户昵称', 'type' => 'string', 'required' => false],
],
[
'name' => 'MobileNo',
'in' => 'query',
- 'schema' => [
- 'description' => '手机号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '181****0115',
- ],
+ 'schema' => ['description' => '手机号', 'type' => 'string', 'required' => false, 'example' => '181****0115'],
],
],
'responses' => [
@@ -20608,52 +10233,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DAAA6391-3339-5333-9E4D-C71CD26A231F',
- ],
- 'Success' => [
- 'description' => '请求是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '调用失败时,返回的出错信息',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '205',
- ],
- 'TotalCount' => [
- 'description' => '总记录数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'LogsId' => [
- 'description' => '废弃',
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DAAA6391-3339-5333-9E4D-C71CD26A231F'],
+ 'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '调用失败时,返回的出错信息', 'type' => 'string', 'example' => '1004'],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '205'],
+ 'TotalCount' => ['description' => '总记录数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'LogsId' => ['description' => '废弃', 'type' => 'string'],
'Model' => [
'type' => 'object',
'properties' => [
- 'Match' => [
- 'type' => 'boolean',
- ],
+ 'Match' => ['type' => 'boolean'],
],
],
],
@@ -20665,45 +10256,25 @@
'summary' => '验证淘宝账号。',
],
'RegistAnonymousTbAccount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20190729****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20190729****'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '238837487****',
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '238837487****'],
],
],
'responses' => [
@@ -20712,21 +10283,9 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'FC994CBE-F97C-5C58-ACF3-86F0292C****',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'FC994CBE-F97C-5C58-ACF3-86F0292C****'],
],
],
],
@@ -20743,14 +10302,8 @@
.' }',
],
'GetCategoryChain' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20758,55 +10311,28 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******003',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******003'],
],
[
'name' => 'CategoryId',
'in' => 'query',
- 'schema' => [
- 'description' => '类⽬ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '50012478',
- ],
+ 'schema' => ['description' => '类⽬ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '50012478'],
],
[
'name' => 'ItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品ID,不可与CategoryId同时为空',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '637284556514',
- ],
+ 'schema' => ['description' => '商品ID,不可与CategoryId同时为空', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '637284556514'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000055-609650881234',
- ],
+ 'schema' => ['description' => 'lm侧商品ID', 'type' => 'string', 'required' => false, 'example' => '10000055-609650881234'],
],
],
'responses' => [
@@ -20814,20 +10340,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string'],
'CategoryList' => [
'description' => '商品所属类⽬链;⽗类⽬在前,⼦类⽬在后。',
'type' => 'array',
@@ -20835,17 +10350,8 @@
'description' => '类目列表',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '类目名称',
- 'type' => 'string',
- 'example' => '生鲜',
- ],
- 'CategoryId' => [
- 'description' => '类目ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12123',
- ],
+ 'Name' => ['description' => '类目名称', 'type' => 'string', 'example' => '生鲜'],
+ 'CategoryId' => ['description' => '类目ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12123'],
],
],
],
@@ -20868,45 +10374,25 @@
.' ]',
],
'GetCategoryList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20*****08',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20*****08'],
],
[
'name' => 'CategoryId',
'in' => 'query',
- 'schema' => [
- 'description' => '类目ID,0表示查询1级类目',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '50000852',
- ],
+ 'schema' => ['description' => '类目ID,0表示查询1级类目', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '50000852'],
],
],
'responses' => [
@@ -20914,21 +10400,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '96B4141C-A3CD-5162-B435-4780A75E3D97',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => '成功'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '96B4141C-A3CD-5162-B435-4780A75E3D97'],
'CategoryList' => [
'type' => 'object',
'itemNode' => true,
@@ -20940,17 +10414,8 @@
'description' => '类目列表',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '类目名称',
- 'type' => 'string',
- 'example' => '生鲜',
- ],
- 'CategoryId' => [
- 'description' => '类目ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12312312',
- ],
+ 'Name' => ['description' => '类目名称', 'type' => 'string', 'example' => '生鲜'],
+ 'CategoryId' => ['description' => '类目ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'],
],
],
],
@@ -20975,13 +10440,8 @@
.' ]',
],
'ConfirmDisburse' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20997,72 +10457,37 @@
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******01',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******01'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9f99f38030254728***',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9f99f38030254728***'],
],
[
'name' => 'LmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '449975059**',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '449975059**'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false, 'example' => '2'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
],
'responses' => [
@@ -21071,21 +10496,9 @@
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => '成功'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
],
],
],
@@ -21096,14 +10509,8 @@
'description' => '只⽀持主订单确认收货',
],
'AddAddress' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21117,51 +10524,27 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL202202100002',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL202202100002'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => '1'],
],
[
'name' => 'AddressInfo',
'in' => 'formData',
- 'schema' => [
- 'description' => '地址信息',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{\\"addressId\\":\\"14530893759\\",\\"province\\":\\"北京\\",\\"city\\":\\"北京市\\",\\"area\\":\\"朝阳区\\",\\"town\\":\\"东风镇\\",\\"addressDetail\\":\\"测试地址,请勿发货\\",\\"fullName\\":\\"ty测试\\",\\"mobile\\":\\"13333333333\\",\\"status\\":0}',
- ],
+ 'schema' => ['description' => '地址信息', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{\\"addressId\\":\\"14530893759\\",\\"province\\":\\"北京\\",\\"city\\":\\"北京市\\",\\"area\\":\\"朝阳区\\",\\"town\\":\\"东风镇\\",\\"addressDetail\\":\\"测试地址,请勿发货\\",\\"fullName\\":\\"ty测试\\",\\"mobile\\":\\"13333333333\\",\\"status\\":0}'],
],
],
'responses' => [
@@ -21169,27 +10552,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '返回码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
- 'AddressId' => [
- 'description' => '地址id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '560100452',
- ],
+ 'Code' => ['description' => '返回码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
+ 'AddressId' => ['description' => '地址id。', 'type' => 'integer', 'format' => 'int64', 'example' => '560100452'],
],
],
],
@@ -21199,14 +10565,8 @@
'summary' => '添加地址。',
],
'UpdateAddress' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21220,50 +10580,27 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMMINIAPP202004140002',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMMINIAPP202004140002'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => '1'],
],
[
'name' => 'AddressInfo',
'in' => 'formData',
- 'schema' => [
- 'description' => '地址信息',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{\\"addressId\\":\\"14530893759\\",\\"province\\":\\"北京\\",\\"city\\":\\"北京市\\",\\"area\\":\\"朝阳区\\",\\"town\\":\\"东风镇\\",\\"addressDetail\\":\\"测试地址,请勿发货\\",\\"fullName\\":\\"ty测试\\",\\"mobile\\":\\"13333333333\\",\\"status\\":0}',
- ],
+ 'schema' => ['description' => '地址信息', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{\\"addressId\\":\\"14530893759\\",\\"province\\":\\"北京\\",\\"city\\":\\"北京市\\",\\"area\\":\\"朝阳区\\",\\"town\\":\\"东风镇\\",\\"addressDetail\\":\\"测试地址,请勿发货\\",\\"fullName\\":\\"ty测试\\",\\"mobile\\":\\"13333333333\\",\\"status\\":0}'],
],
],
'responses' => [
@@ -21271,21 +10608,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '返回码。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回消息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8',
- ],
+ 'Code' => ['description' => '返回码。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8'],
],
],
],
@@ -21295,14 +10620,8 @@
'summary' => '更新用户地址。',
],
'QueryAddress' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21319,42 +10638,23 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL202106040001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL202106040001'],
],
[
'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'required' => false,
- 'example' => '113.77.105.73',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'string', 'required' => false, 'example' => '113.77.105.73'],
],
[
'name' => 'DivisionCode',
'in' => 'query',
- 'schema' => [
- 'description' => '配送区域ID(默认为1)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '510132',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '配送区域ID(默认为1)', 'type' => 'string', 'required' => false, 'example' => '510132', 'default' => '1'],
],
],
'responses' => [
@@ -21362,21 +10662,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '1A0D9B6B-EBEA-5B7C-B10D-C4455F842637',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'Success'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '1A0D9B6B-EBEA-5B7C-B10D-C4455F842637'],
'DivisionAddress' => [
'type' => 'object',
'itemNode' => true,
@@ -21388,29 +10676,10 @@
'description' => '查询到的地址信息。',
'type' => 'object',
'properties' => [
- 'ParentId' => [
- 'description' => '父类层级ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '30226760',
- ],
- 'DivisionCode' => [
- 'description' => '地址区划码',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '210211019',
- ],
- 'DivisionLevel' => [
- 'description' => '地址等级',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DivisionName' => [
- 'description' => '地址名称',
- 'type' => 'string',
- 'example' => '某市',
- ],
+ 'ParentId' => ['description' => '父类层级ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '30226760'],
+ 'DivisionCode' => ['description' => '地址区划码', 'type' => 'integer', 'format' => 'int64', 'example' => '210211019'],
+ 'DivisionLevel' => ['description' => '地址等级', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DivisionName' => ['description' => '地址名称', 'type' => 'string', 'example' => '某市'],
],
],
],
@@ -21428,14 +10697,8 @@
.'注意:返回的divisionCode有跨级别的情况,例如通过2级(省)地址的divisionCode(410000)查询返回的3级(市)地址中包含4级地址(410881),此种原因是由于个别市为县级市',
],
'QueryAddressDetail' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21449,51 +10712,28 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2******01',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2******01'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => '1'],
],
[
'name' => 'AddressInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '地址信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"addressId\\":\\"14530893759\\",\\"province\\":\\"北京\\",\\"city\\":\\"北京市\\",\\"area\\":\\"朝阳区\\",\\"town\\":\\"东风镇\\",\\"addressDetail\\":\\"测试地址,请勿发货\\",\\"fullName\\":\\"ty**测试\\",\\"mobile\\":\\"133*****333\\",\\"status\\":0}',
- ],
+ 'schema' => ['description' => '地址信息', 'type' => 'string', 'required' => false, 'example' => '{\\"addressId\\":\\"14530893759\\",\\"province\\":\\"北京\\",\\"city\\":\\"北京市\\",\\"area\\":\\"朝阳区\\",\\"town\\":\\"东风镇\\",\\"addressDetail\\":\\"测试地址,请勿发货\\",\\"fullName\\":\\"ty**测试\\",\\"mobile\\":\\"133*****333\\",\\"status\\":0}'],
],
],
'responses' => [
@@ -21501,91 +10741,26 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8'],
'DeliveryAddress' => [
'description' => '地址信息。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '收货地址状态 0: 非默认收获地址 1: 默认收获地址',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'PostCode' => [
- 'description' => '邮政编码。如果不传我们会写入 000000。',
- 'type' => 'string',
- 'example' => '518055',
- ],
- 'FullName' => [
- 'description' => '收货人全名。',
- 'type' => 'string',
- 'example' => '金*****股份有限公司',
- ],
- 'AddressDetail' => [
- 'description' => '详细收货地址。(只需要街道)',
- 'type' => 'string',
- 'example' => '********************',
- ],
- 'City' => [
- 'description' => '所属城市',
- 'type' => 'string',
- 'example' => '北京',
- ],
- 'AddressId' => [
- 'description' => '地址记录ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '313312207',
- ],
- 'DivisionCode' => [
- 'description' => '省市区代码',
- 'type' => 'string',
- 'example' => '321112104',
- ],
- 'Mobile' => [
- 'description' => '联系方式,手机号',
- 'type' => 'string',
- 'example' => '18941288583',
- ],
- 'Country' => [
- 'description' => '所属国家',
- 'type' => 'string',
- 'example' => 'CN',
- ],
- 'Area' => [
- 'description' => '区域',
- 'type' => 'string',
- 'example' => 'fujian',
- ],
- 'TownDivisionCode' => [
- 'description' => '第4级地址ID 镇、街道',
- 'type' => 'string',
- ],
- 'Town' => [
- 'description' => '城镇',
- 'type' => 'string',
- 'example' => '荔湾区',
- ],
- 'Province' => [
- 'description' => '省份',
- 'type' => 'string',
- 'example' => '北京市',
- ],
+ 'Status' => ['description' => '收货地址状态 0: 非默认收获地址 1: 默认收获地址', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'PostCode' => ['description' => '邮政编码。如果不传我们会写入 000000。', 'type' => 'string', 'example' => '518055'],
+ 'FullName' => ['description' => '收货人全名。', 'type' => 'string', 'example' => '金*****股份有限公司'],
+ 'AddressDetail' => ['description' => '详细收货地址。(只需要街道)', 'type' => 'string', 'example' => '********************'],
+ 'City' => ['description' => '所属城市', 'type' => 'string', 'example' => '北京'],
+ 'AddressId' => ['description' => '地址记录ID', 'type' => 'integer', 'format' => 'int64', 'example' => '313312207'],
+ 'DivisionCode' => ['description' => '省市区代码', 'type' => 'string', 'example' => '321112104'],
+ 'Mobile' => ['description' => '联系方式,手机号', 'type' => 'string', 'example' => '18941288583'],
+ 'Country' => ['description' => '所属国家', 'type' => 'string', 'example' => 'CN'],
+ 'Area' => ['description' => '区域', 'type' => 'string', 'example' => 'fujian'],
+ 'TownDivisionCode' => ['description' => '第4级地址ID 镇、街道', 'type' => 'string'],
+ 'Town' => ['description' => '城镇', 'type' => 'string', 'example' => '荔湾区'],
+ 'Province' => ['description' => '省份', 'type' => 'string', 'example' => '北京市'],
],
],
],
@@ -21600,14 +10775,8 @@
'requestParamsDescription' => '入参AddressInfo为json字符串,实际用到的参数只有addressId,根据addressId查询用户的收货地址详情。',
],
'QueryAddressList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21621,42 +10790,23 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL2***100001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL2***100001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '12312',
- ],
+ 'schema' => ['description' => '客户侧用户ID'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '12312'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => '1'],
],
],
'responses' => [
@@ -21664,96 +10814,31 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回消息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '阿里云为该请求生成的唯一标识符。',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED14B8'],
'AddressList' => [
'description' => '地址列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '收货地址状态 0: 非默认收获地址 1: 默认收获地址'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PostCode' => [
- 'description' => '邮政编码。如果不传我们会写入 000000。',
- 'type' => 'string',
- 'example' => '323050',
- ],
- 'FullName' => [
- 'description' => '收货人全名。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '海***',
- ],
- 'AddressDetail' => [
- 'description' => '详细收货地址。(只需要街道)'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '*********************',
- ],
- 'City' => [
- 'description' => '市。',
- 'type' => 'string',
- 'example' => '北京市',
- ],
- 'AddressId' => [
- 'description' => '地址id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '314304607',
- ],
- 'DivisionCode' => [
- 'description' => '四级配送区域编码,查询该区域库存。该字段通过queryAddress接⼝获取',
- 'type' => 'string',
- 'example' => '230921',
- ],
- 'Mobile' => [
- 'description' => '手机号。',
- 'type' => 'string',
- 'example' => '18611921898',
- ],
- 'Country' => [
- 'description' => '国家',
- 'type' => 'string',
- 'example' => 'CN',
- ],
- 'Area' => [
- 'description' => '区域',
- 'type' => 'string',
- 'example' => 'xianggang',
- ],
- 'TownDivisionCode' => [
- 'description' => '第4级地址ID 镇、街道'."\n"
- ."\n",
- 'type' => 'string',
- ],
- 'Town' => [
- 'description' => '城镇',
- 'type' => 'string',
- 'example' => '洪山区',
- ],
- 'Province' => [
- 'description' => '省份',
- 'type' => 'string',
- 'example' => '广东省',
- ],
+ 'Status' => ['description' => '收货地址状态 0: 非默认收获地址 1: 默认收获地址'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PostCode' => ['description' => '邮政编码。如果不传我们会写入 000000。', 'type' => 'string', 'example' => '323050'],
+ 'FullName' => ['description' => '收货人全名。'."\n"
+ ."\n", 'type' => 'string', 'example' => '海***'],
+ 'AddressDetail' => ['description' => '详细收货地址。(只需要街道)'."\n"
+ ."\n", 'type' => 'string', 'example' => '*********************'],
+ 'City' => ['description' => '市。', 'type' => 'string', 'example' => '北京市'],
+ 'AddressId' => ['description' => '地址id', 'type' => 'integer', 'format' => 'int64', 'example' => '314304607'],
+ 'DivisionCode' => ['description' => '四级配送区域编码,查询该区域库存。该字段通过queryAddress接⼝获取', 'type' => 'string', 'example' => '230921'],
+ 'Mobile' => ['description' => '手机号。', 'type' => 'string', 'example' => '18611921898'],
+ 'Country' => ['description' => '国家', 'type' => 'string', 'example' => 'CN'],
+ 'Area' => ['description' => '区域', 'type' => 'string', 'example' => 'xianggang'],
+ 'TownDivisionCode' => ['description' => '第4级地址ID 镇、街道'."\n"
+ ."\n", 'type' => 'string'],
+ 'Town' => ['description' => '城镇', 'type' => 'string', 'example' => '洪山区'],
+ 'Province' => ['description' => '省份', 'type' => 'string', 'example' => '广东省'],
],
],
],
@@ -21766,14 +10851,8 @@
'summary' => '查询C端用户地址,满足用户下单时候收货地址查看的需要。',
],
'RemoveAddress' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21787,53 +10866,28 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL202101250001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL202101250001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1221',
- ],
+ 'schema' => ['description' => '客户侧用户ID', 'type' => 'string', 'required' => false, 'example' => '1221'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => '1'],
],
[
'name' => 'AddressInfo',
'in' => 'formData',
- 'schema' => [
- 'description' => '地址信息',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{\\"addressId\\":\\"14530893759\\",\\"province\\":\\"北京\\",\\"city\\":\\"北京市\\",\\"area\\":\\"朝阳区\\",\\"town\\":\\"东风镇\\",\\"addressDetail\\":\\"测试地址,请勿发货\\",\\"fullName\\":\\"ty***测试\\",\\"mobile\\":\\"133****3333\\",\\"status\\":0}',
- ],
+ 'schema' => ['description' => '地址信息', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{\\"addressId\\":\\"14530893759\\",\\"province\\":\\"北京\\",\\"city\\":\\"北京市\\",\\"area\\":\\"朝阳区\\",\\"town\\":\\"东风镇\\",\\"addressDetail\\":\\"测试地址,请勿发货\\",\\"fullName\\":\\"ty***测试\\",\\"mobile\\":\\"133****3333\\",\\"status\\":0}'],
],
],
'responses' => [
@@ -21841,21 +10895,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '返回消息。',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'RequestId' => [
- 'description' => '阿里云为该请求生成的唯一标识符。',
- 'type' => 'string',
- 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B',
- ],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => '成功'],
+ 'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B'],
],
],
],
@@ -21865,13 +10907,8 @@
'summary' => '根据AddressInfo内的addressId参数删除收货地址。',
],
'AddItemToSubBizs' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21879,52 +10916,28 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20190325****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20190325****'],
],
[
'name' => 'ItemId',
'in' => 'formData',
- 'schema' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '57835029****',
- ],
+ 'schema' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '57835029****'],
],
[
'name' => 'LmItemId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10001036-66644894****',
- ],
+ 'schema' => ['description' => 'lm侧商品id', 'type' => 'string', 'required' => false, 'example' => '10001036-66644894****'],
],
[
'name' => 'SubBizIds',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'description' => '子渠道ID',
- 'type' => 'object',
- 'required' => false,
- 'example' => '["id1", "id2"]',
- ],
+ 'schema' => ['description' => '子渠道ID', 'type' => 'object', 'required' => false, 'example' => '["id1", "id2"]'],
],
],
'responses' => [
@@ -21933,35 +10946,17 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****'],
],
],
],
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"RequestId\\": \\"A7BE4356-7F92-533E-A31B-2EBF2D67****\\"\\n}","type":"json"}]',
@@ -21970,14 +10965,8 @@
'description' => '添加商品到多个子渠道商品库中'."\n",
],
'CreateSettleConfirm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21991,73 +10980,42 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'OutRequestNo',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'OutTradeNo',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => true],
],
[
'name' => 'TradeNo',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => true],
],
[
'name' => 'SettleInfo',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'MerchantId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20******05',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20******05'],
],
],
'responses' => [
@@ -22065,30 +11023,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B',
- ],
+ 'Code' => ['description' => '错误码。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B'],
'TradeSettleConfirmResponse' => [
'type' => 'object',
'properties' => [
- 'TradeNo' => [
- 'type' => 'string',
- ],
- 'OutRequestNo' => [
- 'type' => 'string',
- ],
+ 'TradeNo' => ['type' => 'string'],
+ 'OutRequestNo' => ['type' => 'string'],
],
],
],
@@ -22097,10 +11039,7 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"RequestId\\": \\"5E2D59BA-4EB0-45C4-A0D7-D98C1A4B320B\\",\\n \\"TradeSettleConfirmResponse\\": {\\n \\"TradeNo\\": \\"\\",\\n \\"OutRequestNo\\": \\"\\"\\n }\\n}","type":"json"}]',
@@ -22108,14 +11047,8 @@
'summary' => '支付单结算。',
],
'ModifyOrderDeliveryAddress' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22132,54 +11065,27 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20190325****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20190325****'],
],
[
'name' => 'ExtJson',
'in' => 'query',
- 'schema' => [
- 'description' => '拓展字段',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"mobileNo\\":\\"123****8965\\"}',
- 'default' => '{}',
- ],
+ 'schema' => ['description' => '拓展字段', 'type' => 'string', 'required' => false, 'example' => '{\\"mobileNo\\":\\"123****8965\\"}', 'default' => '{}'],
],
[
'name' => 'DeliveryAddress',
'in' => 'query',
- 'schema' => [
- 'description' => '收货地址信息,json序列化后的字符串',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{\\"divisionCode\\":\\"44****\\",\\"addressDetail\\":\\"云城\\",\\"mobile\\":\\"180****0041\\",\\"fullName\\":\\"小宇\\",\\"townDivisionCode\\":\\"440******\\"}',
- ],
+ 'schema' => ['description' => '收货地址信息,json序列化后的字符串', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{\\"divisionCode\\":\\"44****\\",\\"addressDetail\\":\\"云城\\",\\"mobile\\":\\"180****0041\\",\\"fullName\\":\\"小宇\\",\\"townDivisionCode\\":\\"440******\\"}'],
],
[
'name' => 'LmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '53396****',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '53396****'],
],
],
'responses' => [
@@ -22187,55 +11093,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B****',
- ],
- 'Success' => [
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '调用成功时,返回的信息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The specified parameter %s value is not valid.',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12',
- ],
- 'LogsId' => [
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识'."\n",
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '5E2D59BA-4EB0-45C4-A0D7-D98C1A4B****'],
+ 'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '调用成功时,返回的信息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '1004'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
+ 'LogsId' => ['description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识'."\n", 'type' => 'string', 'example' => '1'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'ResultInfo' => [
- 'description' => '返回结果',
- 'type' => 'object',
- ],
+ 'ResultInfo' => ['description' => '返回结果', 'type' => 'object'],
],
],
],
@@ -22244,10 +11114,7 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5E2D59BA-4EB0-45C4-A0D7-D98C1A4B****\\",\\n \\"Success\\": true,\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"The specified parameter %s value is not valid.\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"TotalCount\\": 12,\\n \\"LogsId\\": \\"1\\",\\n \\"Model\\": {\\n \\"ResultInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n}","type":"json"}]',
@@ -22267,14 +11134,8 @@
.' }',
],
'QueryAdvertisementSettleInfo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22288,105 +11149,52 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'MediaSettleDetailId',
'in' => 'query',
- 'schema' => [
- 'description' => '媒体结算详情ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '媒体结算详情ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'ChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '渠道ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '5781******561',
- ],
+ 'schema' => ['description' => '渠道ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '5781******561'],
],
[
'name' => 'SettleNo',
'in' => 'query',
- 'schema' => [
- 'description' => '结算单号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'TEST000000',
- ],
+ 'schema' => ['description' => '结算单号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'TEST000000'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2021-08-01 00:00:00',
- ],
+ 'schema' => ['description' => '开始时间', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2021-08-01 00:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-08-01 01:00:00'."\n",
- ],
+ 'schema' => ['description' => '结束时间', 'type' => 'string', 'required' => false, 'example' => '2021-08-01 01:00:00'."\n"],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页多少条记录,最大为20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页多少条记录,最大为20条', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ExtInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"key":"value"}',
- ],
+ 'schema' => ['description' => '扩展信息。', 'type' => 'string', 'required' => false, 'example' => '{"key":"value"}'],
],
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20******006',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20******006'],
],
],
'responses' => [
@@ -22394,69 +11202,21 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'D94987AE-2290-5084-AA34-53C50A245AFA',
- ],
- 'Success' => [
- 'description' => '调用是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '206',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D94987AE-2290-5084-AA34-53C50A245AFA'],
+ 'Success' => ['description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '成功'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '206'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '每页显示的条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '19',
- ],
+ 'PageSize' => ['description' => '每页显示的条数', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'PageNumber' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '19'],
'AdvertiseSettleInfoList' => [
'description' => '广告结算单信息列表',
'type' => 'array',
@@ -22464,66 +11224,18 @@
'description' => '广告结算单信息列表',
'type' => 'object',
'properties' => [
- 'AdvertiseSettleDetailId' => [
- 'description' => '广告结算单ID',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'CreateDate' => [
- 'description' => '创建时间',
- 'type' => 'string',
- 'example' => '2021-09-11 10:00:00'."\n",
- ],
- 'MediaSettleDetailId' => [
- 'description' => '媒体结算详情ID',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'EndTime' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2021-09-11 10:01:00',
- ],
- 'StartTime' => [
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2021-09-11 10:00:00'."\n",
- ],
- 'SettleNo' => [
- 'description' => '结算单号',
- 'type' => 'string',
- 'example' => 'TEST000000',
- ],
- 'AdvertiseSettleAmount' => [
- 'description' => '广告结算金额',
- 'type' => 'string',
- 'example' => '1000',
- ],
- 'SettleStatus' => [
- 'description' => '结算状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'AdvertiseName' => [
- 'description' => '广告名',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ChannelId' => [
- 'description' => '渠道ID',
- 'type' => 'string',
- 'example' => '5781******561'."\n",
- ],
- 'ModifiedDate' => [
- 'description' => '更新时间',
- 'type' => 'string',
- 'example' => '2021-09-11 10:01:00'."\n",
- ],
+ 'AdvertiseSettleDetailId' => ['description' => '广告结算单ID', 'type' => 'string', 'example' => '""'],
+ 'CreateDate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2021-09-11 10:00:00'."\n"],
+ 'MediaSettleDetailId' => ['description' => '媒体结算详情ID', 'type' => 'string', 'example' => '""'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'string', 'example' => '{}'],
+ 'EndTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2021-09-11 10:01:00'],
+ 'StartTime' => ['description' => '开始时间', 'type' => 'string', 'example' => '2021-09-11 10:00:00'."\n"],
+ 'SettleNo' => ['description' => '结算单号', 'type' => 'string', 'example' => 'TEST000000'],
+ 'AdvertiseSettleAmount' => ['description' => '广告结算金额', 'type' => 'string', 'example' => '1000'],
+ 'SettleStatus' => ['description' => '结算状态', 'type' => 'string', 'example' => '""'],
+ 'AdvertiseName' => ['description' => '广告名', 'type' => 'string', 'example' => '""'],
+ 'ChannelId' => ['description' => '渠道ID', 'type' => 'string', 'example' => '5781******561'."\n"],
+ 'ModifiedDate' => ['description' => '更新时间', 'type' => 'string', 'example' => '2021-09-11 10:01:00'."\n"],
],
],
],
@@ -22535,14 +11247,8 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D94987AE-2290-5084-AA34-53C50A245AFA\\",\\n \\"Success\\": true,\\n \\"SubMessage\\": \\"成功\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"SubCode\\": \\"206\\",\\n \\"TotalCount\\": 19,\\n \\"LogsId\\": \\"1\\",\\n \\"Model\\": {\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"AdvertiseSettleInfoList\\": [\\n {\\n \\"AdvertiseSettleDetailId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"CreateDate\\": \\"2021-09-11 10:00:00\\\\n\\",\\n \\"MediaSettleDetailId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ExtInfo\\": \\"{}\\",\\n \\"EndTime\\": \\"2021-09-11 10:01:00\\",\\n \\"StartTime\\": \\"2021-09-11 10:00:00\\\\n\\",\\n \\"SettleNo\\": \\"TEST000000\\",\\n \\"AdvertiseSettleAmount\\": \\"1000\\",\\n \\"SettleStatus\\": \\"\\\\\\"\\\\\\"\\",\\n \\"AdvertiseName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ChannelId\\": \\"5781******561\\\\n\\",\\n \\"ModifiedDate\\": \\"2021-09-11 10:01:00\\\\n\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
@@ -22551,13 +11257,8 @@
],
'QueryBizItemListWithCache' => [
'summary' => ' 获取客户专属商品库全部商品(分⻚查询业务商品库)。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22565,21 +11266,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'title' => 'pageNumber',
- 'description' => '分页页码,从1开始。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => 'pageNumber', 'description' => '分页页码,从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ItemIds',
@@ -22589,49 +11281,24 @@
'title' => 'itemIds',
'description' => '商品ID列表',
'type' => 'array',
- 'items' => [
- 'description' => '商品ID列表',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '[664148141***,663735776***]',
- ],
+ 'items' => ['description' => '商品ID列表', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[664148141***,663735776***]'],
'required' => true,
],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'title' => 'pageSize',
- 'description' => '每⻚多少条记录,最⼤20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['title' => 'pageSize', 'description' => '每⻚多少条记录,最⼤20条', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'SubBizCode',
'in' => 'query',
- 'schema' => [
- 'title' => 'subBizCode',
- 'description' => '子业务号',
- 'type' => 'string',
- 'required' => true,
- 'example' => '7ddaba53d5be4173808f2335eac0****',
- ],
+ 'schema' => ['title' => 'subBizCode', 'description' => '子业务号', 'type' => 'string', 'required' => true, 'example' => '7ddaba53d5be4173808f2335eac0****'],
],
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => 'bizId',
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20211119****',
- ],
+ 'schema' => ['title' => 'bizId', 'description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'example' => 'LMALL20211119****'],
],
[
'name' => 'LmItemIds',
@@ -22641,12 +11308,7 @@
'title' => 'lmItemIds',
'description' => 'lm侧商品ID列表',
'type' => 'array',
- 'items' => [
- 'description' => 'lm侧商品ID列表',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"10000230-60716881****\\",\\"10000021-59183191****\\"]',
- ],
+ 'items' => ['description' => 'lm侧商品ID列表', 'type' => 'string', 'required' => false, 'example' => '[\\"10000230-60716881****\\",\\"10000021-59183191****\\"]'],
'required' => false,
],
],
@@ -22658,39 +11320,11 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'title' => 'totalCount',
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '13',
- ],
- 'Message' => [
- 'title' => 'message',
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The specified parameter %s value is not valid.',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => '每页多少条记录,最大为20条',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'title' => 'requestId',
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'F2D3CA1E-28BE-5E1C-B55F-81C8F290****',
- ],
- 'PageNumber' => [
- 'title' => 'pageNumber',
- 'description' => '分页页码,从1开始。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['title' => 'totalCount', 'description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '13'],
+ 'Message' => ['title' => 'message', 'description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The specified parameter %s value is not valid.'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => '每页多少条记录,最大为20条', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['title' => 'requestId', 'description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'F2D3CA1E-28BE-5E1C-B55F-81C8F290****'],
+ 'PageNumber' => ['title' => 'pageNumber', 'description' => '分页页码,从1开始。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'ItemList' => [
'title' => 'model',
'description' => '返回的商品信息列表。',
@@ -22699,92 +11333,22 @@
'description' => '返回的商品信息列表。',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10000102-64373376****',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65671280****',
- ],
- 'ItemTitle' => [
- 'title' => '商品名称',
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '张君雅小妹妹100g鸡汁味点心面',
- ],
- 'MainPicUrl' => [
- 'title' => '商品主图',
- 'description' => '商品主图',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/220660702****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg',
- ],
- 'PriceCent' => [
- 'title' => '渠道售价,单位:分',
- 'description' => '渠道售价,单位:分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'PointPrice' => [
- 'title' => '用户支付价格:分',
- 'description' => '用户支付价格:分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'Points' => [
- 'title' => '积分,单位:个',
- 'description' => '积分,单位:个',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'PointsAmount' => [
- 'title' => '积分抵扣的金额,单位:分',
- 'description' => '积分抵扣的金额,单位:分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'ReservePrice' => [
- 'title' => '商品原价(元)',
- 'description' => '商品原价(元)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9990',
- ],
- 'CanSell' => [
- 'title' => '商品是否可售卖',
- 'description' => '商品是否可售卖',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Status' => [
- 'title' => '商品状态。1-商品可售;2-商品下架;3-价格异常;4-商品删除',
- 'description' => '商品状态。1-商品可售;2-商品下架;3-价格异常;4-商品删除',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10000102-64373376****'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '65671280****'],
+ 'ItemTitle' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string', 'example' => '张君雅小妹妹100g鸡汁味点心面'],
+ 'MainPicUrl' => ['title' => '商品主图', 'description' => '商品主图', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/220660702****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'],
+ 'PriceCent' => ['title' => '渠道售价,单位:分', 'description' => '渠道售价,单位:分', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'PointPrice' => ['title' => '用户支付价格:分', 'description' => '用户支付价格:分', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'Points' => ['title' => '积分,单位:个', 'description' => '积分,单位:个', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'PointsAmount' => ['title' => '积分抵扣的金额,单位:分', 'description' => '积分抵扣的金额,单位:分', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'ReservePrice' => ['title' => '商品原价(元)', 'description' => '商品原价(元)', 'type' => 'integer', 'format' => 'int64', 'example' => '9990'],
+ 'CanSell' => ['title' => '商品是否可售卖', 'description' => '商品是否可售卖', 'type' => 'boolean', 'example' => 'true'],
+ 'Status' => ['title' => '商品状态。1-商品可售;2-商品下架;3-价格异常;4-商品删除', 'description' => '商品状态。1-商品可售;2-商品下架;3-价格异常;4-商品删除', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
- 'Code' => [
- 'title' => 'code',
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Success' => [
- 'title' => 'success',
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['title' => 'code', 'description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Success' => ['title' => 'success', 'description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -22795,14 +11359,8 @@
],
'QueryBudgetTicketItemListByBizId' => [
'summary' => '查询预算单商品列表。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22810,51 +11368,27 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******003',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******003'],
],
[
'name' => 'BudgetTicketNo',
'in' => 'query',
- 'schema' => [
- 'description' => '预算单号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20******-4',
- ],
+ 'schema' => ['description' => '预算单号', 'type' => 'string', 'required' => false, 'example' => '20******-4'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页页码,从1开始。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页码,从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页多少条记录,最大为20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页多少条记录,最大为20条', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
],
'responses' => [
@@ -22864,44 +11398,13 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '26F4B2C7-931F-5AC5-8FCC-AE76C9B00D2F',
- ],
- 'Success' => [
- 'description' => '调用是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
- 'PageNumber' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页多少条记录,最大为20条',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '26F4B2C7-931F-5AC5-8FCC-AE76C9B00D2F'],
+ 'Success' => ['description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
+ 'PageNumber' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '每页多少条记录,最大为20条', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'Model' => [
'description' => '返回结果',
'type' => 'array',
@@ -22909,56 +11412,15 @@
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65******0310',
- ],
- 'SkuId' => [
- 'description' => '商品的SkuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '47******76529',
- ],
- 'SettlementPrice' => [
- 'description' => '采购单价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'SubsidyAmount' => [
- 'description' => '补贴金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'PromotionId' => [
- 'description' => '优惠元数据ID',
- 'type' => 'string',
- 'example' => '68442******012',
- ],
- 'SecurityCode' => [
- 'description' => '安全码',
- 'type' => 'string',
- 'example' => 'c26be******86e5a61cc710cdb',
- ],
- 'RemnantAmount' => [
- 'description' => '商品库存',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10000',
- ],
- 'PoCode' => [
- 'description' => 'PO单编号',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Invalid' => [
- 'description' => 'PO单是否有效',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '65******0310'],
+ 'SkuId' => ['description' => '商品的SkuId', 'type' => 'integer', 'format' => 'int64', 'example' => '47******76529'],
+ 'SettlementPrice' => ['description' => '采购单价', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'SubsidyAmount' => ['description' => '补贴金额', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'PromotionId' => ['description' => '优惠元数据ID', 'type' => 'string', 'example' => '68442******012'],
+ 'SecurityCode' => ['description' => '安全码', 'type' => 'string', 'example' => 'c26be******86e5a61cc710cdb'],
+ 'RemnantAmount' => ['description' => '商品库存', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
+ 'PoCode' => ['description' => 'PO单编号', 'type' => 'string', 'example' => '""'],
+ 'Invalid' => ['description' => 'PO单是否有效', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -22970,13 +11432,8 @@
'title' => '查询预算单商品列表',
],
'QueryGuideItemGroupWithOutInventory' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22984,52 +11441,28 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '分组 ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'taojinbi-shang******',
- ],
+ 'schema' => ['description' => '分组 ID', 'type' => 'string', 'required' => false, 'example' => 'taojinbi-shang******'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页显示的条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页显示的条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '分页页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页码,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20211206****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => 'LMALL20211206****'],
],
],
'responses' => [
@@ -23037,39 +11470,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'description' => '每页显示的条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '分页页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '导购商品组数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['description' => '每页显示的条数', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['description' => '分页页码,从1开始', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['description' => '导购商品组数量', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
'ItemList' => [
'description' => '商品列表',
'type' => 'array',
@@ -23077,77 +11483,22 @@
'description' => '商品列表',
'type' => 'object',
'properties' => [
- 'ItemTitle' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '乐事65g白葡萄汽水味气泡薯片',
- ],
- 'PriceCent' => [
- 'description' => '商品销售价格(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10006515-64348848****',
- ],
- 'PointPrice' => [
- 'description' => '积分价格(分),给⽤户显示时使⽤,以及在⽤户⾃⼰⽀付时需要真实⽀付的⾦额。等于(priceCent - pointsAmount)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'string',
- 'example' => '62785263****',
- ],
- 'WhitePicUrl' => [
- 'description' => '白底图',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg',
- ],
- 'MainPicUrl' => [
- 'description' => '主图地址',
- 'type' => 'string',
- ],
- 'Points' => [
- 'description' => '积分,单位:个。如果为空或为0,表示没有积分价格,pointsAmount也不会⽣效',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ItemUrl' => [
- 'description' => '商品详情链接',
- 'type' => 'string',
- 'example' => 'https://detail.tmall.com/item.htm?id=670600584601&spm=a21y2.8291224.2879496.9.c6e23569FJRVmu&skuId=500049906****',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣的⾦额,单位:分。⽤户真实⽀付 (points个积分) + (pointPrice 分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ReservePrice' => [
- 'description' => '商品原价(元),可⽤于显示划线价',
- 'type' => 'string',
- 'example' => '5990',
- ],
- 'CustomizedAttributeMap' => [
- 'description' => '客户⾃定义属性',
- 'type' => 'object',
- 'example' => 'json数据',
- ],
+ 'ItemTitle' => ['description' => '商品名称', 'type' => 'string', 'example' => '乐事65g白葡萄汽水味气泡薯片'],
+ 'PriceCent' => ['description' => '商品销售价格(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10006515-64348848****'],
+ 'PointPrice' => ['description' => '积分价格(分),给⽤户显示时使⽤,以及在⽤户⾃⼰⽀付时需要真实⽀付的⾦额。等于(priceCent - pointsAmount)', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'string', 'example' => '62785263****'],
+ 'WhitePicUrl' => ['description' => '白底图', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'],
+ 'MainPicUrl' => ['description' => '主图地址', 'type' => 'string'],
+ 'Points' => ['description' => '积分,单位:个。如果为空或为0,表示没有积分价格,pointsAmount也不会⽣效', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ItemUrl' => ['description' => '商品详情链接', 'type' => 'string', 'example' => 'https://detail.tmall.com/item.htm?id=670600584601&spm=a21y2.8291224.2879496.9.c6e23569FJRVmu&skuId=500049906****'],
+ 'PointsAmount' => ['description' => '积分抵扣的⾦额,单位:分。⽤户真实⽀付 (points个积分) + (pointPrice 分)', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ReservePrice' => ['description' => '商品原价(元),可⽤于显示划线价', 'type' => 'string', 'example' => '5990'],
+ 'CustomizedAttributeMap' => ['description' => '客户⾃定义属性', 'type' => 'object', 'example' => 'json数据'],
'Tags' => [
'description' => '商品tags',
'type' => 'array',
- 'items' => [
- 'description' => '商品tags',
- 'type' => 'string',
- 'example' => '[{\\"TagKey\\":\\"test\\",\\"TagValue\\":\\"test-value\\"}]',
- ],
+ 'items' => ['description' => '商品tags', 'type' => 'string', 'example' => '[{\\"TagKey\\":\\"test\\",\\"TagValue\\":\\"test-value\\"}]'],
],
],
],
@@ -23158,10 +11509,7 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7BE4356-7F92-533E-A31B-2EBF2D67****\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"ItemList\\": [\\n {\\n \\"ItemTitle\\": \\"乐事65g白葡萄汽水味气泡薯片\\",\\n \\"PriceCent\\": 4990,\\n \\"LmItemId\\": \\"10006515-64348848****\\",\\n \\"PointPrice\\": 4990,\\n \\"ItemId\\": \\"62785263****\\",\\n \\"WhitePicUrl\\": \\"https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg\\",\\n \\"MainPicUrl\\": \\"\\",\\n \\"Points\\": 0,\\n \\"ItemUrl\\": \\"https://detail.tmall.com/item.htm?id=670600584601&spm=a21y2.8291224.2879496.9.c6e23569FJRVmu&skuId=500049906****\\",\\n \\"PointsAmount\\": 0,\\n \\"ReservePrice\\": \\"5990\\",\\n \\"CustomizedAttributeMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Tags\\": [\\n \\"[{\\\\\\\\\\\\\\"TagKey\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"TagValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test-value\\\\\\\\\\\\\\"}]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
@@ -23170,13 +11518,8 @@
'description' => '获取导购商品组商品列表,包括实物商品和虚拟商品',
],
'QueryInventoryOfItemsInBizItemGroup' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23184,30 +11527,17 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'DivisionCode',
'in' => 'query',
- 'schema' => [
- 'description' => '配送区域ID(默认为1)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '510132',
- ],
+ 'schema' => ['description' => '配送区域ID(默认为1)', 'type' => 'string', 'required' => false, 'example' => '510132'],
],
[
'name' => 'ItemIds',
@@ -23216,13 +11546,7 @@
'schema' => [
'description' => '商品ID列表',
'type' => 'array',
- 'items' => [
- 'description' => '商品ID列表',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '[66******3823,65******7177,66******7302]',
- ],
+ 'items' => ['description' => '商品ID列表', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[66******3823,65******7177,66******7302]'],
'required' => false,
],
],
@@ -23233,24 +11557,14 @@
'schema' => [
'description' => 'lm侧商品ID列表',
'type' => 'array',
- 'items' => [
- 'description' => 'lm侧商品ID列表',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['description' => 'lm侧商品ID列表', 'type' => 'string', 'required' => false],
'required' => false,
],
],
[
'name' => 'SubBizId',
'in' => 'query',
- 'schema' => [
- 'description' => '子业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '52847******1a58205d3ce5e9328',
- ],
+ 'schema' => ['description' => '子业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '52847******1a58205d3ce5e9328'],
],
],
'responses' => [
@@ -23258,21 +11572,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '0F380CB1-BE49-5DF7-B128-63CADB3A12A3',
- ],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '0F380CB1-BE49-5DF7-B128-63CADB3A12A3'],
'ItemList' => [
'description' => '商品列表',
'type' => 'array',
@@ -23280,24 +11582,9 @@
'description' => '商品列表',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10016572-******058233'."\n",
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '******058233',
- ],
- 'Quantity' => [
- 'title' => '剩余可售库存',
- 'description' => '剩余可售库存',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10000',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10016572-******058233'."\n"],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '******058233'],
+ 'Quantity' => ['title' => '剩余可售库存', 'description' => '剩余可售库存', 'type' => 'integer', 'format' => 'int32', 'example' => '10000'],
'SkuList' => [
'description' => '商品sku列表',
'type' => 'array',
@@ -23305,36 +11592,13 @@
'description' => '商品sku列表',
'type' => 'object',
'properties' => [
- 'SkuId' => [
- 'description' => '商品的SkuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '467******9928',
- ],
- 'Quantity' => [
- 'title' => '剩余可售库存',
- 'description' => '剩余可售库存',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4100',
- ],
+ 'SkuId' => ['description' => '商品的SkuId', 'type' => 'integer', 'format' => 'int64', 'example' => '467******9928'],
+ 'Quantity' => ['title' => '剩余可售库存', 'description' => '剩余可售库存', 'type' => 'integer', 'format' => 'int32', 'example' => '4100'],
],
],
],
- 'TotalSoldQuantity' => [
- 'title' => '已售库存',
- 'description' => '已售库存',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '900',
- ],
- 'TotalQuantity' => [
- 'title' => '总量库存',
- 'description' => '总量库存',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5000',
- ],
+ 'TotalSoldQuantity' => ['title' => '已售库存', 'description' => '已售库存', 'type' => 'integer', 'format' => 'int64', 'example' => '900'],
+ 'TotalQuantity' => ['title' => '总量库存', 'description' => '总量库存', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'],
],
],
],
@@ -23344,14 +11608,8 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"RequestId\\": \\"0F380CB1-BE49-5DF7-B128-63CADB3A12A3\\",\\n \\"ItemList\\": [\\n {\\n \\"LmItemId\\": \\"10016572-******058233\\\\n\\",\\n \\"ItemId\\": 0,\\n \\"Quantity\\": 10000,\\n \\"SkuList\\": [\\n {\\n \\"SkuId\\": 0,\\n \\"Quantity\\": 4100\\n }\\n ],\\n \\"TotalSoldQuantity\\": 900,\\n \\"TotalQuantity\\": 5000\\n }\\n ]\\n}","type":"json"}]',
@@ -23359,13 +11617,8 @@
'summary' => '查询库存可用来判断商品是否可以售卖之用。',
],
'QueryItemInSubBizs' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23373,53 +11626,29 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20201229****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20201229****'],
],
[
'name' => 'ItemId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '57835029****',
- ],
+ 'schema' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '57835029****'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10001036-66644894****',
- ],
+ 'schema' => ['description' => 'lm侧商品id', 'type' => 'string', 'required' => false, 'example' => '10001036-66644894****'],
],
[
'name' => 'SubBizIds',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'description' => '子渠道ID',
- 'type' => 'object',
- 'required' => false,
- 'example' => '["id1","id2"]',
- ],
+ 'schema' => ['description' => '子渠道ID', 'type' => 'object', 'required' => false, 'example' => '["id1","id2"]'],
],
],
'responses' => [
@@ -23428,21 +11657,9 @@
'description' => 'result',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => 'DFBA1CD4-197E-51BB-A8CE-3A136D0B****',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => 'DFBA1CD4-197E-51BB-A8CE-3A136D0B****'],
'ItemBizList' => [
'description' => '商品详情列表',
'type' => 'array',
@@ -23451,76 +11668,19 @@
."\n",
'type' => 'object',
'properties' => [
- 'ItemTitle' => [
- 'description' => '商品标题',
- 'type' => 'string',
- 'example' => '山楂球白巧克力',
- ],
- 'PropertiesJson' => [
- 'description' => 'json格式的商品参数',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '10006484-64668317****',
- ],
- 'SellerId' => [
- 'description' => '卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '329488****',
- ],
- 'TbShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '立白集团官方旗舰店',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '62503849****',
- ],
- 'DescOption' => [
- 'description' => '商品详情描述',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'MainPicUrl' => [
- 'description' => '主图地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n",
- ],
- 'CategoryId' => [
- 'description' => '最后⼀级的类⽬ID,之后会提供类⽬查询接⼝来获取商品所属类⽬信息',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50444021',
- ],
- 'SubBizId' => [
- 'description' => '子渠道ID',
- 'type' => 'string',
- 'example' => '9f65e0905a544924b3cda147f28b****',
- ],
- 'ReservePrice' => [
- 'description' => '划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'Quantity' => [
- 'description' => '库存数量,虚拟商品为-1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'ItemTitle' => ['description' => '商品标题', 'type' => 'string', 'example' => '山楂球白巧克力'],
+ 'PropertiesJson' => ['description' => 'json格式的商品参数', 'type' => 'string', 'example' => '{}'],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '10006484-64668317****'],
+ 'SellerId' => ['description' => '卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '329488****'],
+ 'TbShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '立白集团官方旗舰店'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '62503849****'],
+ 'DescOption' => ['description' => '商品详情描述', 'type' => 'string', 'example' => '""'],
+ 'MainPicUrl' => ['description' => '主图地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n"],
+ 'CategoryId' => ['description' => '最后⼀级的类⽬ID,之后会提供类⽬查询接⼝来获取商品所属类⽬信息', 'type' => 'integer', 'format' => 'int64', 'example' => '50444021'],
+ 'SubBizId' => ['description' => '子渠道ID', 'type' => 'string', 'example' => '9f65e0905a544924b3cda147f28b****'],
+ 'ReservePrice' => ['description' => '划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'Quantity' => ['description' => '库存数量,虚拟商品为-1', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'SkuList' => [
'description' => '商品sku列表',
'type' => 'array',
@@ -23528,88 +11688,26 @@
'description' => '商品sku列表',
'type' => 'object',
'properties' => [
- 'PriceCent' => [
- 'description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1290',
- ],
- 'PointPrice' => [
- 'description' => '积分价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SkuTitle' => [
- 'description' => '商品sku名称',
- 'type' => 'string',
- 'example' => '白色/64G',
- ],
- 'SkuPropertiesJson' => [
- 'description' => 'json格式的商品sku参数',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'SkuProperties' => [
- 'description' => '商品sku参数',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'SkuId' => [
- 'description' => '商品的SkuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '474820025****',
- ],
- 'SkuPicUrl' => [
- 'description' => 'sku图片地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n",
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4299',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ReservePrice' => [
- 'description' => '划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'BenefitId' => [
- 'description' => '商品权益ID',
- 'type' => 'string',
- 'example' => '202201050050220000000190****',
- ],
- 'CustomizedAttributeMap' => [
- 'description' => '买家信息',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'PriceCent' => ['description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位', 'type' => 'integer', 'format' => 'int64', 'example' => '1290'],
+ 'PointPrice' => ['description' => '积分价格', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'SkuTitle' => ['description' => '商品sku名称', 'type' => 'string', 'example' => '白色/64G'],
+ 'SkuPropertiesJson' => ['description' => 'json格式的商品sku参数', 'type' => 'string', 'example' => '""'],
+ 'SkuProperties' => ['description' => '商品sku参数', 'type' => 'string', 'example' => '""'],
+ 'SkuId' => ['description' => '商品的SkuId', 'type' => 'integer', 'format' => 'int64', 'example' => '474820025****'],
+ 'SkuPicUrl' => ['description' => 'sku图片地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'."\n"],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '4299'],
+ 'PointsAmount' => ['description' => '积分抵扣价格', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ReservePrice' => ['description' => '划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'BenefitId' => ['description' => '商品权益ID', 'type' => 'string', 'example' => '202201050050220000000190****'],
+ 'CustomizedAttributeMap' => ['description' => '买家信息', 'type' => 'object', 'example' => '{}'],
],
],
],
'ItemImages' => [
'description' => '商品图片列表',
'type' => 'array',
- 'items' => [
- 'description' => '商品图片列表',
- 'type' => 'string',
- 'example' => '["pic1","pic2"]',
- ],
+ 'items' => ['description' => '商品图片列表', 'type' => 'string', 'example' => '["pic1","pic2"]'],
],
],
],
@@ -23620,14 +11718,8 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"RequestId\\": \\"DFBA1CD4-197E-51BB-A8CE-3A136D0B****\\",\\n \\"ItemBizList\\": [\\n {\\n \\"ItemTitle\\": \\"山楂球白巧克力\\",\\n \\"PropertiesJson\\": \\"{}\\",\\n \\"LmItemId\\": \\"10006484-64668317****\\",\\n \\"SellerId\\": 0,\\n \\"TbShopName\\": \\"立白集团官方旗舰店\\",\\n \\"CanSell\\": true,\\n \\"ItemId\\": 0,\\n \\"DescOption\\": \\"\\\\\\"\\\\\\"\\",\\n \\"MainPicUrl\\": \\"https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg\\\\n\\",\\n \\"CategoryId\\": 50444021,\\n \\"SubBizId\\": \\"9f65e0905a544924b3cda147f28b****\\",\\n \\"ReservePrice\\": 2990,\\n \\"Quantity\\": 1,\\n \\"SkuList\\": [\\n {\\n \\"PriceCent\\": 1290,\\n \\"PointPrice\\": 0,\\n \\"CanSell\\": true,\\n \\"SkuTitle\\": \\"白色/64G\\",\\n \\"SkuPropertiesJson\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SkuProperties\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SkuId\\": 0,\\n \\"SkuPicUrl\\": \\"https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg\\\\n\\",\\n \\"Points\\": 4299,\\n \\"PointsAmount\\": 0,\\n \\"ReservePrice\\": 2990,\\n \\"BenefitId\\": \\"202201050050220000000190****\\",\\n \\"CustomizedAttributeMap\\": {}\\n }\\n ],\\n \\"ItemImages\\": [\\n \\"[\\\\\\"pic1\\\\\\",\\\\\\"pic2\\\\\\"]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
@@ -23636,14 +11728,8 @@
'description' => '查询商品子渠道商品库商品'."\n",
],
'QueryMediaSettleInfo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23657,101 +11743,52 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'MediaName',
'in' => 'query',
- 'schema' => [
- 'description' => '媒体名称',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '媒体名称', 'type' => 'string', 'required' => false, 'docRequired' => true],
],
[
'name' => 'ChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '渠道ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '渠道ID', 'type' => 'string', 'required' => false, 'docRequired' => true],
],
[
'name' => 'SettleNo',
'in' => 'query',
- 'schema' => [
- 'description' => '结算单号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- ],
+ 'schema' => ['description' => '结算单号', 'type' => 'string', 'required' => false, 'docRequired' => true],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2021-08-01 00:00:00',
- ],
+ 'schema' => ['description' => '开始时间', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2021-08-01 00:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-08-01 01:00:00'."\n",
- ],
+ 'schema' => ['description' => '结束时间', 'type' => 'string', 'required' => false, 'example' => '2021-08-01 01:00:00'."\n"],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页显示的条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页显示的条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ExtInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false],
],
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20******005',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20******005'],
],
],
'responses' => [
@@ -23759,67 +11796,21 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'FAED4911-3F7D-56C0-880F-C4755D4F26D8',
- ],
- 'Success' => [
- 'description' => '请求是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'LogsId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'FAED4911-3F7D-56C0-880F-C4755D4F26D8'],
+ 'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '成功'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '1004'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'LogsId' => ['type' => 'string'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '每页显示的条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '19',
- ],
+ 'PageSize' => ['description' => '每页显示的条数', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'PageNumber' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '19'],
'MediaSettleInfoList' => [
'description' => '媒体结算信息列表',
'type' => 'array',
@@ -23827,57 +11818,17 @@
'description' => '媒体结算信息列表',
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2021-08-01 01:00:00',
- ],
- 'StartTime' => [
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2021-08-01 00:00:00',
- ],
- 'MediaSettleAmount' => [
- 'description' => '媒体结算金额',
- 'type' => 'string',
- ],
- 'SettleNo' => [
- 'description' => '结算单号',
- 'type' => 'string',
- 'example' => 'TEST000000',
- ],
- 'SettleStatus' => [
- 'description' => '结算状态',
- 'type' => 'string',
- 'example' => 'waitPayerConfirm',
- ],
- 'ChannelId' => [
- 'description' => '渠道ID',
- 'type' => 'string',
- 'example' => '63839******79044',
- ],
- 'MediaName' => [
- 'description' => '媒体名称',
- 'type' => 'string',
- ],
- 'MediaSettleDetailId' => [
- 'description' => '媒体结算详情',
- 'type' => 'string',
- ],
- 'ModifiedDate' => [
- 'description' => '更新时间',
- 'type' => 'string',
- 'example' => '2021-08-01 01:00:00',
- ],
- 'CreateDate' => [
- 'description' => '创建时间',
- 'type' => 'string',
- 'example' => '2021-08-01 00:00:00',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- ],
+ 'EndTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2021-08-01 01:00:00'],
+ 'StartTime' => ['description' => '开始时间', 'type' => 'string', 'example' => '2021-08-01 00:00:00'],
+ 'MediaSettleAmount' => ['description' => '媒体结算金额', 'type' => 'string'],
+ 'SettleNo' => ['description' => '结算单号', 'type' => 'string', 'example' => 'TEST000000'],
+ 'SettleStatus' => ['description' => '结算状态', 'type' => 'string', 'example' => 'waitPayerConfirm'],
+ 'ChannelId' => ['description' => '渠道ID', 'type' => 'string', 'example' => '63839******79044'],
+ 'MediaName' => ['description' => '媒体名称', 'type' => 'string'],
+ 'MediaSettleDetailId' => ['description' => '媒体结算详情', 'type' => 'string'],
+ 'ModifiedDate' => ['description' => '更新时间', 'type' => 'string', 'example' => '2021-08-01 01:00:00'],
+ 'CreateDate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2021-08-01 00:00:00'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'string'],
],
],
],
@@ -23889,14 +11840,8 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FAED4911-3F7D-56C0-880F-C4755D4F26D8\\",\\n \\"Success\\": true,\\n \\"SubMessage\\": \\"成功\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"TotalCount\\": 19,\\n \\"LogsId\\": \\"\\",\\n \\"Model\\": {\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"MediaSettleInfoList\\": [\\n {\\n \\"EndTime\\": \\"2021-08-01 01:00:00\\",\\n \\"StartTime\\": \\"2021-08-01 00:00:00\\",\\n \\"MediaSettleAmount\\": \\"\\",\\n \\"SettleNo\\": \\"TEST000000\\",\\n \\"SettleStatus\\": \\"waitPayerConfirm\\",\\n \\"ChannelId\\": \\"63839******79044\\",\\n \\"MediaName\\": \\"\\",\\n \\"MediaSettleDetailId\\": \\"\\",\\n \\"ModifiedDate\\": \\"2021-08-01 01:00:00\\",\\n \\"CreateDate\\": \\"2021-08-01 00:00:00\\",\\n \\"ExtInfo\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
@@ -23905,13 +11850,8 @@
],
'RegisterSettleAccount' => [
'summary' => '结算单账号注册。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23925,107 +11865,57 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'AccountNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '账户号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '15******65',
- ],
+ 'schema' => ['description' => '账户号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '15******65'],
],
[
'name' => 'AccountName',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号名称',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '***科技有限公司',
- ],
+ 'schema' => ['description' => '账号名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '***科技有限公司'],
],
[
'name' => 'AccountType',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号类型',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '""',
- ],
+ 'schema' => ['description' => '账号类型', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '""'],
],
[
'name' => 'AccountChannel',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号渠道',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'bank',
- ],
+ 'schema' => ['description' => '账号渠道', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'bank'],
],
[
'name' => 'AccountPayType',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号支付类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'transferIn',
- ],
+ 'schema' => ['description' => '账号支付类型', 'type' => 'string', 'required' => false, 'example' => 'transferIn'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20******007',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20******007'],
],
[
'name' => 'IdempotentId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'CountryOrAreaCode',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Currency',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -24033,63 +11923,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '26F4B2C7-931F-5AC5-8FCC-AE76C9B00D2F',
- ],
- 'Success' => [
- 'description' => '调用是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '207',
- ],
- 'LogsId' => [
- 'description' => '无效字段',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '26F4B2C7-931F-5AC5-8FCC-AE76C9B00D2F'],
+ 'Success' => ['description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '1004'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '207'],
+ 'LogsId' => ['description' => '无效字段', 'type' => 'string', 'example' => '1'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'title' => '主键ID',
- 'description' => '主键ID',
- 'type' => 'string',
- 'example' => '252',
- ],
- 'AccountId' => [
- 'title' => '结算账号ID',
- 'description' => '结算账号ID',
- 'type' => 'string',
- 'example' => '180173763600****',
- ],
- 'AccountNo' => [
- 'title' => '入参账号no',
- 'description' => '入参账号no',
- 'type' => 'string',
- 'example' => '15******65',
- ],
+ 'Id' => ['title' => '主键ID', 'description' => '主键ID', 'type' => 'string', 'example' => '252'],
+ 'AccountId' => ['title' => '结算账号ID', 'description' => '结算账号ID', 'type' => 'string', 'example' => '180173763600****'],
+ 'AccountNo' => ['title' => '入参账号no', 'description' => '入参账号no', 'type' => 'string', 'example' => '15******65'],
],
],
],
@@ -24098,115 +11945,59 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
- [
- 'errorCode' => 'ACL_CHECK_INVALID',
- 'errorMessage' => 'No Access Permission.',
- ],
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
+ ['errorCode' => 'ACL_CHECK_INVALID', 'errorMessage' => 'No Access Permission.'],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"26F4B2C7-931F-5AC5-8FCC-AE76C9B00D2F\\",\\n \\"Success\\": true,\\n \\"SubMessage\\": \\"1004\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"SubCode\\": \\"207\\",\\n \\"LogsId\\": \\"1\\",\\n \\"Model\\": {\\n \\"Id\\": \\"252\\",\\n \\"AccountId\\": \\"180173763600****\\",\\n \\"AccountNo\\": \\"15******65\\"\\n }\\n}","type":"json"}]',
'title' => '结算单账号注册',
],
'ApplyRefundWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'SubLmOrderId',
'in' => 'formData',
- 'schema' => [
- 'description' => '⼦订单ID,通过查询订单详情接⼝获取',
- 'type' => 'string',
- 'required' => true,
- 'example' => '702091003',
- ],
+ 'schema' => ['description' => '⼦订单ID,通过查询订单详情接⼝获取', 'type' => 'string', 'required' => true, 'example' => '702091003'],
],
[
'name' => 'RefundCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '退款状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '3',
- ],
+ 'schema' => ['description' => '退款状态码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3'],
],
[
'name' => 'ReasonId',
'in' => 'formData',
- 'schema' => [
- 'description' => '退款申请原因ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '150013',
- ],
+ 'schema' => ['description' => '退款申请原因ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '150013'],
],
[
'name' => 'RefundFee',
'in' => 'formData',
- 'schema' => [
- 'description' => '本次退款金额,单位分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '990',
- ],
+ 'schema' => ['description' => '本次退款金额,单位分', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '990'],
],
[
'name' => 'GoodsStatus',
'in' => 'formData',
- 'schema' => [
- 'description' => '货物状态。当退款类型:仅退款时,货物状态:为4未发货。所有状态:4: 未发货,6:已发货, 1: 未收到货, 2: 已收到货, 3:已寄回, 5:卖家确认收货',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '货物状态。当退款类型:仅退款时,货物状态:为4未发货。所有状态:4: 未发货,6:已发货, 1: 未收到货, 2: 已收到货, 3:已寄回, 5:卖家确认收货', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'],
],
[
'name' => 'RefundCount',
'in' => 'formData',
- 'schema' => [
- 'description' => '退货数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '退货数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Message',
'in' => 'formData',
- 'schema' => [
- 'description' => '错误的时候,返回错误信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '款式不喜欢',
- ],
+ 'schema' => ['description' => '错误的时候,返回错误信息', 'type' => 'string', 'required' => false, 'example' => '款式不喜欢'],
],
[
'name' => 'Proofs',
@@ -24219,18 +12010,8 @@
'description' => '凭证信息',
'type' => 'object',
'properties' => [
- 'MessagePic' => [
- 'description' => '凭证图片地址(最好是阿里云的)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://aliyundoc.com',
- ],
- 'MessagePicDesc' => [
- 'description' => '图片说明',
- 'type' => 'string',
- 'required' => false,
- 'example' => '商品破损了',
- ],
+ 'MessagePic' => ['description' => '凭证图片地址(最好是阿里云的)', 'type' => 'string', 'required' => false, 'example' => 'https://aliyundoc.com'],
+ 'MessagePicDesc' => ['description' => '图片说明', 'type' => 'string', 'required' => false, 'example' => '商品破损了'],
],
'required' => false,
],
@@ -24240,58 +12021,27 @@
[
'name' => 'DisputeId',
'in' => 'formData',
- 'schema' => [
- 'description' => '纠纷ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '142***071',
- ],
+ 'schema' => ['description' => '纠纷ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '142***071'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20***001',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20***001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'U333***21',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'U333***21'],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'description' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'description' => '淘宝账号类型', 'type' => 'string', 'required' => true, 'example' => 'ANONY'],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '333***21',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '333***21'],
],
],
'responses' => [
@@ -24301,101 +12051,25 @@
'description' => 'PopResponse<RefundApplicationModel>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '6DC726F1-65***14-5C30B4B6508C',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '6DC726F1-65***14-5C30B4B6508C'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'SubLmOrderId' => [
- 'title' => 'Linkedmall 子订单号',
- 'description' => 'Linkedmall 子订单号',
- 'type' => 'string',
- 'example' => '689***932',
- ],
- 'DisputeStatus' => [
- 'title' => '逆向申请单的状态',
- 'description' => '逆向申请单的状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DisputeType' => [
- 'title' => '逆向售后的类型',
- 'description' => '逆向售后的类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DisputeId' => [
- 'title' => '纠纷id',
- 'description' => '纠纷id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '155***050',
- ],
+ 'SubLmOrderId' => ['title' => 'Linkedmall 子订单号', 'description' => 'Linkedmall 子订单号', 'type' => 'string', 'example' => '689***932'],
+ 'DisputeStatus' => ['title' => '逆向申请单的状态', 'description' => '逆向申请单的状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DisputeType' => ['title' => '逆向售后的类型', 'description' => '逆向售后的类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DisputeId' => ['title' => '纠纷id', 'description' => '纠纷id', 'type' => 'integer', 'format' => 'int64', 'example' => '155***050'],
],
],
],
@@ -24404,79 +12078,42 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"6DC726F1-65***14-5C30B4B6508C\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubLmOrderId\\": \\"689***932\\",\\n \\"DisputeStatus\\": 1,\\n \\"DisputeType\\": 1,\\n \\"DisputeId\\": 0\\n }\\n}","type":"json"}]',
'title' => '指定淘宝账号下单模式下提交退款申请',
],
'CancelOrderWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'LmOrderId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '449***059',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '449***059'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20***001',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20***001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'u***001',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'u***001'],
],
[
'name' => 'TbAccountType',
@@ -24486,24 +12123,14 @@
'description' => '淘宝账号类型',
'type' => 'string',
'required' => true,
- 'enumValueTitles' => [
- 'ANONY' => '匿名账号',
- 'REAL' => '实名账号',
- ],
+ 'enumValueTitles' => ['ANONY' => '匿名账号', 'REAL' => '实名账号'],
'example' => 'ANONY',
],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '232***124',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '232***124'],
],
],
'responses' => [
@@ -24513,128 +12140,49 @@
'description' => 'PopResponse<CancelOrderResponse>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '79C01D47-3***9-1B33F7ED',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Model' => [
- 'title' => '请求结果数据',
- 'description' => '请求结果数据',
- 'type' => 'object',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '79C01D47-3***9-1B33F7ED'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '""'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Model' => ['title' => '请求结果数据', 'description' => '请求结果数据', 'type' => 'object'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"79C01D47-3***9-1B33F7ED\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]',
'title' => '指定淘宝账号下单模式下-取消退款申请',
],
'CancelRealTbAccountSupport' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -24643,163 +12191,72 @@
'title' => 'PopResponse',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'type' => 'string',
- ],
- 'Model' => [
- 'title' => '请求结果数据',
- 'type' => 'any',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string'],
+ 'PageSize' => ['title' => 'pageSize', 'type' => 'integer', 'format' => 'int64'],
+ 'PageNumber' => ['title' => '当前页', 'type' => 'integer', 'format' => 'int64'],
+ 'TotalCount' => ['title' => '总数量', 'type' => 'integer', 'format' => 'int64'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'type' => 'boolean'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string'],
+ 'Message' => ['title' => '错误消息', 'type' => 'string'],
+ 'Model' => ['title' => '请求结果数据', 'type' => 'any'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
],
'CancelRefundWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'SubLmOrderId',
'in' => 'formData',
- 'schema' => [
- 'description' => '⼦订单ID,通过查询订单详情接⼝获取',
- 'type' => 'string',
- 'required' => true,
- 'example' => '709***761',
- ],
+ 'schema' => ['description' => '⼦订单ID,通过查询订单详情接⼝获取', 'type' => 'string', 'required' => true, 'example' => '709***761'],
],
[
'name' => 'DisputeId',
'in' => 'formData',
- 'schema' => [
- 'description' => '纠纷ID,通过查询订单逆向申请详情接⼝获取',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1108***5380',
- ],
+ 'schema' => ['description' => '纠纷ID,通过查询订单逆向申请详情接⼝获取', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1108***5380'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20***001',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20***001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'U0324***21',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'U0324***21'],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'description' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'description' => '淘宝账号类型', 'type' => 'string', 'required' => true, 'example' => 'ANONY'],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2132***312',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2132***312'],
],
],
'responses' => [
@@ -24809,177 +12266,69 @@
'description' => 'PopResponse',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => 'DF449356-35***B-21D37079E96A',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Model' => [
- 'title' => '请求结果数据',
- 'description' => '请求结果数据',
- 'type' => 'any',
- 'example' => 'null',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'DF449356-35***B-21D37079E96A'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '""'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Model' => ['title' => '请求结果数据', 'description' => '请求结果数据', 'type' => 'any', 'example' => 'null'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"DF449356-35***B-21D37079E96A\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": \\"null\\"\\n}","type":"json"}]',
'title' => '指定淘宝账号下单模式下取消退款申请',
],
'ConfirmDisburseWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'LmOrderId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '7068...44',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '7068...44'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL2022...03',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL2022...03'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'user***002',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'user***002'],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'description' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'description' => '淘宝账号类型', 'type' => 'string', 'required' => true, 'example' => 'ANONY'],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2131**111',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2131**111'],
],
],
'responses' => [
@@ -24989,99 +12338,29 @@
'description' => 'PopResponse',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '23BBD746-A6A9-55D5-A9B5-14019901445C',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Model' => [
- 'title' => '请求结果数据',
- 'description' => '请求结果数据',
- 'type' => 'any',
- 'example' => 'null',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '23BBD746-A6A9-55D5-A9B5-14019901445C'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '""'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Model' => ['title' => '请求结果数据', 'description' => '请求结果数据', 'type' => 'any', 'example' => 'null'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"23BBD746-A6A9-55D5-A9B5-14019901445C\\",\\n \\"SubCode\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": \\"null\\"\\n}","type":"json"}]',
@@ -25089,13 +12368,8 @@
],
'CreateOrderPayUrlForOutDiscount' => [
'summary' => '外部优惠创单。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -25103,63 +12377,33 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20****201229',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20****201229'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '20882****3220453',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '20882****3220453'],
],
[
'name' => 'BuyInfo',
'in' => 'formData',
- 'schema' => [
- 'description' => '购买信息',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => "\n"
- .'{"addressId":"158*****11","deliveryInfoId":"20","extJson":{"subBizCode":"defaultSubBizCode"},"orderItems":[{"lmItemId":"1002****123-67150****12","number":1,"outDiscountFee":"0","price":"1","skuId":4830321*****}],"outDiscountInfos":{"promotionInfos":[],"totalDiscountFee":"0"},"postFee":0,"serviceType":-4}',
- ],
+ 'schema' => ['description' => '购买信息', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => "\n"
+ .'{"addressId":"158*****11","deliveryInfoId":"20","extJson":{"subBizCode":"defaultSubBizCode"},"orderItems":[{"lmItemId":"1002****123-67150****12","number":1,"outDiscountFee":"0","price":"1","skuId":4830321*****}],"outDiscountInfos":{"promotionInfos":[],"totalDiscountFee":"0"},"postFee":0,"serviceType":-4}'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '渠道用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2088****23220453',
- ],
+ 'schema' => ['description' => '渠道用户ID', 'type' => 'string', 'required' => false, 'example' => '2088****23220453'],
],
],
'responses' => [
@@ -25167,71 +12411,36 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8',
- ],
- 'Success' => [
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8'],
+ 'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'RedirectUrl' => [
- 'description' => '重定向地址',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'RedirectUrl' => ['description' => '重定向地址', 'type' => 'string', 'example' => '""'],
'PayTradeIds' => [
'description' => '交易单号',
'type' => 'array',
- 'items' => [
- 'description' => '交易单号',
- 'type' => 'string',
- 'example' => '[2324289*******22,238478******22]',
- ],
+ 'items' => ['description' => '交易单号', 'type' => 'string', 'example' => '[2324289*******22,238478******22]'],
],
'OrderIds' => [
'description' => '淘宝订单id列表',
'type' => 'array',
- 'items' => [
- 'description' => '淘宝订单id列表',
- 'type' => 'string',
- 'example' => '[\'21153****123\',\'3245***321\']',
- ],
+ 'items' => ['description' => '淘宝订单id列表', 'type' => 'string', 'example' => '[\'21153****123\',\'3245***321\']'],
],
'LmOrderList' => [
'description' => '订单主订单列表',
'type' => 'array',
- 'items' => [
- 'description' => '订单主订单列表',
- 'type' => 'string',
- 'example' => '[\'12***33\',\'2132***33\']',
- ],
+ 'items' => ['description' => '订单主订单列表', 'type' => 'string', 'example' => '[\'12***33\',\'2132***33\']'],
],
'AllIdsMap' => [
'description' => 'linkedmall单号和淘宝单号映射',
'type' => 'object',
'additionalProperties' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '淘宝订单号',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '淘宝订单号'],
'description' => 'Linkedmall订单号',
],
],
@@ -25243,10 +12452,7 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"RequestId\\": \\"6103AD7B-21C2-523B-89D0-579DA58D08E8\\",\\n \\"Success\\": true,\\n \\"Model\\": {\\n \\"RedirectUrl\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PayTradeIds\\": [\\n \\"[2324289*******22,238478******22]\\"\\n ],\\n \\"OrderIds\\": [\\n \\"[\'21153****123\',\'3245***321\']\\"\\n ],\\n \\"LmOrderList\\": [\\n \\"[\'12***33\',\'2132***33\']\\"\\n ],\\n \\"AllIdsMap\\": {\\n \\"key\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n }\\n}","type":"json"}]',
@@ -25266,14 +12472,8 @@
],
'CreateOrderTransactionDetailFile' => [
'summary' => '生成订单交易明细文件',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -25281,227 +12481,112 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '业务id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20211102****',
- ],
+ 'schema' => ['description' => '业务id', 'type' => 'string', 'required' => false, 'example' => 'LMALL20211102****'],
],
[
'name' => 'SellerId',
'in' => 'formData',
- 'schema' => [
- 'description' => '卖家ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '220680193****',
- ],
+ 'schema' => ['description' => '卖家ID', 'type' => 'string', 'required' => false, 'example' => '220680193****'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'description' => '租户id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '18******263',
- ],
+ 'schema' => ['description' => '租户id', 'type' => 'string', 'required' => false, 'example' => '18******263'],
],
[
'name' => 'TenantName',
'in' => 'formData',
- 'schema' => [
- 'description' => '租户名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NYBQJYWZ',
- ],
+ 'schema' => ['description' => '租户名称', 'type' => 'string', 'required' => false, 'example' => 'NYBQJYWZ'],
],
[
'name' => 'LmShopId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'lm侧店铺ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10026953',
- ],
+ 'schema' => ['description' => 'lm侧店铺ID', 'type' => 'string', 'required' => false, 'example' => '10026953'],
],
[
'name' => 'SellerName',
'in' => 'formData',
- 'schema' => [
- 'description' => '卖家名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '宜采有限公司',
- ],
+ 'schema' => ['description' => '卖家名称', 'type' => 'string', 'required' => false, 'example' => '宜采有限公司'],
],
[
'name' => 'CreateStartTime',
'in' => 'formData',
- 'schema' => [
- 'title' => '创建开始时间',
- 'description' => '创建开始时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-02-26 04:55:31',
- ],
+ 'schema' => ['title' => '创建开始时间', 'description' => '创建开始时间', 'type' => 'string', 'required' => false, 'example' => '2021-02-26 04:55:31'],
],
[
'name' => 'CreateEndTime',
'in' => 'formData',
- 'schema' => [
- 'title' => '创建结束时间',
- 'description' => '创建结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-12-31 14:03:28',
- ],
+ 'schema' => ['title' => '创建结束时间', 'description' => '创建结束时间', 'type' => 'string', 'required' => false, 'example' => '2021-12-31 14:03:28'],
],
[
'name' => 'ChannelName',
'in' => 'formData',
- 'schema' => [
- 'title' => '渠道名称',
- 'description' => '渠道名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tcp_v',
- ],
+ 'schema' => ['title' => '渠道名称', 'description' => '渠道名称', 'type' => 'string', 'required' => false, 'example' => 'tcp_v'],
],
[
'name' => 'OrderStatus',
'in' => 'formData',
- 'schema' => [
- 'title' => '订单状态',
- 'description' => '订单状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6',
- ],
+ 'schema' => ['title' => '订单状态', 'description' => '订单状态', 'type' => 'string', 'required' => false, 'example' => '6'],
],
[
'name' => 'ItemId',
'in' => 'formData',
- 'schema' => [
- 'title' => '商品id',
- 'description' => '商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '655******148',
- ],
+ 'schema' => ['title' => '商品id', 'description' => '商品id', 'type' => 'string', 'required' => false, 'example' => '655******148'],
],
[
'name' => 'BizName',
'in' => 'formData',
- 'schema' => [
- 'title' => '业务名称',
- 'description' => '业务名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'click_page',
- ],
+ 'schema' => ['title' => '业务名称', 'description' => '业务名称', 'type' => 'string', 'required' => false, 'example' => 'click_page'],
],
[
'name' => 'PayStatus',
'in' => 'formData',
- 'schema' => [
- 'title' => '支付状态',
- 'description' => '支付状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['title' => '支付状态', 'description' => '支付状态', 'type' => 'string', 'required' => false, 'example' => '2'],
],
[
'name' => 'PoCode',
'in' => 'formData',
- 'schema' => [
- 'title' => 'PO单号',
- 'description' => 'PO单号',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => 'PO单号', 'description' => 'PO单号', 'type' => 'string', 'required' => false],
],
[
'name' => 'ShopName',
'in' => 'formData',
- 'schema' => [
- 'title' => '店铺名称',
- 'description' => '店铺名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'hyq-1',
- ],
+ 'schema' => ['title' => '店铺名称', 'description' => '店铺名称', 'type' => 'string', 'required' => false, 'example' => 'hyq-1'],
],
[
'name' => 'SettlementNode',
'in' => 'formData',
- 'schema' => [
- 'title' => '结算节点',
- 'description' => '结算节点',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '结算节点', 'description' => '结算节点', 'type' => 'string', 'required' => false],
],
[
'name' => 'RefundStartTime',
'in' => 'formData',
- 'schema' => [
- 'description' => '订单退款开始时间,格式为yyyy-mm-ddhh:mm:ss。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-12-31 14:03:28',
- ],
+ 'schema' => ['description' => '订单退款开始时间,格式为yyyy-mm-ddhh:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2021-12-31 14:03:28'],
],
[
'name' => 'RefundEndTime',
'in' => 'formData',
- 'schema' => [
- 'description' => '退款结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-12-31 14:05:21',
- ],
+ 'schema' => ['description' => '退款结束时间', 'type' => 'string', 'required' => false, 'example' => '2021-12-31 14:05:21'],
],
[
'name' => 'PaymentStartTime',
'in' => 'formData',
- 'schema' => [
- 'description' => '支付考试时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-12-31 14:03:28',
- ],
+ 'schema' => ['description' => '支付考试时间', 'type' => 'string', 'required' => false, 'example' => '2021-12-31 14:03:28'],
],
[
'name' => 'PaymentEndTime',
'in' => 'formData',
- 'schema' => [
- 'description' => '支付结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-12-31 14:03:28',
- ],
+ 'schema' => ['description' => '支付结束时间', 'type' => 'string', 'required' => false, 'example' => '2021-12-31 14:03:28'],
],
[
'name' => 'TbMainOrderId',
'in' => 'formData',
- 'schema' => [
- 'description' => '订单号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '201312321321312',
- ],
+ 'schema' => ['description' => '订单号', 'type' => 'string', 'required' => false, 'example' => '201312321321312'],
],
],
'responses' => [
@@ -25511,84 +12596,22 @@
'description' => 'PopResponse<String>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => 'E090F1A0-7454-5F36-933C-E6332CE2****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RecordId' => [
- 'title' => '请求结果数据',
- 'description' => '请求结果数据',
- 'type' => 'string',
- 'example' => 'ORDER-92d3f9b1afa04172ac27710706fd398f',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'E090F1A0-7454-5F36-933C-E6332CE2****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RecordId' => ['title' => '请求结果数据', 'description' => '请求结果数据', 'type' => 'string', 'example' => 'ORDER-92d3f9b1afa04172ac27710706fd398f'],
'BizViewData' => [
'title' => '渠道公共数据',
'description' => '渠道公共数据',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- 'description' => '渠道公共数据',
- 'example' => '{\'bizUnit\': u\'\\u79ef\\u5206\'}',
- ],
+ 'additionalProperties' => ['type' => 'any', 'description' => '渠道公共数据', 'example' => '{\'bizUnit\': u\'\\u79ef\\u5206\'}'],
],
],
],
@@ -25598,145 +12621,70 @@
'title' => '⽣成订单交易明细⽂件',
],
'CreateOrderWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'OutTradeId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户订单号',
- 'description' => '客户订单号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '146******54',
- ],
+ 'schema' => ['title' => '客户订单号', 'description' => '客户订单号', 'type' => 'string', 'required' => false, 'example' => '146******54'],
],
[
'name' => 'OrderItems',
'in' => 'formData',
- 'schema' => [
- 'title' => '商品信息',
- 'description' => '商品信息',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{\\"lmItemId\\":\\"10028102-655199865844\\",\\"number\\":1,\\"skuId\\": 4900752886354}]',
- ],
+ 'schema' => ['title' => '商品信息', 'description' => '商品信息', 'type' => 'string', 'required' => true, 'example' => '[{\\"lmItemId\\":\\"10028102-655199865844\\",\\"number\\":1,\\"skuId\\": 4900752886354}]'],
],
[
'name' => 'DeliveryAddress',
'in' => 'formData',
- 'schema' => [
- 'title' => '收货地址',
- 'description' => '收货地址',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{\\"addressDetail\\":\\"湖南省**市**区**街道**7栋\\",\\"divisionCode\\":\\"430503\\",\\"fullName\\":\\"欧**\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"430503008\\"}',
- ],
+ 'schema' => ['title' => '收货地址', 'description' => '收货地址', 'type' => 'string', 'required' => true, 'example' => '{\\"addressDetail\\":\\"湖南省**市**区**街道**7栋\\",\\"divisionCode\\":\\"430503\\",\\"fullName\\":\\"欧**\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"430503008\\"}'],
],
[
'name' => 'DeliveryInfo',
'in' => 'formData',
- 'schema' => [
- 'title' => '配送信息',
- 'description' => '配送信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{ \\"serviceType\\": -4,\\"id\\": \\"20\\", \\"postFee\\": 0}',
- ],
+ 'schema' => ['title' => '配送信息', 'description' => '配送信息', 'type' => 'string', 'required' => false, 'example' => '{ \\"serviceType\\": -4,\\"id\\": \\"20\\", \\"postFee\\": 0}'],
],
[
'name' => 'OrderExpireTime',
'in' => 'formData',
- 'schema' => [
- 'title' => '订单失效时间',
- 'description' => '订单失效时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3600',
- ],
+ 'schema' => ['title' => '订单失效时间', 'description' => '订单失效时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3600'],
],
[
'name' => 'BuyerMessages',
'in' => 'formData',
- 'schema' => [
- 'title' => '买家留言,订单备注; 每个主单一个备注',
- 'description' => '买家留言,订单备注; 每个主单一个备注',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['title' => '买家留言,订单备注; 每个主单一个备注', 'description' => '买家留言,订单备注; 每个主单一个备注', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
- 'schema' => [
- 'title' => '拓展信息',
- 'description' => '拓展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['title' => '拓展信息', 'description' => '拓展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20******05',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20******05'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '321******211',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => '321******211'],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'description' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'description' => '淘宝账号类型', 'type' => 'string', 'required' => true, 'example' => 'ANONY'],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '677******211',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '677******211'],
],
],
'responses' => [
@@ -25746,69 +12694,16 @@
'description' => 'PopResponse<OrderCreateResponseModel>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '""'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
@@ -25817,49 +12712,26 @@
'OrderIds' => [
'description' => '淘宝订单id列表',
'type' => 'array',
- 'items' => [
- 'description' => '订单ID',
- 'type' => 'string',
- 'example' => '213******137',
- ],
+ 'items' => ['description' => '订单ID', 'type' => 'string', 'example' => '213******137'],
],
'LmOrderIds' => [
'description' => 'lm订单ID列表',
'type' => 'array',
- 'items' => [
- 'description' => 'lm订单ID',
- 'type' => 'string',
- ],
- ],
- 'RedirectUrl' => [
- 'description' => '重定向地址',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com',
+ 'items' => ['description' => 'lm订单ID', 'type' => 'string'],
],
+ 'RedirectUrl' => ['description' => '重定向地址', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
'PayTradeIds' => [
'description' => '支付流水ID列表',
'type' => 'array',
- 'items' => [
- 'description' => '支付流水ID',
- 'type' => 'string',
- 'example' => '324289*******',
- ],
- ],
- 'App' => [
- 'description' => '应用名称',
- 'type' => 'string',
- 'example' => 'linkedmall-platform',
+ 'items' => ['description' => '支付流水ID', 'type' => 'string', 'example' => '324289*******'],
],
+ 'App' => ['description' => '应用名称', 'type' => 'string', 'example' => 'linkedmall-platform'],
'AllIdsMap' => [
'description' => 'linkedmall单号和淘宝单号映射',
'type' => 'object',
'additionalProperties' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '222*******12',
- 'description' => 'lm订单主单号',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '222*******12', 'description' => 'lm订单主单号'],
'description' => 'linkedmall单号和淘宝单号映射',
],
],
@@ -25871,180 +12743,87 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"OrderIds\\": [\\n \\"213******137\\"\\n ],\\n \\"LmOrderIds\\": [\\n \\"\\"\\n ],\\n \\"RedirectUrl\\": \\"https://aliyundoc.com\\",\\n \\"PayTradeIds\\": [\\n \\"324289*******\\"\\n ],\\n \\"App\\": \\"linkedmall-platform\\",\\n \\"AllIdsMap\\": {\\n \\"key\\": {\\n \\"key\\": \\"222*******12\\"\\n }\\n }\\n }\\n}","type":"json"}]',
'title' => '指定淘宝账号下单模式下创建订单',
],
'CreateOutDiscountOrderWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'OutDiscountInfos',
'in' => 'formData',
- 'schema' => [
- 'title' => '外部优惠信息',
- 'description' => '外部优惠信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"promotionInfos\\":[{\\"discountFee\\":\\"10000\\",\\"promotionInstanceId\\":\\"{\\\\\\"couponId\\\\\\":\\\\\\"136807***98136\\\\\\",\\\\\\"couponTemplateId\\\\\\":\\\\\\"50***5\\\\\\"}\\"}],\\"totalDiscountFee\\":\\"10000\\"}',
- ],
+ 'schema' => ['title' => '外部优惠信息', 'description' => '外部优惠信息', 'type' => 'string', 'required' => false, 'example' => '{\\"promotionInfos\\":[{\\"discountFee\\":\\"10000\\",\\"promotionInstanceId\\":\\"{\\\\\\"couponId\\\\\\":\\\\\\"136807***98136\\\\\\",\\\\\\"couponTemplateId\\\\\\":\\\\\\"50***5\\\\\\"}\\"}],\\"totalDiscountFee\\":\\"10000\\"}'],
],
[
'name' => 'OutTradeId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户订单号',
- 'description' => '客户订单号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '134860***596130',
- ],
+ 'schema' => ['title' => '客户订单号', 'description' => '客户订单号', 'type' => 'string', 'required' => false, 'example' => '134860***596130'],
],
[
'name' => 'OrderItems',
'in' => 'formData',
- 'schema' => [
- 'title' => '商品信息',
- 'description' => '商品信息',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{\\"lmItemId\\":\\"100***1-6300***472\\",\\"number\\":1,\\"outDiscountFee\\":\\"6810\\",\\"price\\":\\"8800\\",\\"skuId\\":4649***225}]',
- ],
+ 'schema' => ['title' => '商品信息', 'description' => '商品信息', 'type' => 'string', 'required' => true, 'example' => '[{\\"lmItemId\\":\\"100***1-6300***472\\",\\"number\\":1,\\"outDiscountFee\\":\\"6810\\",\\"price\\":\\"8800\\",\\"skuId\\":4649***225}]'],
],
[
'name' => 'DeliveryAddress',
'in' => 'formData',
- 'schema' => [
- 'title' => '收货地址',
- 'description' => '收货地址',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{\\"addressDetail\\":\\"湖南省**市**区**街道**7栋\\",\\"divisionCode\\":\\"43***03\\",\\"fullName\\":\\"欧**\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"430***08\\"}',
- ],
+ 'schema' => ['title' => '收货地址', 'description' => '收货地址', 'type' => 'string', 'required' => true, 'example' => '{\\"addressDetail\\":\\"湖南省**市**区**街道**7栋\\",\\"divisionCode\\":\\"43***03\\",\\"fullName\\":\\"欧**\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"430***08\\"}'],
],
[
'name' => 'DeliveryInfo',
'in' => 'formData',
- 'schema' => [
- 'title' => '配送信息',
- 'description' => '配送信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"id\\":\\"20\\",\\"postFee\\":0,\\"serviceType\\":-4}',
- ],
+ 'schema' => ['title' => '配送信息', 'description' => '配送信息', 'type' => 'string', 'required' => false, 'example' => '{\\"id\\":\\"20\\",\\"postFee\\":0,\\"serviceType\\":-4}'],
],
[
'name' => 'OrderExpireTime',
'in' => 'formData',
- 'schema' => [
- 'title' => '订单失效时间',
- 'description' => '订单失效时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3600',
- ],
+ 'schema' => ['title' => '订单失效时间', 'description' => '订单失效时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3600'],
],
[
'name' => 'BuyerMessages',
'in' => 'formData',
- 'schema' => [
- 'title' => '买家留言,订单备注; 每个主单一个备注',
- 'description' => '买家留言,订单备注; 每个主单一个备注',
- 'type' => 'string',
- 'required' => false,
- 'example' => '""',
- ],
+ 'schema' => ['title' => '买家留言,订单备注; 每个主单一个备注', 'description' => '买家留言,订单备注; 每个主单一个备注', 'type' => 'string', 'required' => false, 'example' => '""'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
- 'schema' => [
- 'title' => '拓展信息',
- 'description' => '拓展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['title' => '拓展信息', 'description' => '拓展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL2022***01',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL2022***01'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'user***001',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'user***001'],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'description' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'description' => '淘宝账号类型', 'type' => 'string', 'required' => true, 'example' => 'ANONY'],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '321**123',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '321**123'],
],
],
'responses' => [
@@ -26054,69 +12833,16 @@
'description' => 'PopResponse<OrderCreateResponseModel>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '3CDA6C55-18F1-53A6-B721-F5E26CBC95BE',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '3CDA6C55-18F1-53A6-B721-F5E26CBC95BE'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '""'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
@@ -26125,49 +12851,26 @@
'OrderIds' => [
'description' => '淘宝订单id列表',
'type' => 'array',
- 'items' => [
- 'description' => '订单ID',
- 'type' => 'string',
- 'example' => '213***137',
- ],
+ 'items' => ['description' => '订单ID', 'type' => 'string', 'example' => '213***137'],
],
'LmOrderIds' => [
'description' => 'lm订单ID列表',
'type' => 'array',
- 'items' => [
- 'description' => 'lm订单ID',
- 'type' => 'string',
- ],
- ],
- 'RedirectUrl' => [
- 'description' => '重定向地址',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com',
+ 'items' => ['description' => 'lm订单ID', 'type' => 'string'],
],
+ 'RedirectUrl' => ['description' => '重定向地址', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
'PayTradeIds' => [
'description' => '支付流水ID列表',
'type' => 'array',
- 'items' => [
- 'description' => '支付ID',
- 'type' => 'string',
- 'example' => '232***22',
- ],
- ],
- 'App' => [
- 'description' => '应用名称。',
- 'type' => 'string',
- 'example' => 'lin***app',
+ 'items' => ['description' => '支付ID', 'type' => 'string', 'example' => '232***22'],
],
+ 'App' => ['description' => '应用名称。', 'type' => 'string', 'example' => 'lin***app'],
'AllIdsMap' => [
'description' => 'linkedmall单号和淘宝单号映射',
'type' => 'object',
'additionalProperties' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '232***22',
- 'description' => 'lm主订单号ID',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '232***22', 'description' => 'lm主订单号ID'],
'description' => 'linkedmall单号和淘宝单号映射',
],
],
@@ -26179,24 +12882,12 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"3CDA6C55-18F1-53A6-B721-F5E26CBC95BE\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"OrderIds\\": [\\n \\"213***137\\"\\n ],\\n \\"LmOrderIds\\": [\\n \\"\\"\\n ],\\n \\"RedirectUrl\\": \\"https://aliyundoc.com\\",\\n \\"PayTradeIds\\": [\\n \\"232***22\\"\\n ],\\n \\"App\\": \\"lin***app\\",\\n \\"AllIdsMap\\": {\\n \\"key\\": {\\n \\"key\\": \\"232***22\\"\\n }\\n }\\n }\\n}","type":"json"}]',
@@ -26204,14 +12895,8 @@
],
'DownloadCpsBillFile' => [
'summary' => '下载佣金账单明细文件',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -26219,29 +12904,17 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'BillId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'CPS账单id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FC10000007371****',
- ],
+ 'schema' => ['description' => 'CPS账单id', 'type' => 'string', 'required' => false, 'example' => 'FC10000007371****'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20210802****',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20210802****'],
],
],
'responses' => [
@@ -26251,86 +12924,24 @@
'description' => 'PopResponse<String>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => 'SUCCESS'."\n"
- .'表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'OssUrl' => [
- 'title' => '请求结果数据',
- 'description' => 'CPS账单⽂件下'."\n"
- .'载链接地址',
- 'type' => 'string',
- 'example' => 'https://linkedmall-console.oss-cn-shanghai.aliyuncs.com/17294373****2052/linkedmall.json',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => 'SUCCESS'."\n"
+ .'表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'OssUrl' => ['title' => '请求结果数据', 'description' => 'CPS账单⽂件下'."\n"
+ .'载链接地址', 'type' => 'string', 'example' => 'https://linkedmall-console.oss-cn-shanghai.aliyuncs.com/17294373****2052/linkedmall.json'],
'BizViewData' => [
'title' => '渠道公共数据',
'description' => '渠道公共数据',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- 'description' => '渠道公共数据',
- 'example' => '{\'bizUnit\': u\'\\u79ef\\u5206\'}',
- ],
+ 'additionalProperties' => ['type' => 'any', 'description' => '渠道公共数据', 'example' => '{\'bizUnit\': u\'\\u79ef\\u5206\'}'],
],
],
],
@@ -26341,14 +12952,8 @@
],
'DownloadItemBillFile' => [
'summary' => '下载商品账单明细文件',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -26356,29 +12961,17 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'BillId',
'in' => 'formData',
- 'schema' => [
- 'description' => '商户账单id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FC10000008458****',
- ],
+ 'schema' => ['description' => '商户账单id', 'type' => 'string', 'required' => false, 'example' => 'FC10000008458****'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20191223****',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20191223****'],
],
],
'responses' => [
@@ -26388,85 +12981,23 @@
'description' => 'PopResponse<String>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '0CC07385-BA71-509F-BA7E-F7EB2024C151',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'unit-access-layer',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'RESULT_STATUS_UNKOWN',
- ],
- 'OssUrl' => [
- 'title' => '请求结果数据',
- 'description' => '账单⽂件下'."\n"
- .'载链接地址',
- 'type' => 'string',
- 'example' => 'https://linkedmall-console.oss-cn-shanghai.aliyuncs.com/15422025****2919/linkedmall.har',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '0CC07385-BA71-509F-BA7E-F7EB2024C151'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'unit-access-layer'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'RESULT_STATUS_UNKOWN'],
+ 'OssUrl' => ['title' => '请求结果数据', 'description' => '账单⽂件下'."\n"
+ .'载链接地址', 'type' => 'string', 'example' => 'https://linkedmall-console.oss-cn-shanghai.aliyuncs.com/15422025****2919/linkedmall.har'],
'BizViewData' => [
'title' => '渠道公共数据',
'description' => '渠道公共数据',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- 'description' => '渠道公共数据',
- 'example' => '{\'bizUnit\': u\'\\u79ef\\u5206\'}',
- ],
+ 'additionalProperties' => ['type' => 'any', 'description' => '渠道公共数据', 'example' => '{\'bizUnit\': u\'\\u79ef\\u5206\'}'],
],
],
],
@@ -26477,14 +13008,8 @@
],
'DownloadOrderTransactionDetailFile' => [
'summary' => '下载订单交易明细文件',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -26492,30 +13017,18 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'RecordId',
'in' => 'formData',
- 'schema' => [
- 'description' => '订单交易⽣成记录'."\n"
- .'id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ORDER-b454a111647844f5aa005dda94454751',
- ],
+ 'schema' => ['description' => '订单交易⽣成记录'."\n"
+ .'id', 'type' => 'string', 'required' => false, 'example' => 'ORDER-b454a111647844f5aa005dda94454751'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '业务id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL202111020001',
- ],
+ 'schema' => ['description' => '业务id', 'type' => 'string', 'required' => false, 'example' => 'LMALL202111020001'],
],
],
'responses' => [
@@ -26525,85 +13038,23 @@
'description' => 'PopResponse<String>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '204F5C60-0B34-5718-AF93-9BD26B37****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'OssUrl' => [
- 'title' => '请求结果数据',
- 'description' => '订单交易⽂件下载'."\n"
- .'链接地址',
- 'type' => 'string',
- 'example' => 'https://linkedmall-console.oss-cn-shanghai.aliyuncs.com/1245321481945549/linkedmall.json',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '204F5C60-0B34-5718-AF93-9BD26B37****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'OssUrl' => ['title' => '请求结果数据', 'description' => '订单交易⽂件下载'."\n"
+ .'链接地址', 'type' => 'string', 'example' => 'https://linkedmall-console.oss-cn-shanghai.aliyuncs.com/1245321481945549/linkedmall.json'],
'BizViewData' => [
'title' => '渠道公共数据',
'description' => '渠道公共数据',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- 'description' => '渠道公共数据',
- 'example' => '{\'bizUnit\': u\'\\u79ef\\u5206\'}',
- ],
+ 'additionalProperties' => ['type' => 'any', 'description' => '渠道公共数据', 'example' => '{\'bizUnit\': u\'\\u79ef\\u5206\'}'],
],
],
],
@@ -26613,55 +13064,30 @@
'title' => '获取订单交易明细⽂件下载链接',
],
'EnableOrderWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'LmOrderId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '45***23',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '45***23'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20***003',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20***003'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'u***002',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'u***002'],
],
[
'name' => 'TbAccountType',
@@ -26671,24 +13097,14 @@
'description' => '淘宝账号类型',
'type' => 'string',
'required' => true,
- 'enumValueTitles' => [
- 'ANONY' => '匿名账号',
- 'REAL' => '实名账号',
- ],
+ 'enumValueTitles' => ['ANONY' => '匿名账号', 'REAL' => '实名账号'],
'example' => 'ANONY',
],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '384***213',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '384***213'],
],
],
'responses' => [
@@ -26698,69 +13114,16 @@
'description' => 'PopResponse<EnableOrderResponse>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '26F4B2C7-93***CC-AE76C9B00D2F',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '26F4B2C7-93***CC-AE76C9B00D2F'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
@@ -26769,51 +13132,30 @@
'OrderIds' => [
'description' => '淘宝订单号列表',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'example' => '["2179***0864"]',
- ],
+ 'items' => ['type' => 'string', 'example' => '["2179***0864"]'],
],
'PayTradeIds' => [
'description' => '交易单号',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'example' => '["23242****891","238478***334"]',
- ],
- ],
- 'RedirectUrl' => [
- 'description' => '重定向地址',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com'."\n",
+ 'items' => ['type' => 'string', 'example' => '["23242****891","238478***334"]'],
],
+ 'RedirectUrl' => ['description' => '重定向地址', 'type' => 'string', 'example' => 'https://aliyundoc.com'."\n"],
'LmOrderList' => [
'description' => 'lm订单列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'description' => 'lm订单id',
- 'type' => 'string',
- 'example' => '45***23',
- ],
+ 'LmOrderId' => ['description' => 'lm订单id', 'type' => 'string', 'example' => '45***23'],
'SubLmOrderIdList' => [
'description' => '子订单id列表。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'example' => '["324***212","323**232"]',
- ],
+ 'items' => ['type' => 'string', 'example' => '["324***212","323**232"]'],
],
'ExtJson' => [
'description' => '扩展信息',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '扩展字段。',
- 'example' => '{}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '扩展字段。', 'example' => '{}'],
],
],
],
@@ -26826,56 +13168,32 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"26F4B2C7-93***CC-AE76C9B00D2F\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"OrderIds\\": [\\n \\"[\\\\\\"2179***0864\\\\\\"]\\"\\n ],\\n \\"PayTradeIds\\": [\\n \\"[\\\\\\"23242****891\\\\\\",\\\\\\"238478***334\\\\\\"]\\"\\n ],\\n \\"RedirectUrl\\": \\"https://aliyundoc.com\\\\n\\",\\n \\"LmOrderList\\": [\\n {\\n \\"LmOrderId\\": \\"45***23\\",\\n \\"SubLmOrderIdList\\": [\\n \\"[\\\\\\"324***212\\\\\\",\\\\\\"323**232\\\\\\"]\\"\\n ],\\n \\"ExtJson\\": {\\n \\"key\\": \\"{}\\"\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '指定淘宝账号下单模式下-生效订单',
],
'InitApplyRefundWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'SubLmOrderId',
'in' => 'formData',
- 'schema' => [
- 'description' => '子订单号',
- 'type' => 'string',
- 'required' => true,
- 'example' => '711***981',
- ],
+ 'schema' => ['description' => '子订单号', 'type' => 'string', 'required' => true, 'example' => '711***981'],
],
[
'name' => 'RefundCode',
@@ -26885,68 +13203,34 @@
'type' => 'integer',
'format' => 'int32',
'required' => true,
- 'enumValueTitles' => [
- 1 => '仅退款',
- 3 => '退货退款',
- ],
+ 'enumValueTitles' => [1 => '仅退款', 3 => '退货退款'],
'example' => '1',
],
],
[
'name' => 'DisputeId',
'in' => 'formData',
- 'schema' => [
- 'description' => '纠纷ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '14244***33071',
- ],
+ 'schema' => ['description' => '纠纷ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14244***33071'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL2022***001',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL2022***001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'u***001',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'u***001'],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'description' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'description' => '淘宝账号类型', 'type' => 'string', 'required' => true, 'example' => 'ANONY'],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '334***641',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '334***641'],
],
],
'responses' => [
@@ -26956,106 +13240,30 @@
'description' => 'PopResponse<InitApplyRefundModelV2>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '5BE45C12-C37***81-A8E9C61401AB',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '201',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '5BE45C12-C37***81-A8E9C61401AB'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '201'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'BizClaimType' => [
- 'title' => '支持的订单退货方式,1, 标识仅退款,3,标识退货退款',
- 'description' => '支持的订单退货方式,1, 标识仅退款,3,标识退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'MainOrderRefund' => [
- 'title' => '标识是否整单退',
- 'description' => '标识是否整单退',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'BizClaimType' => ['title' => '支持的订单退货方式,1, 标识仅退款,3,标识退货退款', 'description' => '支持的订单退货方式,1, 标识仅退款,3,标识退货退款', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'MainOrderRefund' => ['title' => '标识是否整单退', 'description' => '标识是否整单退', 'type' => 'boolean', 'example' => 'false'],
'MaxRefundFeeData' => [
'title' => '最大和最小退款金额',
'description' => '最大和最小退款金额',
'type' => 'object',
'properties' => [
- 'MaxRefundFee' => [
- 'title' => '本单最大可退款金额',
- 'description' => '本单最大可退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'MinRefundFee' => [
- 'title' => '本单最小可退款金额',
- 'description' => '本单最小可退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'MaxRefundFee' => ['title' => '本单最大可退款金额', 'description' => '本单最大可退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'MinRefundFee' => ['title' => '本单最小可退款金额', 'description' => '本单最小可退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
'RefundReasonList' => [
@@ -27065,39 +13273,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ReasonTextId' => [
- 'title' => '可发起逆向的原因',
- 'description' => '可发起逆向的原因',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12323',
- ],
- 'ReasonTips' => [
- 'title' => '原因的提示文案',
- 'description' => '原因的提示文案',
- 'type' => 'string',
- 'example' => '拍多不想要',
- ],
- 'ProofRequired' => [
- 'title' => '是否需要上传凭证',
- 'description' => '是否需要上传凭证',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'RefundDescRequired' => [
- 'title' => '是否需要对问题描述',
- 'description' => '是否需要对问题描述',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'ReasonTextId' => ['title' => '可发起逆向的原因', 'description' => '可发起逆向的原因', 'type' => 'integer', 'format' => 'int64', 'example' => '12323'],
+ 'ReasonTips' => ['title' => '原因的提示文案', 'description' => '原因的提示文案', 'type' => 'string', 'example' => '拍多不想要'],
+ 'ProofRequired' => ['title' => '是否需要上传凭证', 'description' => '是否需要上传凭证', 'type' => 'boolean', 'example' => 'false'],
+ 'RefundDescRequired' => ['title' => '是否需要对问题描述', 'description' => '是否需要对问题描述', 'type' => 'boolean', 'example' => 'false'],
],
],
],
- 'LmOrderId' => [
- 'description' => 'lm订单号',
- 'type' => 'string',
- 'example' => '711***981',
- ],
+ 'LmOrderId' => ['description' => 'lm订单号', 'type' => 'string', 'example' => '711***981'],
],
],
],
@@ -27106,24 +13289,12 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"5BE45C12-C37***81-A8E9C61401AB\\",\\n \\"SubCode\\": \\"201\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 10,\\n \\"TotalCount\\": 10,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"BizClaimType\\": 1,\\n \\"MainOrderRefund\\": false,\\n \\"MaxRefundFeeData\\": {\\n \\"MaxRefundFee\\": 10,\\n \\"MinRefundFee\\": 10\\n },\\n \\"RefundReasonList\\": [\\n {\\n \\"ReasonTextId\\": 12323,\\n \\"ReasonTips\\": \\"拍多不想要\\",\\n \\"ProofRequired\\": false,\\n \\"RefundDescRequired\\": false\\n }\\n ],\\n \\"LmOrderId\\": \\"711***981\\"\\n }\\n}","type":"json"}]',
@@ -27131,14 +13302,8 @@
],
'InitModifyRefund' => [
'summary' => '初始化退款申请修改。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27155,107 +13320,52 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL202****11224',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL202****11224'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '22112****2411',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '22112****2411'],
],
[
'name' => 'SubLmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => '发起退款的⼦订单号',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '23******85',
- ],
+ 'schema' => ['description' => '发起退款的⼦订单号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '23******85'],
],
[
'name' => 'BizClaimType',
'in' => 'query',
- 'schema' => [
- 'description' => '退款类型:1 仅退款,3 退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '退款类型:1 仅退款,3 退货退款', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'GoodsStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '货物状态。当退款类型:仅退款时,货物状态:为4未发货。所有状态:4: 未发货,6:已发货, 1: 未收到货, 2: 已收到货, 3:已寄回, 5:卖家确认收货',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '货物状态。当退款类型:仅退款时,货物状态:为4未发货。所有状态:4: 未发货,6:已发货, 1: 未收到货, 2: 已收到货, 3:已寄回, 5:卖家确认收货', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃,填AccountType即可',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '废弃,填AccountType即可', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '渠道用户id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '221122411****231',
- ],
+ 'schema' => ['description' => '渠道用户id', 'type' => 'string', 'required' => false, 'example' => '221122411****231'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
[
'name' => 'DisputeId',
'in' => 'query',
- 'schema' => [
- 'description' => '纠纷ID,通过查询订单逆向申请详情接⼝获取',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '14244******33071',
- ],
+ 'schema' => ['description' => '纠纷ID,通过查询订单逆向申请详情接⼝获取', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14244******33071'],
],
],
'responses' => [
@@ -27264,41 +13374,16 @@
'description' => '响应结果',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubLmOrderId' => [
- 'description' => '发起退款的⼦订单号',
- 'type' => 'string',
- 'example' => '23******85',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'E090F1A0-7****454-5F36-933C-E6332CE2',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubLmOrderId' => ['description' => '发起退款的⼦订单号', 'type' => 'string', 'example' => '23******85'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E090F1A0-7****454-5F36-933C-E6332CE2'],
'InitApplyRefundData' => [
'description' => '初始化的逆向申请参数',
'type' => 'object',
'properties' => [
- 'MainOrderRefund' => [
- 'description' => '是否是整单退',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'BizClaimType' => [
- 'description' => '⽀持的订单退货⽅式,1, 标识仅退款,3,标识退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
+ 'MainOrderRefund' => ['description' => '是否是整单退', 'type' => 'boolean', 'example' => 'false'],
+ 'BizClaimType' => ['description' => '⽀持的订单退货⽅式,1, 标识仅退款,3,标识退货退款', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
'RefundReasonList' => [
'type' => 'object',
'itemNode' => true,
@@ -27310,27 +13395,10 @@
'description' => '退款信息列表',
'type' => 'object',
'properties' => [
- 'ReasonTextId' => [
- 'description' => '退款信息id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '500003',
- ],
- 'ReasonTips' => [
- 'description' => '退款信息',
- 'type' => 'string',
- 'example' => '多拍不想要',
- ],
- 'ProofRequired' => [
- 'description' => '是否要求上传凭证',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'RefundDescRequired' => [
- 'description' => '是否要求留言',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ReasonTextId' => ['description' => '退款信息id', 'type' => 'integer', 'format' => 'int64', 'example' => '500003'],
+ 'ReasonTips' => ['description' => '退款信息', 'type' => 'string', 'example' => '多拍不想要'],
+ 'ProofRequired' => ['description' => '是否要求上传凭证', 'type' => 'boolean', 'example' => 'false'],
+ 'RefundDescRequired' => ['description' => '是否要求留言', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -27340,18 +13408,8 @@
'description' => '退款金额列表',
'type' => 'object',
'properties' => [
- 'MaxRefundFee' => [
- 'description' => '本单最大退款金额',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'MinRefundFee' => [
- 'description' => '本单最小退款金额',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'MaxRefundFee' => ['description' => '本单最大退款金额', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'MinRefundFee' => ['description' => '本单最小退款金额', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
],
@@ -27362,10 +13420,7 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"SubLmOrderId\\": \\"23******85\\",\\n \\"RequestId\\": \\"E090F1A0-7****454-5F36-933C-E6332CE2\\",\\n \\"InitApplyRefundData\\": {\\n \\"MainOrderRefund\\": false,\\n \\"BizClaimType\\": 3,\\n \\"RefundReasonList\\": {\\n \\"RefundReasonList\\": [\\n {\\n \\"ReasonTextId\\": 500003,\\n \\"ReasonTips\\": \\"多拍不想要\\",\\n \\"ProofRequired\\": false,\\n \\"RefundDescRequired\\": true\\n }\\n ]\\n },\\n \\"MaxRefundFeeData\\": {\\n \\"MaxRefundFee\\": 100,\\n \\"MinRefundFee\\": 10\\n }\\n }\\n}","type":"json"}]',
@@ -27373,32 +13428,20 @@
'description' => '在ModifyRefund之前调用',
],
'InitModifyRefundWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'SubLmOrderId',
'in' => 'formData',
- 'schema' => [
- 'description' => '⼦订单ID,通过查询订单详情接⼝获取',
- 'type' => 'string',
- 'required' => true,
- 'example' => '742***206',
- ],
+ 'schema' => ['description' => '⼦订单ID,通过查询订单详情接⼝获取', 'type' => 'string', 'required' => true, 'example' => '742***206'],
],
[
'name' => 'RefundCode',
@@ -27408,45 +13451,24 @@
'type' => 'integer',
'format' => 'int32',
'required' => true,
- 'enumValueTitles' => [
- 1 => '仅退款',
- 3 => '退货退款',
- ],
+ 'enumValueTitles' => [1 => '仅退款', 3 => '退货退款'],
'example' => '1',
],
],
[
'name' => 'DisputeId',
'in' => 'formData',
- 'schema' => [
- 'description' => '纠纷ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20196***0240',
- ],
+ 'schema' => ['description' => '纠纷ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20196***0240'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL2022***001',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL2022***001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'u***002',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'u***002'],
],
[
'name' => 'TbAccountType',
@@ -27456,24 +13478,14 @@
'description' => '淘宝账号类型',
'type' => 'string',
'required' => true,
- 'enumValueTitles' => [
- 'ANONY' => '匿名账号',
- 'REAL' => '实名账号',
- ],
+ 'enumValueTitles' => ['ANONY' => '匿名账号', 'REAL' => '实名账号'],
'example' => 'ANONY',
],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '345***211',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '345***211'],
],
],
'responses' => [
@@ -27483,106 +13495,30 @@
'description' => 'PopResponse<InitApplyRefundModelV2>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '6EF1D7F7-64***EF5-5F004D3D4247',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '6EF1D7F7-64***EF5-5F004D3D4247'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'BizClaimType' => [
- 'title' => '支持的订单退货方式,1, 标识仅退款,3,标识退货退款',
- 'description' => '支持的订单退货方式,1, 标识仅退款,3,标识退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'MainOrderRefund' => [
- 'title' => '标识是否整单退',
- 'description' => '标识是否整单退',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'BizClaimType' => ['title' => '支持的订单退货方式,1, 标识仅退款,3,标识退货退款', 'description' => '支持的订单退货方式,1, 标识仅退款,3,标识退货退款', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'MainOrderRefund' => ['title' => '标识是否整单退', 'description' => '标识是否整单退', 'type' => 'boolean', 'example' => 'false'],
'MaxRefundFeeData' => [
'title' => '最大和最小退款金额',
'description' => '最大和最小退款金额',
'type' => 'object',
'properties' => [
- 'MaxRefundFee' => [
- 'title' => '本单最大可退款金额',
- 'description' => '本单最大可退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'MinRefundFee' => [
- 'title' => '本单最小可退款金额',
- 'description' => '本单最小可退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'MaxRefundFee' => ['title' => '本单最大可退款金额', 'description' => '本单最大可退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'MinRefundFee' => ['title' => '本单最小可退款金额', 'description' => '本单最小可退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
'RefundReasonList' => [
@@ -27592,39 +13528,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ReasonTextId' => [
- 'title' => '可发起逆向的原因',
- 'description' => '可发起逆向的原因',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12323',
- ],
- 'ReasonTips' => [
- 'title' => '原因的提示文案',
- 'description' => '原因的提示文案',
- 'type' => 'string',
- 'example' => '拍多不想要',
- ],
- 'ProofRequired' => [
- 'title' => '是否需要上传凭证',
- 'description' => '是否需要上传凭证',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'RefundDescRequired' => [
- 'title' => '是否需要对问题描述',
- 'description' => '是否需要对问题描述',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'ReasonTextId' => ['title' => '可发起逆向的原因', 'description' => '可发起逆向的原因', 'type' => 'integer', 'format' => 'int64', 'example' => '12323'],
+ 'ReasonTips' => ['title' => '原因的提示文案', 'description' => '原因的提示文案', 'type' => 'string', 'example' => '拍多不想要'],
+ 'ProofRequired' => ['title' => '是否需要上传凭证', 'description' => '是否需要上传凭证', 'type' => 'boolean', 'example' => 'false'],
+ 'RefundDescRequired' => ['title' => '是否需要对问题描述', 'description' => '是否需要对问题描述', 'type' => 'boolean', 'example' => 'false'],
],
],
],
- 'LmOrderId' => [
- 'description' => 'lm订单号',
- 'type' => 'string',
- 'example' => '742***206',
- ],
+ 'LmOrderId' => ['description' => 'lm订单号', 'type' => 'string', 'example' => '742***206'],
],
],
],
@@ -27633,24 +13544,12 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"6EF1D7F7-64***EF5-5F004D3D4247\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"BizClaimType\\": 1,\\n \\"MainOrderRefund\\": false,\\n \\"MaxRefundFeeData\\": {\\n \\"MaxRefundFee\\": 100,\\n \\"MinRefundFee\\": 10\\n },\\n \\"RefundReasonList\\": [\\n {\\n \\"ReasonTextId\\": 12323,\\n \\"ReasonTips\\": \\"拍多不想要\\",\\n \\"ProofRequired\\": false,\\n \\"RefundDescRequired\\": false\\n }\\n ],\\n \\"LmOrderId\\": \\"742***206\\"\\n }\\n}","type":"json"}]',
@@ -27658,13 +13557,8 @@
],
'ModifyRefund' => [
'summary' => '修改退款申请。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27680,140 +13574,67 @@
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******001'],
],
[
'name' => 'BizUid',
'in' => 'query',
- 'schema' => [
- 'description' => '和thirdPartyUserId传一样的值',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '220635******232',
- ],
+ 'schema' => ['description' => '和thirdPartyUserId传一样的值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '220635******232'],
],
[
'name' => 'SubLmOrderId',
'in' => 'query',
- 'schema' => [
- 'description' => '⼦订单ID,通过查询订单详情接⼝获取',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '38******75',
- ],
+ 'schema' => ['description' => '⼦订单ID,通过查询订单详情接⼝获取', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '38******75'],
],
[
'name' => 'BizClaimType',
'in' => 'query',
- 'schema' => [
- 'description' => '退款类型。1 仅退款, 3 退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '退款类型。1 仅退款, 3 退货退款', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'ApplyRefundFee',
'in' => 'query',
- 'schema' => [
- 'description' => '申请退款金额,以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '790',
- ],
+ 'schema' => ['description' => '申请退款金额,以分为单位', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '790'],
],
[
'name' => 'ApplyRefundCount',
'in' => 'query',
- 'schema' => [
- 'description' => '退货数量,可不传',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '退货数量,可不传', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ApplyReasonTextId',
'in' => 'query',
- 'schema' => [
- 'description' => '退款原因ID。选择的reasonTextId,通过initModifyRefund接⼝获取',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '500325',
- ],
+ 'schema' => ['description' => '退款原因ID。选择的reasonTextId,通过initModifyRefund接⼝获取', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '500325'],
],
[
'name' => 'LeaveMessage',
'in' => 'formData',
- 'schema' => [
- 'description' => '留言。买家说明,某些原因要求必须留⾔',
- 'type' => 'string',
- 'required' => false,
- 'example' => '快递滞留 买家申请退款',
- ],
+ 'schema' => ['description' => '留言。买家说明,某些原因要求必须留⾔', 'type' => 'string', 'required' => false, 'example' => '快递滞留 买家申请退款'],
],
[
'name' => 'GoodsStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '货物状态。当退款类型:仅退款时,货物状态:为4未发货。所有状态:4: 未发货,6:已发货, 1: 未收到货, 2: 已收到货, 3:已寄回, 5:卖家确认收货',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '4',
- ],
+ 'schema' => ['description' => '货物状态。当退款类型:仅退款时,货物状态:为4未发货。所有状态:4: 未发货,6:已发货, 1: 未收到货, 2: 已收到货, 3:已寄回, 5:卖家确认收货', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'],
],
[
'name' => 'UseAnonymousTbAccount',
'in' => 'query',
- 'schema' => [
- 'description' => '废弃,填AccountType即可',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => '',
- ],
+ 'schema' => ['description' => '废弃,填AccountType即可', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => ''],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '渠道用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '220635******232',
- ],
+ 'schema' => ['description' => '渠道用户ID', 'type' => 'string', 'required' => false, 'example' => '220635******232'],
],
[
'name' => 'AccountType',
'in' => 'query',
- 'schema' => [
- 'description' => '固定值:ANONY',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['description' => '固定值:ANONY', 'type' => 'string', 'required' => false, 'example' => 'ANONY'],
],
[
'name' => 'LeavePictureList',
@@ -27826,18 +13647,8 @@
'description' => '凭证列表,某些原因要求必须有凭证。需要传图⽚的URL地址,实现⽅式为强制下载,勿使⽤静态资源映射',
'type' => 'object',
'properties' => [
- 'Picture' => [
- 'description' => '图片地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://lm-dk.oss-cn-hangzhou.aliyuncs.com/1635738731345.png',
- ],
- 'Desc' => [
- 'description' => '图片描述',
- 'type' => 'string',
- 'required' => false,
- 'example' => '瑕疵的商品图片!',
- ],
+ 'Picture' => ['description' => '图片地址', 'type' => 'string', 'required' => false, 'example' => 'https://lm-dk.oss-cn-hangzhou.aliyuncs.com/1635738731345.png'],
+ 'Desc' => ['description' => '图片描述', 'type' => 'string', 'required' => false, 'example' => '瑕疵的商品图片!'],
],
'required' => false,
],
@@ -27848,13 +13659,7 @@
[
'name' => 'DisputeId',
'in' => 'query',
- 'schema' => [
- 'description' => '纠纷ID,通过查询订单逆向申请详情接⼝获取',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '14244******33071',
- ],
+ 'schema' => ['description' => '纠纷ID,通过查询订单逆向申请详情接⼝获取', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14244******33071'],
],
],
'responses' => [
@@ -27862,42 +13667,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A7BE4356-7F92-533E-A31B-****2D67',
- ],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A7BE4356-7F92-533E-A31B-****2D67'],
'RefundApplicationData' => [
'description' => '申请的返回数据',
'type' => 'object',
'properties' => [
- 'DisputeType' => [
- 'description' => '任意退款类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'SubLmOrderId' => [
- 'description' => '当前发起逆向的子订单号',
- 'type' => 'string',
- 'example' => '37******31',
- ],
- 'DisputeStatus' => [
- 'description' => '逆向状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'DisputeType' => ['description' => '任意退款类型', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'SubLmOrderId' => ['description' => '当前发起逆向的子订单号', 'type' => 'string', 'example' => '37******31'],
+ 'DisputeStatus' => ['description' => '逆向状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -27906,10 +13685,7 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"RequestId\\": \\"A7BE4356-7F92-533E-A31B-****2D67\\",\\n \\"RefundApplicationData\\": {\\n \\"DisputeType\\": 0,\\n \\"SubLmOrderId\\": \\"37******31\\",\\n \\"DisputeStatus\\": 1\\n }\\n}","type":"json"}]',
@@ -27917,81 +13693,50 @@
'description' => '基于 initModifyRefund 接⼝获取退款信息,发起修改退款申请,只有发起退款申请后,才能发起修改申请',
],
'ModifyRefundWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'SubLmOrderId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RefundCode',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'ReasonId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'RefundFee',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'GoodsStatus',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'RefundCount',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
[
'name' => 'Message',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Proofs',
@@ -28002,12 +13747,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'MessagePic' => [
- 'type' => 'string',
- ],
- 'MessagePicDesc' => [
- 'type' => 'string',
- ],
+ 'MessagePic' => ['type' => 'string'],
+ 'MessagePicDesc' => ['type' => 'string'],
],
],
],
@@ -28015,46 +13756,27 @@
[
'name' => 'DisputeId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '客户业务ID', 'type' => 'string', 'required' => true],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'type' => 'string', 'required' => true],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'type' => 'string', 'required' => true],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64'],
],
],
'responses' => [
@@ -28063,72 +13785,24 @@
'title' => 'PopResponse<RefundApplicationModel>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'type' => 'string',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string'],
+ 'PageSize' => ['title' => 'pageSize', 'type' => 'integer', 'format' => 'int64'],
+ 'PageNumber' => ['title' => '当前页', 'type' => 'integer', 'format' => 'int64'],
+ 'TotalCount' => ['title' => '总数量', 'type' => 'integer', 'format' => 'int64'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'type' => 'boolean'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string'],
+ 'Message' => ['title' => '错误消息', 'type' => 'string'],
'Model' => [
'title' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'SubLmOrderId' => [
- 'title' => 'Linkedmall 子订单号',
- 'type' => 'string',
- ],
- 'DisputeStatus' => [
- 'title' => '逆向申请单的状态',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'DisputeType' => [
- 'title' => '逆向售后的类型',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'DisputeId' => [
- 'title' => '纠纷id',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'SubLmOrderId' => ['title' => 'Linkedmall 子订单号', 'type' => 'string'],
+ 'DisputeStatus' => ['title' => '逆向申请单的状态', 'type' => 'integer', 'format' => 'int32'],
+ 'DisputeType' => ['title' => '逆向售后的类型', 'type' => 'integer', 'format' => 'int32'],
+ 'DisputeId' => ['title' => '纠纷id', 'type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -28137,36 +13811,19 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
],
'ModifySettleAccount' => [
'summary' => '修改结算账号。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -28180,120 +13837,62 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AccountNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '账户号',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '123******000',
- ],
+ 'schema' => ['description' => '账户号', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '123******000'],
],
[
'name' => 'AccountName',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号名称',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '北京******有限公司',
- ],
+ 'schema' => ['description' => '账号名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '北京******有限公司'],
],
[
'name' => 'AccountType',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号类型',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'company',
- ],
+ 'schema' => ['description' => '账号类型', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'company'],
],
[
'name' => 'AccountChannel',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号渠道',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'bank',
- ],
+ 'schema' => ['description' => '账号渠道', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'bank'],
],
[
'name' => 'AccountPayType',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号支付类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'transferIn',
- ],
+ 'schema' => ['description' => '账号支付类型', 'type' => 'string', 'required' => false, 'example' => 'transferIn'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
- 'schema' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"bankBranchName\\":\\"**区支行\\",\\"bankName\\":\\"**农业银行\\",\\"bankProvince\\":\\"29*3\\",\\"channelId\\":\\"123456789\\",\\"bankCity\\":\\"2983\\"}',
- ],
+ 'schema' => ['description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{\\"bankBranchName\\":\\"**区支行\\",\\"bankName\\":\\"**农业银行\\",\\"bankProvince\\":\\"29*3\\",\\"channelId\\":\\"123456789\\",\\"bankCity\\":\\"2983\\"}'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20******001'],
],
[
'name' => 'AccountId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1766******9951934',
- ],
+ 'schema' => ['description' => '账号ID', 'type' => 'string', 'required' => false, 'example' => '1766******9951934'],
],
[
'name' => 'IdempotentId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '202112******31746-1202',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => '202112******31746-1202'],
],
[
'name' => 'Currency',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CNY',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => 'CNY'],
],
[
'name' => 'CountryOrAreaCode',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => 'HK',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => 'HK'],
],
],
'responses' => [
@@ -28301,63 +13900,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '5127621C-****-5DCA-9745-2936B31DFD12',
- ],
- 'Success' => [
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'Code' => [
- 'description' => '成功:"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '205',
- ],
- 'LogsId' => [
- 'description' => '废弃',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '5127621C-****-5DCA-9745-2936B31DFD12'],
+ 'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '成功'],
+ 'Code' => ['description' => '成功:"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => '成功'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '205'],
+ 'LogsId' => ['description' => '废弃', 'type' => 'string', 'example' => '1'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'title' => '主键ID',
- 'description' => '主键ID',
- 'type' => 'string',
- 'example' => 'F-7805***B4A4A2762',
- ],
- 'AccountId' => [
- 'title' => '结算账号ID',
- 'description' => '结算账号ID',
- 'type' => 'string',
- 'example' => '69******45',
- ],
- 'AccountNo' => [
- 'title' => '入参账号no',
- 'description' => '入参账号no',
- 'type' => 'string',
- 'example' => '15******65',
- ],
+ 'Id' => ['title' => '主键ID', 'description' => '主键ID', 'type' => 'string', 'example' => 'F-7805***B4A4A2762'],
+ 'AccountId' => ['title' => '结算账号ID', 'description' => '结算账号ID', 'type' => 'string', 'example' => '69******45'],
+ 'AccountNo' => ['title' => '入参账号no', 'description' => '入参账号no', 'type' => 'string', 'example' => '15******65'],
],
],
],
@@ -28366,14 +13922,8 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5127621C-****-5DCA-9745-2936B31DFD12\\",\\n \\"Success\\": true,\\n \\"SubMessage\\": \\"成功\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"成功\\",\\n \\"SubCode\\": \\"205\\",\\n \\"LogsId\\": \\"1\\",\\n \\"Model\\": {\\n \\"Id\\": \\"F-7805***B4A4A2762\\",\\n \\"AccountId\\": \\"69******45\\",\\n \\"AccountNo\\": \\"15******65\\"\\n }\\n}","type":"json"}]',
@@ -28381,14 +13931,8 @@
],
'ModifySupplierPriceAndPriceCent' => [
'summary' => '修改商品供货价和渠道售价',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -28396,69 +13940,37 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'LmShopId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm侧店铺ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1002****',
- ],
+ 'schema' => ['description' => 'lm侧店铺ID', 'type' => 'string', 'required' => false, 'example' => '1002****'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10026780-55789045****',
- ],
+ 'schema' => ['description' => 'lm侧商品id', 'type' => 'string', 'required' => false, 'example' => '10026780-55789045****'],
],
[
'name' => 'SkuId',
'in' => 'query',
- 'schema' => [
- 'description' => '下单商品的skuId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '490073602****',
- ],
+ 'schema' => ['description' => '下单商品的skuId', 'type' => 'string', 'required' => false, 'example' => '490073602****'],
],
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20220713****',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20220713****'],
],
[
'name' => 'SupplierPrice',
'in' => 'query',
- 'schema' => [
- 'description' => '供货价',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '供货价', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
'name' => 'PriceCent',
'in' => 'query',
- 'schema' => [
- 'description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4880',
- ],
+ 'schema' => ['description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位', 'type' => 'string', 'required' => false, 'example' => '4880'],
],
],
'responses' => [
@@ -28468,27 +13980,10 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'F1339E71-CB73-5440-BD39-1C98A8ED50E3',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The bizId or lmOrderId is mandatory for this action.',
- ],
- 'Model' => [
- 'description' => '返回结果',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'F1339E71-CB73-5440-BD39-1C98A8ED50E3'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The bizId or lmOrderId is mandatory for this action.'],
+ 'Model' => ['description' => '返回结果', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -28497,32 +13992,20 @@
'title' => '修改供应商价格和供货价',
],
'OpenRealTbAccountSupport' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20***002',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20***002'],
],
],
'responses' => [
@@ -28532,113 +14015,37 @@
'description' => 'PopResponse',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '6103AD7B-2***0-579DA58D08E8',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '201',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Model' => [
- 'title' => '请求结果数据',
- 'description' => '请求结果数据',
- 'type' => 'any',
- 'example' => '[]',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '6103AD7B-2***0-579DA58D08E8'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '201'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '""'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Model' => ['title' => '请求结果数据', 'description' => '请求结果数据', 'type' => 'any', 'example' => '[]'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"6103AD7B-2***0-579DA58D08E8\\",\\n \\"SubCode\\": \\"201\\",\\n \\"SubMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": \\"[]\\"\\n}","type":"json"}]',
'title' => '开通实名淘宝账号下单能力',
],
'QueryBizItemListV2' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -28646,69 +14053,33 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务的唯一标识号,由阿里云提供'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20210802****',
- ],
+ 'schema' => ['description' => '业务的唯一标识号,由阿里云提供'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20210802****'],
],
[
'name' => 'SubBizId',
'in' => 'query',
- 'schema' => [
- 'description' => '子渠道ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'db18296d3e56417c8817acf43bfd****',
- ],
+ 'schema' => ['description' => '子渠道ID', 'type' => 'string', 'required' => false, 'example' => 'db18296d3e56417c8817acf43bfd****'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每⻚多少条记录,最⼤20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '20',
- 'minimum' => '1',
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每⻚多少条记录,最⼤20条', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '20', 'minimum' => '1', 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '2147483647',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1'],
],
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '214123553****',
- ],
+ 'schema' => ['description' => '用户ID', 'type' => 'string', 'required' => false, 'example' => '214123553****'],
],
[
'name' => 'LmItemIds',
@@ -28717,12 +14088,7 @@
'schema' => [
'description' => 'lm侧商品ID列表',
'type' => 'array',
- 'items' => [
- 'description' => 'lm侧商品ID列表',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"10000230-60716881****\\",\\"10000021-59183191****\\"]',
- ],
+ 'items' => ['description' => 'lm侧商品ID列表', 'type' => 'string', 'required' => false, 'example' => '[\\"10000230-60716881****\\",\\"10000021-59183191****\\"]'],
'required' => false,
],
],
@@ -28733,26 +14099,14 @@
'schema' => [
'description' => '商品ID列表',
'type' => 'array',
- 'items' => [
- 'description' => '商品ID列表',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '[61703863****]',
- ],
+ 'items' => ['description' => '商品ID列表', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[61703863****]'],
'required' => false,
],
],
[
'name' => 'CategoryId',
'in' => 'query',
- 'schema' => [
- 'description' => '类⽬ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '5001****',
- ],
+ 'schema' => ['description' => '类⽬ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5001****'],
],
],
'responses' => [
@@ -28760,39 +14114,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '5A5D5396-AFA0-56A3-86E5-13AB4C80****',
- ],
- 'Code' => [
- 'description' => '成功时,返回"SUCCESS"。错误码见后面小节',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageNumber' => [
- 'description' => '当前⻚码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每⻚多少条记录,最⼤20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '总商品数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '5A5D5396-AFA0-56A3-86E5-13AB4C80****'],
+ 'Code' => ['description' => '成功时,返回"SUCCESS"。错误码见后面小节', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageNumber' => ['description' => '当前⻚码,从1开始', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '每⻚多少条记录,最⼤20条', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalCount' => ['description' => '总商品数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'ItemList' => [
'type' => 'object',
'itemNode' => true,
@@ -28804,63 +14131,17 @@
'description' => '商品列表,如果code=SUCCESS,此项必须',
'type' => 'object',
'properties' => [
- 'ExtJson' => [
- 'description' => '拓展字段',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'MainPicUrl' => [
- 'description' => '主图地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg',
- ],
- 'ItemTitle' => [
- 'description' => '商品标题',
- 'type' => 'string',
- 'example' => '核枣枸杞黑芝麻糕',
- ],
- 'LmItemId' => [
- 'description' => 'Lm侧商品ID',
- 'type' => 'string',
- 'example' => '10001031-61382859****',
- ],
- 'SellerId' => [
- 'description' => '卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '220868858****',
- ],
- 'CategoryId' => [
- 'description' => '最后⼀级的类⽬ID,之后会提供类⽬查询接⼝来获取商品所属类⽬信息',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50014741',
- ],
- 'CanSell' => [
- 'description' => '是否可售卖,不包含库存为0的逻辑判断',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CustomizedItemName' => [
- 'type' => 'string',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '60843842****',
- ],
- 'ReservePrice' => [
- 'description' => '商详页显示的划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'TaobaoShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '橘子郡',
- ],
+ 'ExtJson' => ['description' => '拓展字段', 'type' => 'string', 'example' => '""'],
+ 'MainPicUrl' => ['description' => '主图地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'],
+ 'ItemTitle' => ['description' => '商品标题', 'type' => 'string', 'example' => '核枣枸杞黑芝麻糕'],
+ 'LmItemId' => ['description' => 'Lm侧商品ID', 'type' => 'string', 'example' => '10001031-61382859****'],
+ 'SellerId' => ['description' => '卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '220868858****'],
+ 'CategoryId' => ['description' => '最后⼀级的类⽬ID,之后会提供类⽬查询接⼝来获取商品所属类⽬信息', 'type' => 'integer', 'format' => 'int64', 'example' => '50014741'],
+ 'CanSell' => ['description' => '是否可售卖,不包含库存为0的逻辑判断', 'type' => 'boolean', 'example' => 'true'],
+ 'CustomizedItemName' => ['type' => 'string'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '60843842****'],
+ 'ReservePrice' => ['description' => '商详页显示的划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'TaobaoShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '橘子郡'],
'SkuList' => [
'type' => 'object',
'itemNode' => true,
@@ -28872,61 +14153,16 @@
'description' => '商品sku列表',
'type' => 'object',
'properties' => [
- 'PriceCent' => [
- 'description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'SkuId' => [
- 'description' => '商品的SkuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '464704439****',
- ],
- 'TaoBaoCurrentPrice' => [
- 'description' => '"淘宝当前售价,淘宝天猫官⽅的实际售卖价格,⾮供货价,仅⽤来做价格对⽐⽤,前端建议不显示,可显示划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4990',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SkuPicUrl' => [
- 'description' => 'sku图片地址',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SkuTitle' => [
- 'description' => '商品sku名称',
- 'type' => 'string',
- 'example' => '白色',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2190',
- ],
- 'BenefitId' => [
- 'description' => '商品权益ID',
- 'type' => 'string',
- 'example' => '202110260050220000009154****',
- ],
- 'CustomizedAttributeMap' => [
- 'description' => '买家信息',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'PriceCent' => ['description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'SkuId' => ['description' => '商品的SkuId', 'type' => 'integer', 'format' => 'int64', 'example' => '464704439****'],
+ 'TaoBaoCurrentPrice' => ['description' => '"淘宝当前售价,淘宝天猫官⽅的实际售卖价格,⾮供货价,仅⽤来做价格对⽐⽤,前端建议不显示,可显示划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '4990'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'SkuPicUrl' => ['description' => 'sku图片地址', 'type' => 'string', 'example' => 'https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SkuTitle' => ['description' => '商品sku名称', 'type' => 'string', 'example' => '白色'],
+ 'PointsAmount' => ['description' => '积分抵扣价格', 'type' => 'integer', 'format' => 'int64', 'example' => '2190'],
+ 'BenefitId' => ['description' => '商品权益ID', 'type' => 'string', 'example' => '202110260050220000009154****'],
+ 'CustomizedAttributeMap' => ['description' => '买家信息', 'type' => 'object', 'example' => '{}'],
'GradePriceModels' => [
'type' => 'object',
'itemNode' => true,
@@ -28936,58 +14172,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Recommend' => [
- 'type' => 'boolean',
- ],
- 'ShowName' => [
- 'type' => 'string',
- ],
- 'PriceCent' => [
- 'description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'Icon' => [
- 'type' => 'string',
- ],
- 'PointPrice' => [
- 'description' => '积分价格',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Exclusive' => [
- 'type' => 'boolean',
- ],
- 'CharacteristicName' => [
- 'type' => 'string',
- ],
- 'AccessUrl' => [
- 'type' => 'string',
- ],
- 'SubBizCode' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'example' => 'c7cd01774ad24fe08fbda01e9****',
- ],
- 'CharacteristicCode' => [
- 'type' => 'string',
- ],
- 'CanBuy' => [
- 'type' => 'boolean',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2990',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'Recommend' => ['type' => 'boolean'],
+ 'ShowName' => ['type' => 'string'],
+ 'PriceCent' => ['description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'Icon' => ['type' => 'string'],
+ 'PointPrice' => ['description' => '积分价格', 'type' => 'integer', 'format' => 'int64'],
+ 'Exclusive' => ['type' => 'boolean'],
+ 'CharacteristicName' => ['type' => 'string'],
+ 'AccessUrl' => ['type' => 'string'],
+ 'SubBizCode' => ['description' => '子业务号', 'type' => 'string', 'example' => 'c7cd01774ad24fe08fbda01e9****'],
+ 'CharacteristicCode' => ['type' => 'string'],
+ 'CanBuy' => ['type' => 'boolean'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '2990'],
+ 'PointsAmount' => ['description' => '积分抵扣价格', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'UserLabelList' => [
'type' => 'object',
'itemNode' => true,
@@ -28995,11 +14192,7 @@
'UserLabelList' => [
'description' => '用户标签列表',
'type' => 'array',
- 'items' => [
- 'description' => '用户标签列表',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'items' => ['description' => '用户标签列表', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -29015,12 +14208,8 @@
'UserLabelList' => [
'description' => '用户标签列表',
'type' => 'array',
- 'items' => [
- 'description' => '用户标签列表'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'items' => ['description' => '用户标签列表'."\n"
+ ."\n", 'type' => 'string', 'example' => '""'],
],
],
],
@@ -29040,10 +14229,7 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5A5D5396-AFA0-56A3-86E5-13AB4C80****\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 10,\\n \\"ItemList\\": {\\n \\"Item\\": [\\n {\\n \\"ExtJson\\": \\"\\\\\\"\\\\\\"\\",\\n \\"MainPicUrl\\": \\"https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg\\",\\n \\"ItemTitle\\": \\"核枣枸杞黑芝麻糕\\",\\n \\"LmItemId\\": \\"10001031-61382859****\\",\\n \\"SellerId\\": 0,\\n \\"CategoryId\\": 50014741,\\n \\"CanSell\\": true,\\n \\"CustomizedItemName\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"ReservePrice\\": 4990,\\n \\"TaobaoShopName\\": \\"橘子郡\\",\\n \\"SkuList\\": {\\n \\"Sku\\": [\\n {\\n \\"PriceCent\\": 4990,\\n \\"SkuId\\": 0,\\n \\"TaoBaoCurrentPrice\\": 4990,\\n \\"CanSell\\": true,\\n \\"SkuPicUrl\\": \\"https://img.alicdn.com/imgextra/i3/22066070*****/O1CN01jCtHkC1ZjO2Q8DWUk_!!0-item_pic.jpg\\",\\n \\"Points\\": 0,\\n \\"SkuTitle\\": \\"白色\\",\\n \\"PointsAmount\\": 2190,\\n \\"BenefitId\\": \\"202110260050220000009154****\\",\\n \\"CustomizedAttributeMap\\": {},\\n \\"GradePriceModels\\": {\\n \\"GradePriceModel\\": [\\n {\\n \\"Recommend\\": true,\\n \\"ShowName\\": \\"\\",\\n \\"PriceCent\\": 2990,\\n \\"Icon\\": \\"\\",\\n \\"PointPrice\\": 0,\\n \\"Exclusive\\": true,\\n \\"CharacteristicName\\": \\"\\",\\n \\"AccessUrl\\": \\"\\",\\n \\"SubBizCode\\": \\"c7cd01774ad24fe08fbda01e9****\\",\\n \\"CharacteristicCode\\": \\"\\",\\n \\"CanBuy\\": true,\\n \\"Points\\": 2990,\\n \\"PointsAmount\\": 0,\\n \\"UserLabelList\\": {\\n \\"UserLabelList\\": [\\n \\"\\\\\\"\\\\\\"\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"UserLabelList\\": {\\n \\"UserLabelList\\": [\\n \\"\\\\\\"\\\\\\"\\"\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
@@ -29082,86 +14268,45 @@
.' }',
],
'QueryGuideItemGroupForCrowdOperation' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '商品组ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'taojinbi-shang******',
- ],
+ 'schema' => ['description' => '商品组ID', 'type' => 'string', 'required' => false, 'example' => 'taojinbi-shang******'],
],
[
'name' => 'ItemState',
'in' => 'query',
- 'schema' => [
- 'description' => '商品状态 ALL: 所有;AVAILABLE_FOR_SALE:可售的;NOT_FOR_SALE:不可售的',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ALL',
- ],
+ 'schema' => ['description' => '商品状态 ALL: 所有;AVAILABLE_FOR_SALE:可售的;NOT_FOR_SALE:不可售的', 'type' => 'string', 'required' => false, 'example' => 'ALL'],
],
[
'name' => 'UserFlag',
'in' => 'query',
- 'schema' => [
- 'description' => '人群特征',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'level1',
- ],
+ 'schema' => ['description' => '人群特征', 'type' => 'string', 'required' => false, 'example' => 'level1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'title' => '每页数量',
- 'description' => '每页数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'title' => '页码',
- 'description' => '页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20211119****',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20211119****'],
],
],
'responses' => [
@@ -29171,69 +14316,16 @@
'description' => 'PopResponse<List<GuideItemGroupModel>>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '45B9EF4E-4D18-59B2-85E6-9B568F73C79D',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '206',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '80',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '45B9EF4E-4D18-59B2-85E6-9B568F73C79D'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '206'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '80'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
@@ -29241,102 +14333,31 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ItemId' => [
- 'title' => '商品id',
- 'description' => '商品id',
- 'type' => 'string',
- 'example' => '65******0310',
- ],
- 'LmItemId' => [
- 'description' => 'LM商品ID',
- 'type' => 'string',
- 'example' => '10000102-630292778855',
- ],
- 'ItemTitle' => [
- 'title' => '商品名称',
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '大自然酸菜(美好生鲜)',
- ],
- 'MainPicUrl' => [
- 'title' => '商品主图',
- 'description' => '商品主图',
- 'type' => 'string',
- ],
- 'WhitePicUrl' => [
- 'title' => '白底图',
- 'description' => '白底图',
- 'type' => 'string',
- ],
- 'AtmospherePicUrl' => [
- 'title' => '氛围图片(如:支付宝列表要求返回的主图第二张)',
- 'description' => '氛围图片(如:支付宝列表要求返回的主图第二张)',
- 'type' => 'string',
- ],
- 'ItemUrl' => [
- 'title' => '详情链接',
- 'description' => '详情链接',
- 'type' => 'string',
- 'example' => 'https://******.aliyun-inc.com/#/assistant?targetTab=TAB_GM_FAIL&regionId=9&startTime=2022-08-22%2000:00:00&endTime=2022-08-22%2018:06:01&appIds=408',
- ],
- 'PriceCent' => [
- 'title' => '商品销售价格(分)',
- 'description' => '商品销售价格(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '780',
- ],
- 'Points' => [
- 'title' => '积分,单位:个。如果为空或为0,表示没有积分价格,pointsAmount也不会生效。',
- 'description' => '积分,单位:个。如果为空或为0,表示没有积分价格,pointsAmount也不会生效。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3980',
- ],
- 'PointsAmount' => [
- 'title' => '积分抵扣的金额,单位:分。用户真实支付 (points个积分) + (pointPrice 分钱)。需要打在订单标上,传给PMT',
- 'description' => '积分抵扣的金额,单位:分。用户真实支付 (points个积分) + (pointPrice 分钱)。需要打在订单标上,传给PMT',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8000',
- ],
- 'PointPrice' => [
- 'title' => '积分价格(分),给用户显示时使用,以及在用户自己支付时需要真实支付的金额。',
- 'description' => '积分价格(分),给用户显示时使用,以及在用户自己支付时需要真实支付的金额。',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ReservePrice' => [
- 'title' => '商品原价(元)',
- 'description' => '商品原价(元)',
- 'type' => 'string',
- 'example' => '1035',
- ],
+ 'ItemId' => ['title' => '商品id', 'description' => '商品id', 'type' => 'string', 'example' => '65******0310'],
+ 'LmItemId' => ['description' => 'LM商品ID', 'type' => 'string', 'example' => '10000102-630292778855'],
+ 'ItemTitle' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string', 'example' => '大自然酸菜(美好生鲜)'],
+ 'MainPicUrl' => ['title' => '商品主图', 'description' => '商品主图', 'type' => 'string'],
+ 'WhitePicUrl' => ['title' => '白底图', 'description' => '白底图', 'type' => 'string'],
+ 'AtmospherePicUrl' => ['title' => '氛围图片(如:支付宝列表要求返回的主图第二张)', 'description' => '氛围图片(如:支付宝列表要求返回的主图第二张)', 'type' => 'string'],
+ 'ItemUrl' => ['title' => '详情链接', 'description' => '详情链接', 'type' => 'string', 'example' => 'https://******.aliyun-inc.com/#/assistant?targetTab=TAB_GM_FAIL&regionId=9&startTime=2022-08-22%2000:00:00&endTime=2022-08-22%2018:06:01&appIds=408'],
+ 'PriceCent' => ['title' => '商品销售价格(分)', 'description' => '商品销售价格(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '780'],
+ 'Points' => ['title' => '积分,单位:个。如果为空或为0,表示没有积分价格,pointsAmount也不会生效。', 'description' => '积分,单位:个。如果为空或为0,表示没有积分价格,pointsAmount也不会生效。', 'type' => 'integer', 'format' => 'int64', 'example' => '3980'],
+ 'PointsAmount' => ['title' => '积分抵扣的金额,单位:分。用户真实支付 (points个积分) + (pointPrice 分钱)。需要打在订单标上,传给PMT', 'description' => '积分抵扣的金额,单位:分。用户真实支付 (points个积分) + (pointPrice 分钱)。需要打在订单标上,传给PMT', 'type' => 'integer', 'format' => 'int64', 'example' => '8000'],
+ 'PointPrice' => ['title' => '积分价格(分),给用户显示时使用,以及在用户自己支付时需要真实支付的金额。', 'description' => '积分价格(分),给用户显示时使用,以及在用户自己支付时需要真实支付的金额。', 'type' => 'integer', 'format' => 'int64'],
+ 'ReservePrice' => ['title' => '商品原价(元)', 'description' => '商品原价(元)', 'type' => 'string', 'example' => '1035'],
'CustomizedAttributeMap' => [
'title' => '客户自定义属性',
'description' => '客户自定义属性',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '客户自定义属性',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '客户自定义属性'],
],
'Tags' => [
'title' => 'ic商品tags',
'description' => 'ic商品tags',
'type' => 'array',
- 'items' => [
- 'description' => '标签值。',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- 'CanSell' => [
- 'title' => '是否可售',
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'items' => ['description' => '标签值。', 'type' => 'integer', 'format' => 'int32'],
],
+ 'CanSell' => ['title' => '是否可售', 'description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -29346,24 +14367,12 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"45B9EF4E-4D18-59B2-85E6-9B568F73C79D\\",\\n \\"SubCode\\": \\"206\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 80,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"ItemId\\": \\"65******0310\\",\\n \\"LmItemId\\": \\"10000102-630292778855\\",\\n \\"ItemTitle\\": \\"大自然酸菜(美好生鲜)\\",\\n \\"MainPicUrl\\": \\"\\",\\n \\"WhitePicUrl\\": \\"\\",\\n \\"AtmospherePicUrl\\": \\"\\",\\n \\"ItemUrl\\": \\"https://******.aliyun-inc.com/#/assistant?targetTab=TAB_GM_FAIL&regionId=9&startTime=2022-08-22%2000:00:00&endTime=2022-08-22%2018:06:01&appIds=408\\",\\n \\"PriceCent\\": 780,\\n \\"Points\\": 3980,\\n \\"PointsAmount\\": 8000,\\n \\"PointPrice\\": 0,\\n \\"ReservePrice\\": \\"1035\\",\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"Tags\\": [\\n 0\\n ],\\n \\"CanSell\\": true\\n }\\n ]\\n}","type":"json"}]',
@@ -29372,14 +14381,8 @@
'description' => '根据人群特征查询商品导购组',
],
'QueryItemInventoryV2' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -29396,41 +14399,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'description' => '业务Id',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'LMALL20******01',
- ],
+ 'schema' => ['description' => '业务Id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'LMALL20******01'],
],
[
'name' => 'DivisionCode',
'in' => 'query',
- 'schema' => [
- 'description' => '四级配送区域编码,查询该区域库存。该字段通过queryAddress接⼝获取',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '520300',
- ],
+ 'schema' => ['description' => '四级配送区域编码,查询该区域库存。该字段通过queryAddress接⼝获取', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '520300'],
],
[
'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => 'v2服务端的ip地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => '113.77.105.73',
- ],
+ 'schema' => ['description' => 'v2服务端的ip地址', 'type' => 'string', 'required' => false, 'example' => '113.77.105.73'],
],
[
'name' => 'ItemList',
@@ -29443,30 +14427,13 @@
'description' => '商品列表信息',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000035-61936646****',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '60843842****',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'required' => false, 'example' => '10000035-61936646****'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60843842****'],
'SkuIdList' => [
'description' => 'skuid列表,为json字符串',
'type' => 'array',
'format' => 'int64',
- 'items' => [
- 'description' => 'skuid列表,为json字符串',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '4890674122805',
- ],
+ 'items' => ['description' => 'skuid列表,为json字符串', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4890674122805'],
'required' => false,
'maxItems' => 100,
],
@@ -29483,37 +14450,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
- 'Success' => [
- 'description' => 'SUCCESS'."\n"
- .'表示成功',
- 'type' => 'boolean',
- 'example' => 'SUCCESS',
- ],
- 'SubMessage' => [
- 'description' => '子错误信息',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'Code' => [
- 'description' => 'SUCCESS表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The bizId or lmOrderId is mandatory for this action.',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '207',
- ],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
+ 'Success' => ['description' => 'SUCCESS'."\n"
+ .'表示成功', 'type' => 'boolean', 'example' => 'SUCCESS'],
+ 'SubMessage' => ['description' => '子错误信息', 'type' => 'string', 'example' => '成功'],
+ 'Code' => ['description' => 'SUCCESS表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The bizId or lmOrderId is mandatory for this action.'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '207'],
'ItemList' => [
'type' => 'object',
'itemNode' => true,
@@ -29525,17 +14468,8 @@
'description' => '商品列表信息',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '10016572-654408058233'."\n",
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65671280****',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '10016572-654408058233'."\n"],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '65671280****'],
'SkuList' => [
'type' => 'object',
'itemNode' => true,
@@ -29547,22 +14481,12 @@
'description' => '商品sku列表',
'type' => 'object',
'properties' => [
- 'SkuId' => [
- 'description' => 'skuid',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '482694857****',
- ],
+ 'SkuId' => ['description' => 'skuid', 'type' => 'integer', 'format' => 'int64', 'example' => '482694857****'],
'Inventory' => [
'description' => '库存',
'type' => 'object',
'properties' => [
- 'Quantity' => [
- 'description' => '库存数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'Quantity' => ['description' => '库存数量', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
],
@@ -29583,102 +14507,50 @@
'title' => '查询商品库存数量(查询商品库存属性)',
],
'QueryOrderAndPaymentListWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'FilterOption',
'in' => 'formData',
- 'schema' => [
- 'title' => '查询条件, 序列化com.aliyun.linkedmall.platform.service.taobaoitem.module.order.pop.FilterOption的json',
- 'description' => '查询条件,JSON字符串',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{\\"enableStatus\\":0,\\"lmOrderList\\":[424***33]}',
- ],
+ 'schema' => ['title' => '查询条件, 序列化com.aliyun.linkedmall.platform.service.taobaoitem.module.order.pop.FilterOption的json', 'description' => '查询条件,JSON字符串', 'type' => 'string', 'required' => true, 'example' => '{\\"enableStatus\\":0,\\"lmOrderList\\":[424***33]}'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'title' => '每页数量',
- 'description' => '每页数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'title' => '页码',
- 'description' => '页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL2022***01',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL2022***01'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'R213***3121',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'R213***3121'],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'description' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'REAL',
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'description' => '淘宝账号类型', 'type' => 'string', 'required' => true, 'example' => 'REAL'],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '213***3121',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '213***3121'],
],
],
'responses' => [
@@ -29688,69 +14560,16 @@
'description' => 'PopResponse<List<QueryOrderAndPayInfoResponse>>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '6103AD7B-21***DE-A58D08E8',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '成功',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '6103AD7B-21***DE-A58D08E8'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '成功'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
@@ -29758,58 +14577,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'title' => '兑换时间,格式化(yyyy-MM-dd HH:mm:ss)',
- 'description' => '兑换时间,格式化(yyyy-MM-dd HH:mm:ss)',
- 'type' => 'string',
- 'example' => '2022-10-11 14:22:21',
- ],
- 'LmOrderId' => [
- 'title' => '订单号,对外统一使用此ID做主键操作',
- 'description' => '订单号,对外统一使用此ID做主键操作',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '45***66',
- ],
- 'TbOrderId' => [
- 'title' => '淘宝订单号',
- 'description' => '淘宝订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12***113',
- ],
- 'OrderAmount' => [
- 'title' => '订单总金额',
- 'description' => '订单总金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '500',
- ],
- 'OrderStatus' => [
- 'title' => '订单状态 112=待支付,102=已支付,104=已退款关闭,106=交易成功,108=被淘宝关闭,其它状态请参考淘宝订单支付状态。物流状态,201 - 未发货 -> 等待卖家发货,202 - 已发货 -> *',
- 'description' => '12=待支付,2=已支付,4=已退款关闭,6=交易成功,8=被淘宝关闭',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'LogisticsStatus' => [
- 'description' => '1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'ExtJson' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ShopName' => [
- 'title' => '店铺名',
- 'description' => '店铺名',
- 'type' => 'string',
- 'example' => '天猫***店',
- ],
+ 'CreateTime' => ['title' => '兑换时间,格式化(yyyy-MM-dd HH:mm:ss)', 'description' => '兑换时间,格式化(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2022-10-11 14:22:21'],
+ 'LmOrderId' => ['title' => '订单号,对外统一使用此ID做主键操作', 'description' => '订单号,对外统一使用此ID做主键操作', 'type' => 'integer', 'format' => 'int64', 'example' => '45***66'],
+ 'TbOrderId' => ['title' => '淘宝订单号', 'description' => '淘宝订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '12***113'],
+ 'OrderAmount' => ['title' => '订单总金额', 'description' => '订单总金额', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
+ 'OrderStatus' => ['title' => '订单状态 112=待支付,102=已支付,104=已退款关闭,106=交易成功,108=被淘宝关闭,其它状态请参考淘宝订单支付状态。物流状态,201 - 未发货 -> 等待卖家发货,202 - 已发货 -> *', 'description' => '12=待支付,2=已支付,4=已退款关闭,6=交易成功,8=被淘宝关闭', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'LogisticsStatus' => ['description' => '1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'ExtJson' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'string', 'example' => '{}'],
+ 'ShopName' => ['title' => '店铺名', 'description' => '店铺名', 'type' => 'string', 'example' => '天猫***店'],
'FundStructureModels' => [
'title' => '支付组成',
'description' => '支付组成',
@@ -29818,26 +14593,9 @@
'description' => '支付组成',
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'title' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位",',
- 'description' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '500',
- ],
- 'FundAmountMoney' => [
- 'title' => '"fundAmountMoney":"对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。",',
- 'description' => '对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '500',
- ],
- 'FundType' => [
- 'title' => '"fundType":"资金类型,如现金,优惠券,代金券,积分等 : CASH_CNY_PAY,POINT_PAY"',
- 'description' => '资金类型。如现金(lmCashCnyPay),优惠券(lmCouponPay),代金券(lmVoucherPay),积分(lmPointPay)等',
- 'type' => 'string',
- 'example' => 'lmCashCnyPay',
- ],
+ 'FundAmount' => ['title' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位",', 'description' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
+ 'FundAmountMoney' => ['title' => '"fundAmountMoney":"对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。",', 'description' => '对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
+ 'FundType' => ['title' => '"fundType":"资金类型,如现金,优惠券,代金券,积分等 : CASH_CNY_PAY,POINT_PAY"', 'description' => '资金类型。如现金(lmCashCnyPay),优惠券(lmCouponPay),代金券(lmVoucherPay),积分(lmPointPay)等', 'type' => 'string', 'example' => 'lmCashCnyPay'],
],
],
],
@@ -29846,26 +14604,9 @@
'description' => '邮费',
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'title' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位",',
- 'description' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'FundAmountMoney' => [
- 'title' => '"fundAmountMoney":"对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。",',
- 'description' => '对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'FundType' => [
- 'title' => '"fundType":"资金类型,如现金,优惠券,代金券,积分等 : CASH_CNY_PAY,POINT_PAY"',
- 'description' => '资金类型。如现金(lmCashCnyPay),优惠券(lmCouponPay),代金券(lmVoucherPay),积分(lmPointPay)等',
- 'type' => 'string',
- 'example' => 'lmCashCnyPay',
- ],
+ 'FundAmount' => ['title' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位",', 'description' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'FundAmountMoney' => ['title' => '"fundAmountMoney":"对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。",', 'description' => '对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'FundType' => ['title' => '"fundType":"资金类型,如现金,优惠券,代金券,积分等 : CASH_CNY_PAY,POINT_PAY"', 'description' => '资金类型。如现金(lmCashCnyPay),优惠券(lmCouponPay),代金券(lmVoucherPay),积分(lmPointPay)等', 'type' => 'string', 'example' => 'lmCashCnyPay'],
],
],
'SubOrderList' => [
@@ -29876,24 +14617,9 @@
'description' => '子订单列表',
'type' => 'object',
'properties' => [
- 'ItemId' => [
- 'title' => '"itemId":"itemId",',
- 'description' => '淘宝侧商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '68444***5753',
- ],
- 'LmItemId' => [
- 'description' => 'Lm侧商品ID',
- 'type' => 'string',
- 'example' => '100***02-68***453',
- ],
- 'ItemPic' => [
- 'title' => '"itemPic":"商品图片",',
- 'description' => '商品图片',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com',
- ],
+ 'ItemId' => ['title' => '"itemId":"itemId",', 'description' => '淘宝侧商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '68444***5753'],
+ 'LmItemId' => ['description' => 'Lm侧商品ID', 'type' => 'string', 'example' => '100***02-68***453'],
+ 'ItemPic' => ['title' => '"itemPic":"商品图片",', 'description' => '商品图片', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
'ItemPriceList' => [
'title' => '子订单支付组成',
'description' => '子订单支付组成',
@@ -29902,97 +14628,25 @@
'description' => '支付组成',
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'title' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位",',
- 'description' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '500',
- ],
- 'FundAmountMoney' => [
- 'title' => '"fundAmountMoney":"对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。",',
- 'description' => '对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '500',
- ],
- 'FundType' => [
- 'title' => '"fundType":"资金类型,如现金,优惠券,代金券,积分等 : CASH_CNY_PAY,POINT_PAY"',
- 'description' => '资金类型。如现金(lmCashCnyPay),优惠券(lmCouponPay),代金券(lmVoucherPay),积分(lmPointPay)等',
- 'type' => 'string',
- 'example' => 'lmCashCnyPay',
- ],
+ 'FundAmount' => ['title' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位",', 'description' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
+ 'FundAmountMoney' => ['title' => '"fundAmountMoney":"对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。",', 'description' => '对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
+ 'FundType' => ['title' => '"fundType":"资金类型,如现金,优惠券,代金券,积分等 : CASH_CNY_PAY,POINT_PAY"', 'description' => '资金类型。如现金(lmCashCnyPay),优惠券(lmCouponPay),代金券(lmVoucherPay),积分(lmPointPay)等', 'type' => 'string', 'example' => 'lmCashCnyPay'],
],
],
],
- 'ItemTitle' => [
- 'title' => '"itemTitle":"商品名称",',
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '芝**饼',
- ],
- 'Number' => [
- 'title' => '"number":"下单数量",',
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'SkuId' => [
- 'title' => '"skuId":"下单的商品SkuId",',
- 'description' => 'skuId',
- 'type' => 'string',
- 'example' => '477***60',
- ],
- 'SkuName' => [
- 'title' => '"skuName":"下单的商品SKU显示名称",',
- 'description' => '下单的商品SKU显示名称',
- 'type' => 'string',
- 'example' => '500g',
- ],
- 'LmOrderId' => [
- 'title' => '"subLmOrderId":"子订单号"',
- 'description' => '子订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '539***44',
- ],
- 'OrderStatus' => [
- 'title' => '子订单状态',
- 'description' => '子订单状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'EnableStatus' => [
- 'title' => '子订单使能状态',
- 'description' => '子订单使能状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'TbOrderId' => [
- 'description' => '淘宝订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '32432***324',
- ],
+ 'ItemTitle' => ['title' => '"itemTitle":"商品名称",', 'description' => '商品名称', 'type' => 'string', 'example' => '芝**饼'],
+ 'Number' => ['title' => '"number":"下单数量",', 'description' => '下单数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'SkuId' => ['title' => '"skuId":"下单的商品SkuId",', 'description' => 'skuId', 'type' => 'string', 'example' => '477***60'],
+ 'SkuName' => ['title' => '"skuName":"下单的商品SKU显示名称",', 'description' => '下单的商品SKU显示名称', 'type' => 'string', 'example' => '500g'],
+ 'LmOrderId' => ['title' => '"subLmOrderId":"子订单号"', 'description' => '子订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '539***44'],
+ 'OrderStatus' => ['title' => '子订单状态', 'description' => '子订单状态', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'EnableStatus' => ['title' => '子订单使能状态', 'description' => '子订单使能状态', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'TbOrderId' => ['description' => '淘宝订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '32432***324'],
],
],
],
- 'EnableStatus' => [
- 'title' => '订单有效状态',
- 'description' => '订单有效状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'LmPaymentId' => [
- 'title' => '支付订单号',
- 'description' => '支付订单号',
- 'type' => 'string',
- 'example' => '324***333',
- ],
+ 'EnableStatus' => ['title' => '订单有效状态', 'description' => '订单有效状态', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'LmPaymentId' => ['title' => '支付订单号', 'description' => '支付订单号', 'type' => 'string', 'example' => '324***333'],
],
],
],
@@ -30002,126 +14656,62 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"6103AD7B-21***DE-A58D08E8\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"成功\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"CreateTime\\": \\"2022-10-11 14:22:21\\",\\n \\"LmOrderId\\": 0,\\n \\"TbOrderId\\": 0,\\n \\"OrderAmount\\": 500,\\n \\"OrderStatus\\": 6,\\n \\"LogisticsStatus\\": 3,\\n \\"ExtJson\\": \\"{}\\",\\n \\"ShopName\\": \\"天猫***店\\",\\n \\"FundStructureModels\\": [\\n {\\n \\"FundAmount\\": 500,\\n \\"FundAmountMoney\\": 500,\\n \\"FundType\\": \\"lmCashCnyPay\\"\\n }\\n ],\\n \\"PostFee\\": {\\n \\"FundAmount\\": 0,\\n \\"FundAmountMoney\\": 0,\\n \\"FundType\\": \\"lmCashCnyPay\\"\\n },\\n \\"SubOrderList\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***02-68***453\\",\\n \\"ItemPic\\": \\"https://aliyundoc.com\\",\\n \\"ItemPriceList\\": [\\n {\\n \\"FundAmount\\": 500,\\n \\"FundAmountMoney\\": 500,\\n \\"FundType\\": \\"lmCashCnyPay\\"\\n }\\n ],\\n \\"ItemTitle\\": \\"芝**饼\\",\\n \\"Number\\": 1,\\n \\"SkuId\\": \\"477***60\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"LmOrderId\\": 0,\\n \\"OrderStatus\\": 6,\\n \\"EnableStatus\\": 0,\\n \\"TbOrderId\\": 0\\n }\\n ],\\n \\"EnableStatus\\": 0,\\n \\"LmPaymentId\\": \\"324***333\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '指定淘宝账号下单模式下查询订单和支付信息列表',
],
'QueryOrderListWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'FilterOption',
'in' => 'formData',
- 'schema' => [
- 'title' => '查询条件, 序列化com.aliyun.linkedmall.platform.service.taobaoitem.module.order.pop.FilterOption的json',
- 'description' => '查询条件, JSON字符串',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{\\"lmOrderList\\":[\\"718***37\\"]}',
- ],
+ 'schema' => ['title' => '查询条件, 序列化com.aliyun.linkedmall.platform.service.taobaoitem.module.order.pop.FilterOption的json', 'description' => '查询条件, JSON字符串', 'type' => 'string', 'required' => true, 'example' => '{\\"lmOrderList\\":[\\"718***37\\"]}'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'title' => '每页数量',
- 'description' => '每页数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'title' => '页码',
- 'description' => '页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL2022***001',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL2022***001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'R333***21',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'R333***21'],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'description' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'description' => '淘宝账号类型', 'type' => 'string', 'required' => true, 'example' => 'ANONY'],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '333***21',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '333***21'],
],
],
'responses' => [
@@ -30131,69 +14721,16 @@
'description' => 'PopResponse<List<QueryOrderResponse>>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '1EA70857-79***3E-9F0F777180',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '1EA70857-79***3E-9F0F777180'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
@@ -30201,58 +14738,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'title' => '兑换时间,格式化(yyyy-MM-dd HH:mm:ss)',
- 'description' => '兑换时间,格式化(yyyy-MM-dd HH:mm:ss)',
- 'type' => 'string',
- 'example' => '2022-10-11 15:21:11',
- ],
- 'LmOrderId' => [
- 'title' => '订单号,对外统一使用此ID做主键操作',
- 'description' => '订单号,对外统一使用此ID做主键操作',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '639***718',
- ],
- 'TbOrderId' => [
- 'title' => '淘宝订单号',
- 'description' => '淘宝订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '412******113',
- ],
- 'OrderAmount' => [
- 'title' => '订单总金额',
- 'description' => '订单总金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5000',
- ],
- 'OrderStatus' => [
- 'title' => '订单状态 112=待支付,102=已支付,104=已退款关闭,106=交易成功,108=被淘宝关闭,其它状态请参考淘宝订单支付状态。物流状态,201 - 未发货 -> 等待卖家发货,202 - 已发货 -> *',
- 'description' => '12=待支付,2=已支付,4=已退款关闭,6=交易成功,8=被淘宝关闭',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'LogisticsStatus' => [
- 'description' => '1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'ExtJson' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ShopName' => [
- 'title' => '店铺名',
- 'description' => '店铺名',
- 'type' => 'string',
- 'example' => '天猫***店',
- ],
+ 'CreateTime' => ['title' => '兑换时间,格式化(yyyy-MM-dd HH:mm:ss)', 'description' => '兑换时间,格式化(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2022-10-11 15:21:11'],
+ 'LmOrderId' => ['title' => '订单号,对外统一使用此ID做主键操作', 'description' => '订单号,对外统一使用此ID做主键操作', 'type' => 'integer', 'format' => 'int64', 'example' => '639***718'],
+ 'TbOrderId' => ['title' => '淘宝订单号', 'description' => '淘宝订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '412******113'],
+ 'OrderAmount' => ['title' => '订单总金额', 'description' => '订单总金额', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'],
+ 'OrderStatus' => ['title' => '订单状态 112=待支付,102=已支付,104=已退款关闭,106=交易成功,108=被淘宝关闭,其它状态请参考淘宝订单支付状态。物流状态,201 - 未发货 -> 等待卖家发货,202 - 已发货 -> *', 'description' => '12=待支付,2=已支付,4=已退款关闭,6=交易成功,8=被淘宝关闭', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'LogisticsStatus' => ['description' => '1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'ExtJson' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'string', 'example' => '{}'],
+ 'ShopName' => ['title' => '店铺名', 'description' => '店铺名', 'type' => 'string', 'example' => '天猫***店'],
'FundStructureModels' => [
'title' => '支付组成',
'description' => '支付组成',
@@ -30261,26 +14754,9 @@
'description' => '支付方式',
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'title' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位",',
- 'description' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5000',
- ],
- 'FundAmountMoney' => [
- 'title' => '"fundAmountMoney":"对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。",',
- 'description' => '对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5000',
- ],
- 'FundType' => [
- 'title' => '"fundType":"资金类型,如现金,优惠券,代金券,积分等 : CASH_CNY_PAY,POINT_PAY"',
- 'description' => '资金类型。如现金(lmCashCnyPay),优惠券(lmCouponPay),代金券(lmVoucherPay),积分(lmPointPay)等',
- 'type' => 'string',
- 'example' => 'lmCashCnyPay',
- ],
+ 'FundAmount' => ['title' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位",', 'description' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'],
+ 'FundAmountMoney' => ['title' => '"fundAmountMoney":"对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。",', 'description' => '对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'],
+ 'FundType' => ['title' => '"fundType":"资金类型,如现金,优惠券,代金券,积分等 : CASH_CNY_PAY,POINT_PAY"', 'description' => '资金类型。如现金(lmCashCnyPay),优惠券(lmCouponPay),代金券(lmVoucherPay),积分(lmPointPay)等', 'type' => 'string', 'example' => 'lmCashCnyPay'],
],
],
],
@@ -30289,26 +14765,9 @@
'description' => '邮费',
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'title' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位",',
- 'description' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'FundAmountMoney' => [
- 'title' => '"fundAmountMoney":"对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。",',
- 'description' => '对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'FundType' => [
- 'title' => '"fundType":"资金类型,如现金,优惠券,代金券,积分等 : CASH_CNY_PAY,POINT_PAY"',
- 'description' => '资金类型。如现金(lmCashCnyPay),优惠券(lmCouponPay),代金券(lmVoucherPay),积分(lmPointPay)等',
- 'type' => 'string',
- 'example' => 'lmCashCnyPay',
- ],
+ 'FundAmount' => ['title' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位",', 'description' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'FundAmountMoney' => ['title' => '"fundAmountMoney":"对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。",', 'description' => '对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'FundType' => ['title' => '"fundType":"资金类型,如现金,优惠券,代金券,积分等 : CASH_CNY_PAY,POINT_PAY"', 'description' => '资金类型。如现金(lmCashCnyPay),优惠券(lmCouponPay),代金券(lmVoucherPay),积分(lmPointPay)等', 'type' => 'string', 'example' => 'lmCashCnyPay'],
],
],
'SubOrderList' => [
@@ -30319,24 +14778,9 @@
'description' => '子订单列表',
'type' => 'object',
'properties' => [
- 'ItemId' => [
- 'title' => '"itemId":"itemId",',
- 'description' => '淘宝侧商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '665***373',
- ],
- 'LmItemId' => [
- 'description' => 'Lm侧商品ID',
- 'type' => 'string',
- 'example' => '100***02-665***373',
- ],
- 'ItemPic' => [
- 'title' => '"itemPic":"商品图片",',
- 'description' => '商品图片地址',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com',
- ],
+ 'ItemId' => ['title' => '"itemId":"itemId",', 'description' => '淘宝侧商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '665***373'],
+ 'LmItemId' => ['description' => 'Lm侧商品ID', 'type' => 'string', 'example' => '100***02-665***373'],
+ 'ItemPic' => ['title' => '"itemPic":"商品图片",', 'description' => '商品图片地址', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
'ItemPriceList' => [
'title' => '子订单支付组成',
'description' => '子订单支付组成',
@@ -30345,91 +14789,24 @@
'description' => '价格列表',
'type' => 'object',
'properties' => [
- 'FundAmount' => [
- 'title' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位",',
- 'description' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5000',
- ],
- 'FundAmountMoney' => [
- 'title' => '"fundAmountMoney":"对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。",',
- 'description' => '对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5000',
- ],
- 'FundType' => [
- 'title' => '"fundType":"资金类型,如现金,优惠券,代金券,积分等 : CASH_CNY_PAY,POINT_PAY"',
- 'description' => '资金类型。如现金(lmCashCnyPay),优惠券(lmCouponPay),代金券(lmVoucherPay),积分(lmPointPay)等',
- 'type' => 'string',
- 'example' => 'lmCashCnyPay',
- ],
+ 'FundAmount' => ['title' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位",', 'description' => '资金金额或数量,如现金单位为分,美分,积分为个,其它再约定,建议为最小的数量单位', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'],
+ 'FundAmountMoney' => ['title' => '"fundAmountMoney":"对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。",', 'description' => '对应的等值金额,单位为分。比如fundType为现金时,fundAmountMoney等于fundAmount ,其它非现金类的支付,由渠道计算好相应的等值金额放在这里。', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'],
+ 'FundType' => ['title' => '"fundType":"资金类型,如现金,优惠券,代金券,积分等 : CASH_CNY_PAY,POINT_PAY"', 'description' => '资金类型。如现金(lmCashCnyPay),优惠券(lmCouponPay),代金券(lmVoucherPay),积分(lmPointPay)等', 'type' => 'string', 'example' => 'lmCashCnyPay'],
],
],
],
- 'ItemTitle' => [
- 'title' => '"itemTitle":"商品名称",',
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '芝麻***饼',
- ],
- 'Number' => [
- 'title' => '"number":"下单数量",',
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'SkuId' => [
- 'title' => '"skuId":"下单的商品SkuId",',
- 'description' => 'skuId',
- 'type' => 'string',
- 'example' => '496***350',
- ],
- 'SkuName' => [
- 'title' => '"skuName":"下单的商品SKU显示名称",',
- 'description' => 'SKU显示名称',
- 'type' => 'string',
- 'example' => '500g',
- ],
- 'LmOrderId' => [
- 'title' => '"subLmOrderId":"子订单号"',
- 'description' => '子订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '559***813',
- ],
- 'OrderStatus' => [
- 'title' => '子订单状态',
- 'description' => '子订单状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'EnableStatus' => [
- 'title' => '子订单使能状态',
- 'description' => '子订单使能状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'TbOrderId' => [
- 'description' => '淘宝订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '323***242',
- ],
+ 'ItemTitle' => ['title' => '"itemTitle":"商品名称",', 'description' => '商品名称', 'type' => 'string', 'example' => '芝麻***饼'],
+ 'Number' => ['title' => '"number":"下单数量",', 'description' => '下单数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'SkuId' => ['title' => '"skuId":"下单的商品SkuId",', 'description' => 'skuId', 'type' => 'string', 'example' => '496***350'],
+ 'SkuName' => ['title' => '"skuName":"下单的商品SKU显示名称",', 'description' => 'SKU显示名称', 'type' => 'string', 'example' => '500g'],
+ 'LmOrderId' => ['title' => '"subLmOrderId":"子订单号"', 'description' => '子订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '559***813'],
+ 'OrderStatus' => ['title' => '子订单状态', 'description' => '子订单状态', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'EnableStatus' => ['title' => '子订单使能状态', 'description' => '子订单使能状态', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'TbOrderId' => ['description' => '淘宝订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '323***242'],
],
],
],
- 'EnableStatus' => [
- 'title' => '订单有效状态',
- 'description' => '订单有效状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'EnableStatus' => ['title' => '订单有效状态', 'description' => '订单有效状态', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
],
],
],
@@ -30439,79 +14816,42 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"1EA70857-79***3E-9F0F777180\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"CreateTime\\": \\"2022-10-11 15:21:11\\",\\n \\"LmOrderId\\": 0,\\n \\"TbOrderId\\": 0,\\n \\"OrderAmount\\": 5000,\\n \\"OrderStatus\\": 6,\\n \\"LogisticsStatus\\": 2,\\n \\"ExtJson\\": \\"{}\\",\\n \\"ShopName\\": \\"天猫***店\\",\\n \\"FundStructureModels\\": [\\n {\\n \\"FundAmount\\": 5000,\\n \\"FundAmountMoney\\": 5000,\\n \\"FundType\\": \\"lmCashCnyPay\\"\\n }\\n ],\\n \\"PostFee\\": {\\n \\"FundAmount\\": 0,\\n \\"FundAmountMoney\\": 0,\\n \\"FundType\\": \\"lmCashCnyPay\\"\\n },\\n \\"SubOrderList\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***02-665***373\\",\\n \\"ItemPic\\": \\"https://aliyundoc.com\\",\\n \\"ItemPriceList\\": [\\n {\\n \\"FundAmount\\": 5000,\\n \\"FundAmountMoney\\": 5000,\\n \\"FundType\\": \\"lmCashCnyPay\\"\\n }\\n ],\\n \\"ItemTitle\\": \\"芝麻***饼\\",\\n \\"Number\\": 1,\\n \\"SkuId\\": \\"496***350\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"LmOrderId\\": 0,\\n \\"OrderStatus\\": 6,\\n \\"EnableStatus\\": 0,\\n \\"TbOrderId\\": 0\\n }\\n ],\\n \\"EnableStatus\\": 0\\n }\\n ]\\n}","type":"json"}]',
'title' => '指定淘宝账号下单模式下查询订单列表',
],
'QueryOrderLogisticsWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'LmOrderId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'lm订单号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '737***057',
- ],
+ 'schema' => ['description' => 'lm订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '737***057'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL2022***004',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL2022***004'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'u***001',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'u***001'],
],
[
'name' => 'TbAccountType',
@@ -30521,24 +14861,14 @@
'description' => '淘宝账号类型',
'type' => 'string',
'required' => true,
- 'enumValueTitles' => [
- 'ANONY' => '匿名账号',
- 'REAL' => '实名账号',
- ],
+ 'enumValueTitles' => ['ANONY' => '匿名账号', 'REAL' => '实名账号'],
'example' => 'ANONY',
],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '261***126',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '261***126'],
],
],
'responses' => [
@@ -30548,69 +14878,16 @@
'description' => 'PopResponse<List<QueryLogisticsModel>>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '24D184B6-9***B-AC1B8ACED261',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '24D184B6-9***B-AC1B8ACED261'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
@@ -30618,112 +14895,42 @@
'items' => [
'type' => 'object',
'properties' => [
- 'MailNo' => [
- 'description' => '物流单号',
- 'type' => 'string',
- 'example' => '21321***2123',
- ],
+ 'MailNo' => ['description' => '物流单号', 'type' => 'string', 'example' => '21321***2123'],
'PackageGoodItems' => [
'description' => '包裹信息',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '小熊饼干',
- ],
- 'Quantity' => [
- 'description' => '购买数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '650***2703',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '100***39-6046***9180',
- ],
+ 'Name' => ['description' => '商品名称', 'type' => 'string', 'example' => '小熊饼干'],
+ 'Quantity' => ['description' => '购买数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '650***2703'],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '100***39-6046***9180'],
],
],
],
- 'DataProvider' => [
- 'description' => '数据来源:如:菜鸟裹裹',
- 'type' => 'string',
- 'example' => '菜鸟裹裹',
- ],
- 'DataProviderTitle' => [
- 'description' => '数据来源说明,如:本数据由菜⻦裹裹提供',
- 'type' => 'string',
- 'example' => '本数据由菜鸟裹裹提供',
- ],
+ 'DataProvider' => ['description' => '数据来源:如:菜鸟裹裹', 'type' => 'string', 'example' => '菜鸟裹裹'],
+ 'DataProviderTitle' => ['description' => '数据来源说明,如:本数据由菜⻦裹裹提供', 'type' => 'string', 'example' => '本数据由菜鸟裹裹提供'],
'Receiver' => [
'description' => '收件人信息',
'type' => 'object',
'properties' => [
- 'Address' => [
- 'description' => '收件人地址',
- 'type' => 'string',
- 'example' => '***省**市**区**街道',
- ],
- 'Name' => [
- 'description' => '收件人名称',
- 'type' => 'string',
- 'example' => '张**',
- ],
- 'PhoneNumber' => [
- 'description' => '收件人号码',
- 'type' => 'string',
- 'example' => '18***00',
- ],
- 'ZipCode' => [
- 'description' => '收货信息-邮编。',
- 'type' => 'string',
- 'example' => '516000',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '24D184B6-91***2AB-AC1B8ACED261',
- ],
+ 'Address' => ['description' => '收件人地址', 'type' => 'string', 'example' => '***省**市**区**街道'],
+ 'Name' => ['description' => '收件人名称', 'type' => 'string', 'example' => '张**'],
+ 'PhoneNumber' => ['description' => '收件人号码', 'type' => 'string', 'example' => '18***00'],
+ 'ZipCode' => ['description' => '收货信息-邮编。', 'type' => 'string', 'example' => '516000'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '24D184B6-91***2AB-AC1B8ACED261'],
],
],
'Fetcher' => [
'description' => '取件信息',
'type' => 'object',
'properties' => [
- 'Address' => [
- 'description' => '取件地址',
- 'type' => 'string',
- 'example' => '***省**市**区**街道',
- ],
- 'Name' => [
- 'description' => '取件人姓名',
- 'type' => 'string',
- 'example' => '张**',
- ],
- 'PhoneNumber' => [
- 'description' => '取件人号码',
- 'type' => 'string',
- 'example' => '189***12',
- ],
- 'ZipCode' => [
- 'description' => '收货信息:邮编。',
- 'type' => 'string',
- 'example' => '450000',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '24D184B6-91***B-AC1B8ACED261',
- ],
+ 'Address' => ['description' => '取件地址', 'type' => 'string', 'example' => '***省**市**区**街道'],
+ 'Name' => ['description' => '取件人姓名', 'type' => 'string', 'example' => '张**'],
+ 'PhoneNumber' => ['description' => '取件人号码', 'type' => 'string', 'example' => '189***12'],
+ 'ZipCode' => ['description' => '收货信息:邮编。', 'type' => 'string', 'example' => '450000'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '24D184B6-91***B-AC1B8ACED261'],
],
],
'LogisticsDetailList' => [
@@ -30732,43 +14939,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'StanderdDesc' => [
- 'description' => '描述信息',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'OcurrTimeStr' => [
- 'description' => '发生时间',
- 'type' => 'string',
- 'example' => '2022-02-21 08:23:21',
- ],
- 'StatusIcon' => [
- 'description' => '状态图标',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '24D184B6-913***2AB-AC1B8ACED261',
- ],
+ 'StanderdDesc' => ['description' => '描述信息', 'type' => 'string', 'example' => '""'],
+ 'OcurrTimeStr' => ['description' => '发生时间', 'type' => 'string', 'example' => '2022-02-21 08:23:21'],
+ 'StatusIcon' => ['description' => '状态图标', 'type' => 'string'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '24D184B6-913***2AB-AC1B8ACED261'],
],
],
],
- 'LogisticsCompanyCode' => [
- 'description' => '本单物流公司code',
- 'type' => 'string',
- 'example' => 'SF',
- ],
- 'LogisticsCompanyName' => [
- 'description' => '本单物流公司名称',
- 'type' => 'string',
- 'example' => '顺丰',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '24D184B6-91***B-AC1B8ACED261',
- ],
+ 'LogisticsCompanyCode' => ['description' => '本单物流公司code', 'type' => 'string', 'example' => 'SF'],
+ 'LogisticsCompanyName' => ['description' => '本单物流公司名称', 'type' => 'string', 'example' => '顺丰'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '24D184B6-91***B-AC1B8ACED261'],
],
],
],
@@ -30778,56 +14958,32 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"24D184B6-9***B-AC1B8ACED261\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"MailNo\\": \\"21321***2123\\",\\n \\"PackageGoodItems\\": [\\n {\\n \\"Name\\": \\"小熊饼干\\",\\n \\"Quantity\\": 1,\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***39-6046***9180\\"\\n }\\n ],\\n \\"DataProvider\\": \\"菜鸟裹裹\\",\\n \\"DataProviderTitle\\": \\"本数据由菜鸟裹裹提供\\",\\n \\"Receiver\\": {\\n \\"Address\\": \\"***省**市**区**街道\\",\\n \\"Name\\": \\"张**\\",\\n \\"PhoneNumber\\": \\"18***00\\",\\n \\"ZipCode\\": \\"516000\\",\\n \\"RequestId\\": \\"24D184B6-91***2AB-AC1B8ACED261\\"\\n },\\n \\"Fetcher\\": {\\n \\"Address\\": \\"***省**市**区**街道\\",\\n \\"Name\\": \\"张**\\",\\n \\"PhoneNumber\\": \\"189***12\\",\\n \\"ZipCode\\": \\"450000\\",\\n \\"RequestId\\": \\"24D184B6-91***B-AC1B8ACED261\\"\\n },\\n \\"LogisticsDetailList\\": [\\n {\\n \\"StanderdDesc\\": \\"\\\\\\"\\\\\\"\\",\\n \\"OcurrTimeStr\\": \\"2022-02-21 08:23:21\\",\\n \\"StatusIcon\\": \\"\\",\\n \\"RequestId\\": \\"24D184B6-913***2AB-AC1B8ACED261\\"\\n }\\n ],\\n \\"LogisticsCompanyCode\\": \\"SF\\",\\n \\"LogisticsCompanyName\\": \\"顺丰\\",\\n \\"RequestId\\": \\"24D184B6-91***B-AC1B8ACED261\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '指定淘宝账号下单模式下-查询订单物流信息',
],
'QueryRealTbAccountSupport' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20***001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20***001'],
],
],
'responses' => [
@@ -30837,165 +14993,69 @@
'description' => 'PopResponse<Boolean>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '9C3F75C9-16F***2A7-141C33BFC16B',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Model' => [
- 'title' => '请求结果数据',
- 'description' => '请求结果数据',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '9C3F75C9-16F***2A7-141C33BFC16B'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Model' => ['title' => '请求结果数据', 'description' => '请求结果数据', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"9C3F75C9-16F***2A7-141C33BFC16B\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": true\\n}","type":"json"}]',
'title' => '查询实名淘宝账号下单支持',
],
'QueryRefundApplyWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'SubLmOrderId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '客户业务ID', 'type' => 'string', 'required' => true],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'type' => 'string', 'required' => true],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'type' => 'string', 'required' => true],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64'],
],
],
'responses' => [
@@ -31004,189 +15064,60 @@
'title' => 'PopResponse<RefundApplicationDetailModel>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'type' => 'string',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string'],
+ 'PageSize' => ['title' => 'pageSize', 'type' => 'integer', 'format' => 'int64'],
+ 'PageNumber' => ['title' => '当前页', 'type' => 'integer', 'format' => 'int64'],
+ 'TotalCount' => ['title' => '总数量', 'type' => 'integer', 'format' => 'int64'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'type' => 'boolean'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string'],
+ 'Message' => ['title' => '错误消息', 'type' => 'string'],
'Model' => [
'title' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'LmOrderId' => [
- 'title' => '对应的 Linkedmall 主订单号',
- 'type' => 'string',
- ],
- 'SubLmOrderId' => [
- 'title' => '提出逆向的子订单号',
- 'type' => 'string',
- ],
- 'DisputeId' => [
- 'title' => '纠纷ID (撤销退款用)',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'BizClaimType' => [
- 'title' => '发起逆向的动作标识, 1: 标识仅退款,3: 标识退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'OrderLogisticsStatus' => [
- 'title' => '当前的订单的物流状态,1,标识未发货',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'DisputeStatus' => [
- 'title' => '逆向申请的处理状态',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ReturnGoodLogisticsStatus' => [
- 'title' => '退货的物流状态',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'DisputeType' => [
- 'title' => '逆向发生的类型',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'LmOrderId' => ['title' => '对应的 Linkedmall 主订单号', 'type' => 'string'],
+ 'SubLmOrderId' => ['title' => '提出逆向的子订单号', 'type' => 'string'],
+ 'DisputeId' => ['title' => '纠纷ID (撤销退款用)', 'type' => 'integer', 'format' => 'int64'],
+ 'BizClaimType' => ['title' => '发起逆向的动作标识, 1: 标识仅退款,3: 标识退货退款', 'type' => 'integer', 'format' => 'int32'],
+ 'OrderLogisticsStatus' => ['title' => '当前的订单的物流状态,1,标识未发货', 'type' => 'integer', 'format' => 'int32'],
+ 'DisputeStatus' => ['title' => '逆向申请的处理状态', 'type' => 'integer', 'format' => 'int32'],
+ 'ReturnGoodLogisticsStatus' => ['title' => '退货的物流状态', 'type' => 'integer', 'format' => 'int32'],
+ 'DisputeType' => ['title' => '逆向发生的类型', 'type' => 'integer', 'format' => 'int32'],
'MaxRefundFeeData' => [
'title' => '该子订单可以申请的最大和最小退款金额',
'type' => 'object',
'properties' => [
- 'MaxRefundFee' => [
- 'title' => '本单最大可退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'MinRefundFee' => [
- 'title' => '本单最小可退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'MaxRefundFee' => ['title' => '本单最大可退款金额', 'type' => 'integer', 'format' => 'int64'],
+ 'MinRefundFee' => ['title' => '本单最小可退款金额', 'type' => 'integer', 'format' => 'int64'],
],
],
- 'RefundFee' => [
- 'title' => '退款金额(含退平台补贴的金额)',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RealRefundFee' => [
- 'title' => '实际买家收到的金额',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ReturnGoodCount' => [
- 'title' => '退货数量',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'DisputeDesc' => [
- 'title' => '申请逆向描述',
- 'type' => 'string',
- ],
- 'SellerAgreeMsg' => [
- 'title' => '卖家同意退货说明',
- 'type' => 'string',
- ],
- 'SellerRefuseAgreementMessage' => [
- 'title' => '卖家拒绝的留言说明',
- 'type' => 'string',
- ],
- 'SellerRefuseReason' => [
- 'title' => '卖家拒绝原因',
- 'type' => 'string',
- ],
+ 'RefundFee' => ['title' => '退款金额(含退平台补贴的金额)', 'type' => 'integer', 'format' => 'int64'],
+ 'RealRefundFee' => ['title' => '实际买家收到的金额', 'type' => 'integer', 'format' => 'int64'],
+ 'ReturnGoodCount' => ['title' => '退货数量', 'type' => 'integer', 'format' => 'int32'],
+ 'DisputeDesc' => ['title' => '申请逆向描述', 'type' => 'string'],
+ 'SellerAgreeMsg' => ['title' => '卖家同意退货说明', 'type' => 'string'],
+ 'SellerRefuseAgreementMessage' => ['title' => '卖家拒绝的留言说明', 'type' => 'string'],
+ 'SellerRefuseReason' => ['title' => '卖家拒绝原因', 'type' => 'string'],
'ApplyReasonText' => [
'title' => '买家申请的逆向原因',
'type' => 'object',
'properties' => [
- 'ReasonTextId' => [
- 'title' => '可发起逆向的原因',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ReasonTips' => [
- 'title' => '原因的提示文案',
- 'type' => 'string',
- ],
- 'ProofRequired' => [
- 'title' => '是否需要上传凭证',
- 'type' => 'boolean',
- ],
- 'RefundDescRequired' => [
- 'title' => '是否需要对问题描述',
- 'type' => 'boolean',
- ],
- ],
- ],
- 'ApplyDisputeDesc' => [
- 'title' => '当前买家申请退款说明',
- 'type' => 'string',
- ],
- 'DisputeCreateTime' => [
- 'title' => '逆向发起时间,yyyy-MM-dd HH:mm:ss',
- 'type' => 'string',
- ],
- 'DisputeEndTime' => [
- 'title' => '逆向结束时间, yyyy-MM-dd HH:mm:ss',
- 'type' => 'string',
- ],
- 'RefunderAddress' => [
- 'title' => '退货地址',
- 'type' => 'string',
- ],
- 'RefunderName' => [
- 'title' => '退货收货人',
- 'type' => 'string',
- ],
- 'RefunderTel' => [
- 'title' => '退货联系方式',
- 'type' => 'string',
- ],
- 'RefunderZipCode' => [
- 'title' => '退货有变',
- 'type' => 'string',
- ],
+ 'ReasonTextId' => ['title' => '可发起逆向的原因', 'type' => 'integer', 'format' => 'int64'],
+ 'ReasonTips' => ['title' => '原因的提示文案', 'type' => 'string'],
+ 'ProofRequired' => ['title' => '是否需要上传凭证', 'type' => 'boolean'],
+ 'RefundDescRequired' => ['title' => '是否需要对问题描述', 'type' => 'boolean'],
+ ],
+ ],
+ 'ApplyDisputeDesc' => ['title' => '当前买家申请退款说明', 'type' => 'string'],
+ 'DisputeCreateTime' => ['title' => '逆向发起时间,yyyy-MM-dd HH:mm:ss', 'type' => 'string'],
+ 'DisputeEndTime' => ['title' => '逆向结束时间, yyyy-MM-dd HH:mm:ss', 'type' => 'string'],
+ 'RefunderAddress' => ['title' => '退货地址', 'type' => 'string'],
+ 'RefunderName' => ['title' => '退货收货人', 'type' => 'string'],
+ 'RefunderTel' => ['title' => '退货联系方式', 'type' => 'string'],
+ 'RefunderZipCode' => ['title' => '退货有变', 'type' => 'string'],
],
],
],
@@ -31195,63 +15126,36 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '',
],
'QueryUserAccount' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '客户业务ID', 'type' => 'string', 'required' => true],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -31260,78 +15164,27 @@
'title' => 'PopResponse<LmUserTbAccountModel>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'type' => 'string',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string'],
+ 'PageSize' => ['title' => 'pageSize', 'type' => 'integer', 'format' => 'int64'],
+ 'PageNumber' => ['title' => '当前页', 'type' => 'integer', 'format' => 'int64'],
+ 'TotalCount' => ['title' => '总数量', 'type' => 'integer', 'format' => 'int64'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'type' => 'boolean'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string'],
+ 'Message' => ['title' => '错误消息', 'type' => 'string'],
'Model' => [
'title' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'BizId' => [
- 'type' => 'string',
- ],
- 'CUserId' => [
- 'title' => '客户侧用户ID',
- 'type' => 'string',
- ],
- 'LmUid' => [
- 'title' => 'lm侧用户ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TbUserId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TbAccountType' => [
- 'type' => 'string',
- ],
- 'ExtInfo' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'BizId' => ['type' => 'string'],
+ 'CUserId' => ['title' => '客户侧用户ID', 'type' => 'string'],
+ 'LmUid' => ['title' => 'lm侧用户ID', 'type' => 'integer', 'format' => 'int64'],
+ 'TbUserId' => ['type' => 'integer', 'format' => 'int64'],
+ 'TbAccountType' => ['type' => 'string'],
+ 'ExtInfo' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -31340,80 +15193,45 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
],
'RebindTbAccount' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '客户业务ID', 'type' => 'string', 'required' => true],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'type' => 'string', 'required' => true],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'type' => 'string', 'required' => true],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64'],
],
],
'responses' => [
@@ -31422,78 +15240,27 @@
'title' => 'PopResponse<LmUserTbAccountModel>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'type' => 'string',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string'],
+ 'PageSize' => ['title' => 'pageSize', 'type' => 'integer', 'format' => 'int64'],
+ 'PageNumber' => ['title' => '当前页', 'type' => 'integer', 'format' => 'int64'],
+ 'TotalCount' => ['title' => '总数量', 'type' => 'integer', 'format' => 'int64'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'type' => 'boolean'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string'],
+ 'Message' => ['title' => '错误消息', 'type' => 'string'],
'Model' => [
'title' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'BizId' => [
- 'type' => 'string',
- ],
- 'CUserId' => [
- 'title' => '客户侧用户ID',
- 'type' => 'string',
- ],
- 'LmUid' => [
- 'title' => 'lm侧用户ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TbUserId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TbAccountType' => [
- 'type' => 'string',
- ],
- 'ExtInfo' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'BizId' => ['type' => 'string'],
+ 'CUserId' => ['title' => '客户侧用户ID', 'type' => 'string'],
+ 'LmUid' => ['title' => 'lm侧用户ID', 'type' => 'integer', 'format' => 'int64'],
+ 'TbUserId' => ['type' => 'integer', 'format' => 'int64'],
+ 'TbAccountType' => ['type' => 'string'],
+ 'ExtInfo' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -31502,37 +15269,20 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '',
],
'RefreshSettlementOrderAccount' => [
'summary' => '刷新在途结算单的结算账号',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -31546,49 +15296,27 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'ExtInfo',
'in' => 'formData',
- 'schema' => [
- 'description' => '扩展字段',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"key":"value"}',
- ],
+ 'schema' => ['description' => '扩展字段', 'type' => 'string', 'required' => false, 'example' => '{"key":"value"}'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20210125****',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20210125****'],
],
[
'name' => 'AccountId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '709447***856069',
- ],
+ 'schema' => ['description' => '账号ID', 'type' => 'string', 'required' => false, 'example' => '709447***856069'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'description' => '租户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '7521****8332932',
- ],
+ 'schema' => ['description' => '租户ID', 'type' => 'string', 'required' => false, 'example' => '7521****8332932'],
],
],
'responses' => [
@@ -31596,65 +15324,22 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '719E8348-72BD-581E-971F-467***6C908',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubMessage' => [
- 'description' => '调用成功时返回成功信息,调用失败时返回出错信息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => '接口返回码。',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubCode' => [
- 'description' => '子错误码',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'LogsId' => [
- 'description' => '每次请求操作对应的操作日志号。',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '719E8348-72BD-581E-971F-467***6C908'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'SubMessage' => ['description' => '调用成功时返回成功信息,调用失败时返回出错信息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => '接口返回码。', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubCode' => ['description' => '子错误码', 'type' => 'string', 'example' => '1004'],
+ 'LogsId' => ['description' => '每次请求操作对应的操作日志号。', 'type' => 'string', 'example' => '1'],
'Model' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'SettleNo' => [
- 'description' => '结算单号',
- 'type' => 'string',
- 'example' => 'TEST000000',
- ],
- 'Result' => [
- 'description' => '结果',
- 'type' => 'string',
- ],
- 'AccountNo' => [
- 'description' => '账号id。',
- 'type' => 'string',
- 'example' => '15******65',
- ],
- 'Message' => [
- 'description' => '返回信息',
- 'type' => 'string',
- 'example' => 'Success',
- ],
+ 'SettleNo' => ['description' => '结算单号', 'type' => 'string', 'example' => 'TEST000000'],
+ 'Result' => ['description' => '结果', 'type' => 'string'],
+ 'AccountNo' => ['description' => '账号id。', 'type' => 'string', 'example' => '15******65'],
+ 'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => 'Success'],
],
],
],
@@ -31664,58 +15349,33 @@
],
'errorCodes' => [
500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
- [
- 'errorCode' => 'linkedmall.errorcode.InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify the parameter.'],
+ ['errorCode' => 'linkedmall.errorcode.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"719E8348-72BD-581E-971F-467***6C908\\",\\n \\"Success\\": true,\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"LogsId\\": \\"1\\",\\n \\"Model\\": [\\n {\\n \\"SettleNo\\": \\"TEST000000\\",\\n \\"Result\\": \\"\\",\\n \\"AccountNo\\": \\"15******65\\",\\n \\"Message\\": \\"Success\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '刷新结算订单账户',
],
'RegisterUserAccount' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL2022***0001',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL2022***0001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'user***121',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'user***121'],
],
[
'name' => 'TbAccountType',
@@ -31725,24 +15385,14 @@
'description' => '淘宝账号类型',
'type' => 'string',
'required' => true,
- 'enumValueTitles' => [
- 'ANONY' => '匿名账号',
- 'REAL' => '实名账号',
- ],
+ 'enumValueTitles' => ['ANONY' => '匿名账号', 'REAL' => '实名账号'],
'example' => 'ANONY',
],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3435***1231',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3435***1231'],
],
],
'responses' => [
@@ -31752,113 +15402,28 @@
'description' => 'PopResponse<LmUserTbAccountModel>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => 'dsfdsfs***dsfdsfds',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '03B94457-8FD***93-06CCB1345BC3',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => 'dsfdsfs***dsfdsfds'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '03B94457-8FD***93-06CCB1345BC3'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '""'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'success'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'BizId' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'example' => 'LMALL20***002',
- ],
- 'CUserId' => [
- 'title' => '客户侧用户ID',
- 'description' => '客户侧用户ID',
- 'type' => 'string',
- 'example' => 'user***121',
- ],
- 'LmUid' => [
- 'title' => 'lm侧用户ID',
- 'description' => 'lm侧用户ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2313***1231',
- ],
- 'TbUserId' => [
- 'description' => '淘宝账号ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3435***1231',
- ],
- 'TbAccountType' => [
- 'description' => '淘宝账号类型:ANONY-匿名账号,REAL-实名账号',
- 'type' => 'string',
- 'example' => 'ANONY',
- ],
- 'ExtInfo' => [
- 'description' => '扩展信息',
- 'type' => 'string',
- 'example' => '{\\"gmtCreate\\":\\"2021-11-01 00:00:00\\"}',
- ],
- 'RequestId' => [
- 'description' => '直接取入参值返回,用于日志追踪',
- 'type' => 'string',
- 'example' => '03B94457-8***93-06CCB1345BC3',
- ],
+ 'BizId' => ['description' => '业务ID', 'type' => 'string', 'example' => 'LMALL20***002'],
+ 'CUserId' => ['title' => '客户侧用户ID', 'description' => '客户侧用户ID', 'type' => 'string', 'example' => 'user***121'],
+ 'LmUid' => ['title' => 'lm侧用户ID', 'description' => 'lm侧用户ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2313***1231'],
+ 'TbUserId' => ['description' => '淘宝账号ID', 'type' => 'integer', 'format' => 'int64', 'example' => '3435***1231'],
+ 'TbAccountType' => ['description' => '淘宝账号类型:ANONY-匿名账号,REAL-实名账号', 'type' => 'string', 'example' => 'ANONY'],
+ 'ExtInfo' => ['description' => '扩展信息', 'type' => 'string', 'example' => '{\\"gmtCreate\\":\\"2021-11-01 00:00:00\\"}'],
+ 'RequestId' => ['description' => '直接取入参值返回,用于日志追踪', 'type' => 'string', 'example' => '03B94457-8***93-06CCB1345BC3'],
],
],
],
@@ -31867,46 +15432,27 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"dsfdsfs***dsfdsfds\\",\\n \\"RequestId\\": \\"03B94457-8FD***93-06CCB1345BC3\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"success\\",\\n \\"Model\\": {\\n \\"BizId\\": \\"LMALL20***002\\",\\n \\"CUserId\\": \\"user***121\\",\\n \\"LmUid\\": 0,\\n \\"TbUserId\\": 0,\\n \\"TbAccountType\\": \\"ANONY\\",\\n \\"ExtInfo\\": \\"{\\\\\\\\\\\\\\"gmtCreate\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2021-11-01 00:00:00\\\\\\\\\\\\\\"}\\",\\n \\"RequestId\\": \\"03B94457-8***93-06CCB1345BC3\\"\\n }\\n}","type":"json"}]',
'title' => '注册linkedmall用户账号',
],
'RenderOrderWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ItemList',
@@ -31920,33 +15466,10 @@
'description' => '商品信息',
'type' => 'object',
'properties' => [
- 'ItemId' => [
- 'description' => '淘宝侧订单ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '661***740',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '100***02-661***740',
- ],
- 'SkuId' => [
- 'description' => '商品skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '458***257',
- ],
- 'Quantity' => [
- 'description' => '购买数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'ItemId' => ['description' => '淘宝侧订单ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '661***740'],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'required' => false, 'example' => '100***02-661***740'],
+ 'SkuId' => ['description' => '商品skuId', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '458***257'],
+ 'Quantity' => ['description' => '购买数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
'required' => false,
],
@@ -31956,58 +15479,27 @@
[
'name' => 'DeliveryAddress',
'in' => 'formData',
- 'schema' => [
- 'title' => '收货地址',
- 'description' => '收货地址',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{\\"addressDetail\\":\\"湖*省**市**区**街道**7栋\\",\\"divisionCode\\":\\"4***03\\",\\"fullName\\":\\"欧*\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"43***08\\"}',
- ],
+ 'schema' => ['title' => '收货地址', 'description' => '收货地址', 'type' => 'string', 'required' => true, 'example' => '{\\"addressDetail\\":\\"湖*省**市**区**街道**7栋\\",\\"divisionCode\\":\\"4***03\\",\\"fullName\\":\\"欧*\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"43***08\\"}'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL202***001',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL202***001'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'U123***23',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'U123***23'],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'description' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'description' => '淘宝账号类型', 'type' => 'string', 'required' => true, 'example' => 'ANONY'],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '123***23',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '123***23'],
],
],
'responses' => [
@@ -32017,69 +15509,16 @@
'description' => 'PopResponse<RenderOrderResponse>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '978A8742-1A***9-F8713ACBC385',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '205',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '978A8742-1A***9-F8713ACBC385'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '205'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
@@ -32099,110 +15538,25 @@
'description' => '商品信息',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '100***02-661***740',
- ],
- 'ItemId' => [
- 'description' => '淘宝侧商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '661***740',
- ],
- 'ItemName' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => 'iphone12',
- ],
- 'SkuName' => [
- 'description' => 'sku名称',
- 'type' => 'string',
- 'example' => '64GB',
- ],
- 'SkuId' => [
- 'description' => 'skuid',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '493***981',
- ],
- 'SellerId' => [
- 'description' => '卖家id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '107***918',
- ],
- 'TbShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '菜鸟***旗舰店',
- ],
- 'SellerNick' => [
- 'description' => '卖家昵称',
- 'type' => 'string',
- 'example' => '天***服',
- ],
- 'Cash' => [
- 'description' => '现金数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16000',
- ],
- 'PointPrice' => [
- 'description' => '积分价格(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000000',
- ],
- 'PromotionFee' => [
- 'description' => '权益金额(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6000',
- ],
- 'Points' => [
- 'description' => '积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100000',
- ],
- 'ActualPrice' => [
- 'description' => '实际销售价格(单位:分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50000',
- ],
- 'Quantity' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ItemUrl' => [
- 'description' => '商品详情链接',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com',
- ],
- 'ItemPicUrl' => [
- 'description' => '商品图片URL',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Message' => [
- 'description' => '调用失败时,返回的出错信息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'VirtualItemType' => [
- 'description' => '虚拟商品类型',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '100***02-661***740'],
+ 'ItemId' => ['description' => '淘宝侧商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '661***740'],
+ 'ItemName' => ['description' => '商品名称', 'type' => 'string', 'example' => 'iphone12'],
+ 'SkuName' => ['description' => 'sku名称', 'type' => 'string', 'example' => '64GB'],
+ 'SkuId' => ['description' => 'skuid', 'type' => 'integer', 'format' => 'int64', 'example' => '493***981'],
+ 'SellerId' => ['description' => '卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '107***918'],
+ 'TbShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '菜鸟***旗舰店'],
+ 'SellerNick' => ['description' => '卖家昵称', 'type' => 'string', 'example' => '天***服'],
+ 'Cash' => ['description' => '现金数', 'type' => 'integer', 'format' => 'int64', 'example' => '16000'],
+ 'PointPrice' => ['description' => '积分价格(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '1000000'],
+ 'PromotionFee' => ['description' => '权益金额(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '6000'],
+ 'Points' => ['description' => '积分', 'type' => 'integer', 'format' => 'int64', 'example' => '100000'],
+ 'ActualPrice' => ['description' => '实际销售价格(单位:分)', 'type' => 'integer', 'format' => 'int64', 'example' => '50000'],
+ 'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ItemUrl' => ['description' => '商品详情链接', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
+ 'ItemPicUrl' => ['description' => '商品图片URL', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'Message' => ['description' => '调用失败时,返回的出错信息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'VirtualItemType' => ['description' => '虚拟商品类型', 'type' => 'string', 'example' => '""'],
'ItemPromInstVOS' => [
'description' => '虚拟商品列表',
'type' => 'array',
@@ -32210,20 +15564,11 @@
'description' => '虚拟商品信息',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '100***35-582***661',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '100***35-582***661'],
'SkuIds' => [
'description' => 'sku列表',
'type' => 'array',
- 'items' => [
- 'description' => 'skuid',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '343***432',
- ],
+ 'items' => ['description' => 'skuid', 'type' => 'integer', 'format' => 'int64', 'example' => '343***432'],
],
'AvailableItems' => [
'description' => '可售商品列表',
@@ -32232,165 +15577,43 @@
'description' => '商品信息',
'type' => 'object',
'properties' => [
- 'ItemId' => [
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '668***630',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品ID',
- 'type' => 'string',
- 'example' => '100***35-630***809',
- ],
- 'SkuId' => [
- 'description' => 'skuid',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '457***764',
- ],
- 'LmShopId' => [
- 'description' => 'lm侧店铺ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100***35',
- ],
- 'TbSellerId' => [
- 'description' => '淘宝卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '32***42',
- ],
- 'Number' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PriceCent' => [
- 'description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'Points' => [
- 'description' => '积分,单位:个。如果为空或为0,表示没有积分价格,pointsAmount也不会⽣效',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣的⾦额,单位:分。⽤户真实⽀付 (points个积分) + (pointPrice 分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UserPayFee' => [
- 'description' => '用户支付金额(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'Removed' => [
- 'description' => '是否被删除',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'ItemId' => ['description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '668***630'],
+ 'LmItemId' => ['description' => 'lm侧商品ID', 'type' => 'string', 'example' => '100***35-630***809'],
+ 'SkuId' => ['description' => 'skuid', 'type' => 'integer', 'format' => 'int64', 'example' => '457***764'],
+ 'LmShopId' => ['description' => 'lm侧店铺ID', 'type' => 'integer', 'format' => 'int64', 'example' => '100***35'],
+ 'TbSellerId' => ['description' => '淘宝卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '32***42'],
+ 'Number' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PriceCent' => ['description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'Points' => ['description' => '积分,单位:个。如果为空或为0,表示没有积分价格,pointsAmount也不会⽣效', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'PointsAmount' => ['description' => '积分抵扣的⾦额,单位:分。⽤户真实⽀付 (points个积分) + (pointPrice 分)', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UserPayFee' => ['description' => '用户支付金额(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'Removed' => ['description' => '是否被删除', 'type' => 'boolean', 'example' => 'false'],
],
],
],
- 'TbSellerId' => [
- 'description' => '淘宝卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '32***24',
- ],
- 'InstanceId' => [
- 'description' => '实例id',
- 'type' => 'string',
- 'example' => '324***234',
- ],
- 'PromotionName' => [
- 'description' => '权益名称',
- 'type' => 'string',
- 'example' => '满减权益',
- ],
- 'PromotionType' => [
- 'description' => '权益类型',
- 'type' => 'string',
- ],
- 'Level' => [
- 'description' => '级别',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'DiscountPrice' => [
- 'description' => '折扣价格。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ThresholdPrice' => [
- 'description' => '享受权益的门槛金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SpecialPrice' => [
- 'description' => '按量付费实例特有券抵扣。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UseStartTime' => [
- 'description' => '开始使用时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1659612158',
- ],
- 'ExpireTime' => [
- 'description' => '过期时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1659612158',
- ],
- 'Selected' => [
- 'description' => '是否选中',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'CanUse' => [
- 'description' => '是否可使用',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Reason' => [
- 'description' => '不可用原因',
- 'type' => 'string',
- 'example' => '过期',
- ],
- 'SubBizCode' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'example' => '0eae4fd***e23145',
- ],
+ 'TbSellerId' => ['description' => '淘宝卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '32***24'],
+ 'InstanceId' => ['description' => '实例id', 'type' => 'string', 'example' => '324***234'],
+ 'PromotionName' => ['description' => '权益名称', 'type' => 'string', 'example' => '满减权益'],
+ 'PromotionType' => ['description' => '权益类型', 'type' => 'string'],
+ 'Level' => ['description' => '级别', 'type' => 'string', 'example' => '0'],
+ 'DiscountPrice' => ['description' => '折扣价格。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ThresholdPrice' => ['description' => '享受权益的门槛金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SpecialPrice' => ['description' => '按量付费实例特有券抵扣。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UseStartTime' => ['description' => '开始使用时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1659612158'],
+ 'ExpireTime' => ['description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1659612158'],
+ 'Selected' => ['description' => '是否选中', 'type' => 'boolean', 'example' => 'false'],
+ 'CanUse' => ['description' => '是否可使用', 'type' => 'boolean', 'example' => 'false'],
+ 'Reason' => ['description' => '不可用原因', 'type' => 'string', 'example' => '过期'],
+ 'SubBizCode' => ['description' => '子业务号', 'type' => 'string', 'example' => '0eae4fd***e23145'],
],
],
],
'Features' => [
'description' => '产品特征',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '产品特征',
- ],
- ],
- 'ReservePrice' => [
- 'description' => '商品原价(元)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
+ 'additionalProperties' => ['type' => 'string', 'description' => '产品特征'],
],
+ 'ReservePrice' => ['description' => '商品原价(元)', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
],
],
],
@@ -32401,28 +15624,10 @@
'description' => '配送信息',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => 'id',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'DisplayName' => [
- 'description' => '显示名称',
- 'type' => 'string',
- 'example' => '包邮',
- ],
- 'PostFee' => [
- 'description' => '邮费',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceType' => [
- 'description' => '配送方式类型: -4 快递, -7 EMS, -1 平邮',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '-4',
- ],
+ 'Id' => ['description' => 'id', 'type' => 'string', 'example' => '10'],
+ 'DisplayName' => ['description' => '显示名称', 'type' => 'string', 'example' => '包邮'],
+ 'PostFee' => ['description' => '邮费', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceType' => ['description' => '配送方式类型: -4 快递, -7 EMS, -1 平邮', 'type' => 'integer', 'format' => 'int64', 'example' => '-4'],
],
],
],
@@ -32430,46 +15635,19 @@
'description' => '发票信息',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '发票类型',
- 'type' => 'string',
- ],
- 'Desc' => [
- 'description' => '发票描述',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'Type' => ['description' => '发票类型', 'type' => 'string'],
+ 'Desc' => ['description' => '发票描述', 'type' => 'string', 'example' => '""'],
],
],
'ExtInfo' => [
'description' => '扩展信息',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '扩展信息',
- ],
- ],
- 'SellerId' => [
- 'description' => '卖家Id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '218***608',
- ],
- 'TbShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '悦里***推荐',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Message' => [
- 'description' => '调用失败时,返回的出错信息。',
- 'type' => 'string',
- 'example' => '""',
+ 'additionalProperties' => ['type' => 'string', 'description' => '扩展信息'],
],
+ 'SellerId' => ['description' => '卖家Id', 'type' => 'integer', 'format' => 'int64', 'example' => '218***608'],
+ 'TbShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '悦里***推荐'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'Message' => ['description' => '调用失败时,返回的出错信息。', 'type' => 'string', 'example' => '""'],
'ShopPromInstVOS' => [
'description' => '店铺权益信息',
'type' => 'array',
@@ -32477,20 +15655,11 @@
'description' => '店铺权益',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '100***42-568***99',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '100***42-568***99'],
'SkuIds' => [
'description' => '店铺信息skuid',
'type' => 'array',
- 'items' => [
- 'description' => '店铺信息skuid',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '324***42',
- ],
+ 'items' => ['description' => '店铺信息skuid', 'type' => 'integer', 'format' => 'int64', 'example' => '324***42'],
],
'AvailableItems' => [
'description' => '可用的商品列表',
@@ -32499,148 +15668,34 @@
'description' => '可选商品信息',
'type' => 'object',
'properties' => [
- 'ItemId' => [
- 'description' => '商品id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '668***630',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '100***88-52***337',
- ],
- 'SkuId' => [
- 'description' => '商品skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '502***91',
- ],
- 'LmShopId' => [
- 'description' => 'lm侧店铺ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10***40',
- ],
- 'TbSellerId' => [
- 'description' => '淘宝卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '32***32',
- ],
- 'Number' => [
- 'description' => '数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'PriceCent' => [
- 'description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1490',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣的⾦额,单位:分。⽤户真实⽀付 (points个积分) + (pointPrice 分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UserPayFee' => [
- 'description' => '用户支付金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'Removed' => [
- 'description' => '是否被删除',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'ItemId' => ['description' => '商品id。', 'type' => 'integer', 'format' => 'int64', 'example' => '668***630'],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '100***88-52***337'],
+ 'SkuId' => ['description' => '商品skuId', 'type' => 'integer', 'format' => 'int64', 'example' => '502***91'],
+ 'LmShopId' => ['description' => 'lm侧店铺ID', 'type' => 'integer', 'format' => 'int64', 'example' => '10***40'],
+ 'TbSellerId' => ['description' => '淘宝卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '32***32'],
+ 'Number' => ['description' => '数量', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'PriceCent' => ['description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位', 'type' => 'integer', 'format' => 'int64', 'example' => '1490'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'PointsAmount' => ['description' => '积分抵扣的⾦额,单位:分。⽤户真实⽀付 (points个积分) + (pointPrice 分)', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UserPayFee' => ['description' => '用户支付金额', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'Removed' => ['description' => '是否被删除', 'type' => 'boolean', 'example' => 'false'],
],
],
],
- 'TbSellerId' => [
- 'description' => '淘宝卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '343***242',
- ],
- 'InstanceId' => [
- 'description' => '实例id。',
- 'type' => 'string',
- 'example' => '324***242',
- ],
- 'PromotionName' => [
- 'description' => '权益名称',
- 'type' => 'string',
- 'example' => '"满减"',
- ],
- 'PromotionType' => [
- 'description' => '权益类型',
- 'type' => 'string',
- ],
- 'Level' => [
- 'description' => '级别',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'DiscountPrice' => [
- 'description' => '折扣价格。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'ThresholdPrice' => [
- 'description' => '享受权益的门槛金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'SpecialPrice' => [
- 'description' => '特殊价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '88',
- ],
- 'UseStartTime' => [
- 'description' => '使用开始时间戳',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1659612158',
- ],
- 'ExpireTime' => [
- 'description' => '到期时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1659612158',
- ],
- 'Selected' => [
- 'description' => '是否被选择',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CanUse' => [
- 'description' => '是否可用。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Reason' => [
- 'description' => '不可用原因',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'SubBizCode' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'example' => '40b8362***20760d',
- ],
+ 'TbSellerId' => ['description' => '淘宝卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '343***242'],
+ 'InstanceId' => ['description' => '实例id。', 'type' => 'string', 'example' => '324***242'],
+ 'PromotionName' => ['description' => '权益名称', 'type' => 'string', 'example' => '"满减"'],
+ 'PromotionType' => ['description' => '权益类型', 'type' => 'string'],
+ 'Level' => ['description' => '级别', 'type' => 'string', 'example' => '0'],
+ 'DiscountPrice' => ['description' => '折扣价格。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'ThresholdPrice' => ['description' => '享受权益的门槛金额', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'SpecialPrice' => ['description' => '特殊价格', 'type' => 'integer', 'format' => 'int64', 'example' => '88'],
+ 'UseStartTime' => ['description' => '使用开始时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1659612158'],
+ 'ExpireTime' => ['description' => '到期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1659612158'],
+ 'Selected' => ['description' => '是否被选择', 'type' => 'boolean', 'example' => 'true'],
+ 'CanUse' => ['description' => '是否可用。', 'type' => 'boolean', 'example' => 'false'],
+ 'Reason' => ['description' => '不可用原因', 'type' => 'string', 'example' => '""'],
+ 'SubBizCode' => ['description' => '子业务号', 'type' => 'string', 'example' => '40b8362***20760d'],
],
],
],
@@ -32661,109 +15716,25 @@
'description' => '商品信息',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '100***87-644***2078',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '651***245',
- ],
- 'ItemName' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '饼干',
- ],
- 'SkuName' => [
- 'description' => 'SKU显示名称',
- 'type' => 'string',
- 'example' => '500g',
- ],
- 'SkuId' => [
- 'description' => 'skuid',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '-1',
- ],
- 'SellerId' => [
- 'description' => '卖家Id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '218***608',
- ],
- 'TbShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '悦里***推荐',
- ],
- 'SellerNick' => [
- 'description' => '卖家昵称',
- 'type' => 'string',
- 'example' => '安***昔',
- ],
- 'Cash' => [
- 'description' => '现金数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'PointPrice' => [
- 'description' => '积分价格(分),给用户显示时使用,以及在用户自己支付时需要真实支付的金额。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'PromotionFee' => [
- 'description' => '权益金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ActualPrice' => [
- 'description' => '实际价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'Quantity' => [
- 'description' => '商品数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'ItemUrl' => [
- 'description' => '商品详情链接',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com',
- ],
- 'ItemPicUrl' => [
- 'description' => '商品图片URL',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Message' => [
- 'description' => '不可售的原因',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'VirtualItemType' => [
- 'description' => '虚拟商品类型',
- 'type' => 'string',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '100***87-644***2078'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '651***245'],
+ 'ItemName' => ['description' => '商品名称', 'type' => 'string', 'example' => '饼干'],
+ 'SkuName' => ['description' => 'SKU显示名称', 'type' => 'string', 'example' => '500g'],
+ 'SkuId' => ['description' => 'skuid', 'type' => 'integer', 'format' => 'int64', 'example' => '-1'],
+ 'SellerId' => ['description' => '卖家Id', 'type' => 'integer', 'format' => 'int64', 'example' => '218***608'],
+ 'TbShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '悦里***推荐'],
+ 'SellerNick' => ['description' => '卖家昵称', 'type' => 'string', 'example' => '安***昔'],
+ 'Cash' => ['description' => '现金数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'PointPrice' => ['description' => '积分价格(分),给用户显示时使用,以及在用户自己支付时需要真实支付的金额。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'PromotionFee' => ['description' => '权益金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ActualPrice' => ['description' => '实际价格', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'Quantity' => ['description' => '商品数量', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'ItemUrl' => ['description' => '商品详情链接', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
+ 'ItemPicUrl' => ['description' => '商品图片URL', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'Message' => ['description' => '不可售的原因', 'type' => 'string', 'example' => '""'],
+ 'VirtualItemType' => ['description' => '虚拟商品类型', 'type' => 'string'],
'ItemPromInstVOS' => [
'description' => '商品级别权益信息',
'type' => 'array',
@@ -32771,20 +15742,11 @@
'description' => '商品权益信息',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '100***17-6511***700',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '100***17-6511***700'],
'SkuIds' => [
'description' => 'skuid',
'type' => 'array',
- 'items' => [
- 'description' => 'skuid',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '342***324',
- ],
+ 'items' => ['description' => 'skuid', 'type' => 'integer', 'format' => 'int64', 'example' => '342***324'],
],
'AvailableItems' => [
'description' => '可用的商品列表',
@@ -32793,165 +15755,43 @@
'description' => '可用商品信息',
'type' => 'object',
'properties' => [
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '413***546',
- ],
- 'LmItemId' => [
- 'description' => 'LM商品ID',
- 'type' => 'string',
- 'example' => '100***03-680***926',
- ],
- 'SkuId' => [
- 'description' => 'skuid',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '504***414',
- ],
- 'LmShopId' => [
- 'description' => 'lm侧店铺ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100***92',
- ],
- 'TbSellerId' => [
- 'description' => '淘宝卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '21***31',
- ],
- 'Number' => [
- 'description' => '数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PriceCent' => [
- 'description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2950',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UserPayFee' => [
- 'description' => '用户支付金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2950',
- ],
- 'Removed' => [
- 'description' => '是否被删除',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '413***546'],
+ 'LmItemId' => ['description' => 'LM商品ID', 'type' => 'string', 'example' => '100***03-680***926'],
+ 'SkuId' => ['description' => 'skuid', 'type' => 'integer', 'format' => 'int64', 'example' => '504***414'],
+ 'LmShopId' => ['description' => 'lm侧店铺ID', 'type' => 'integer', 'format' => 'int64', 'example' => '100***92'],
+ 'TbSellerId' => ['description' => '淘宝卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '21***31'],
+ 'Number' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PriceCent' => ['description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位', 'type' => 'integer', 'format' => 'int64', 'example' => '2950'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'PointsAmount' => ['description' => '积分抵扣金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UserPayFee' => ['description' => '用户支付金额', 'type' => 'integer', 'format' => 'int64', 'example' => '2950'],
+ 'Removed' => ['description' => '是否被删除', 'type' => 'boolean', 'example' => 'false'],
],
],
],
- 'TbSellerId' => [
- 'description' => '淘宝卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '324***242',
- ],
- 'InstanceId' => [
- 'description' => '权益实例ID',
- 'type' => 'string',
- 'example' => '324***253',
- ],
- 'PromotionName' => [
- 'description' => '权益名称',
- 'type' => 'string',
- 'example' => '满减',
- ],
- 'PromotionType' => [
- 'description' => '权益类型',
- 'type' => 'string',
- ],
- 'Level' => [
- 'description' => '权益级别',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'DiscountPrice' => [
- 'description' => '折扣价格。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '600',
- ],
- 'ThresholdPrice' => [
- 'description' => '享受权益的门槛金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '500',
- ],
- 'SpecialPrice' => [
- 'description' => '特价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '300',
- ],
- 'UseStartTime' => [
- 'description' => '使用开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1659612158',
- ],
- 'ExpireTime' => [
- 'description' => '到期时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1659612158',
- ],
- 'Selected' => [
- 'description' => '是否选中',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'CanUse' => [
- 'description' => '是否可以使用。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Reason' => [
- 'description' => '不可用原因',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'SubBizCode' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'example' => '9b1f9bd***b774c0',
- ],
+ 'TbSellerId' => ['description' => '淘宝卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '324***242'],
+ 'InstanceId' => ['description' => '权益实例ID', 'type' => 'string', 'example' => '324***253'],
+ 'PromotionName' => ['description' => '权益名称', 'type' => 'string', 'example' => '满减'],
+ 'PromotionType' => ['description' => '权益类型', 'type' => 'string'],
+ 'Level' => ['description' => '权益级别', 'type' => 'string', 'example' => '1'],
+ 'DiscountPrice' => ['description' => '折扣价格。', 'type' => 'integer', 'format' => 'int64', 'example' => '600'],
+ 'ThresholdPrice' => ['description' => '享受权益的门槛金额', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
+ 'SpecialPrice' => ['description' => '特价', 'type' => 'integer', 'format' => 'int64', 'example' => '300'],
+ 'UseStartTime' => ['description' => '使用开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1659612158'],
+ 'ExpireTime' => ['description' => '到期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1659612158'],
+ 'Selected' => ['description' => '是否选中', 'type' => 'boolean', 'example' => 'false'],
+ 'CanUse' => ['description' => '是否可以使用。', 'type' => 'boolean', 'example' => 'false'],
+ 'Reason' => ['description' => '不可用原因', 'type' => 'string', 'example' => '""'],
+ 'SubBizCode' => ['description' => '子业务号', 'type' => 'string', 'example' => '9b1f9bd***b774c0'],
],
],
],
'Features' => [
'description' => '产品特征',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '产品特征',
- ],
- ],
- 'ReservePrice' => [
- 'description' => '商品原价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '999',
+ 'additionalProperties' => ['type' => 'string', 'description' => '产品特征'],
],
+ 'ReservePrice' => ['description' => '商品原价', 'type' => 'integer', 'format' => 'int64', 'example' => '999'],
],
],
],
@@ -32962,28 +15802,10 @@
'description' => '配送信息',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => 'id',
- 'type' => 'string',
- 'example' => '4',
- ],
- 'DisplayName' => [
- 'description' => '显示名称',
- 'type' => 'string',
- 'example' => '包邮',
- ],
- 'PostFee' => [
- 'description' => '邮费',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceType' => [
- 'description' => '快递类型:-4 快递, -7 EMS, -1 平邮',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '-4',
- ],
+ 'Id' => ['description' => 'id', 'type' => 'string', 'example' => '4'],
+ 'DisplayName' => ['description' => '显示名称', 'type' => 'string', 'example' => '包邮'],
+ 'PostFee' => ['description' => '邮费', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceType' => ['description' => '快递类型:-4 快递, -7 EMS, -1 平邮', 'type' => 'integer', 'format' => 'int64', 'example' => '-4'],
],
],
],
@@ -32991,46 +15813,19 @@
'description' => '发票信息',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '发票类型',
- 'type' => 'string',
- ],
- 'Desc' => [
- 'description' => '发票描述',
- 'type' => 'string',
- ],
+ 'Type' => ['description' => '发票类型', 'type' => 'string'],
+ 'Desc' => ['description' => '发票描述', 'type' => 'string'],
],
],
'ExtInfo' => [
'description' => '扩展信息',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '""',
- 'description' => '扩展信息',
- ],
- ],
- 'SellerId' => [
- 'description' => '卖家Id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2204***416',
- ],
- 'TbShopName' => [
- 'description' => '淘宝店铺名称',
- 'type' => 'string',
- 'example' => '商***淘',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Message' => [
- 'description' => '不可售原因',
- 'type' => 'string',
- 'example' => '不可售',
+ 'additionalProperties' => ['type' => 'string', 'example' => '""', 'description' => '扩展信息'],
],
+ 'SellerId' => ['description' => '卖家Id', 'type' => 'integer', 'format' => 'int64', 'example' => '2204***416'],
+ 'TbShopName' => ['description' => '淘宝店铺名称', 'type' => 'string', 'example' => '商***淘'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'false'],
+ 'Message' => ['description' => '不可售原因', 'type' => 'string', 'example' => '不可售'],
'ShopPromInstVOS' => [
'description' => '店铺级别权益信息',
'type' => 'array',
@@ -33038,20 +15833,11 @@
'description' => '店铺级别权益',
'type' => 'object',
'properties' => [
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '100***95-625***772',
- ],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '100***95-625***772'],
'SkuIds' => [
'description' => 'skuid列表',
'type' => 'array',
- 'items' => [
- 'description' => 'skuid',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '343***324',
- ],
+ 'items' => ['description' => 'skuid', 'type' => 'integer', 'format' => 'int64', 'example' => '343***324'],
],
'AvailableItems' => [
'description' => '可用的商品列表',
@@ -33060,148 +15846,34 @@
'description' => '可用的商品列表',
'type' => 'object',
'properties' => [
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '661***792',
- ],
- 'LmItemId' => [
- 'description' => 'lm侧商品id',
- 'type' => 'string',
- 'example' => '100***66-633***108',
- ],
- 'SkuId' => [
- 'description' => '商品skuId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '502***2291',
- ],
- 'LmShopId' => [
- 'description' => 'lm侧店铺ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100***92',
- ],
- 'TbSellerId' => [
- 'description' => '淘宝卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3432***42',
- ],
- 'Number' => [
- 'description' => '数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PriceCent' => [
- 'description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'Points' => [
- 'description' => '积分数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'PointsAmount' => [
- 'description' => '积分抵扣价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UserPayFee' => [
- 'description' => '用户支付金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '500',
- ],
- 'Removed' => [
- 'description' => '是否被删除',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '661***792'],
+ 'LmItemId' => ['description' => 'lm侧商品id', 'type' => 'string', 'example' => '100***66-633***108'],
+ 'SkuId' => ['description' => '商品skuId', 'type' => 'integer', 'format' => 'int64', 'example' => '502***2291'],
+ 'LmShopId' => ['description' => 'lm侧店铺ID', 'type' => 'integer', 'format' => 'int64', 'example' => '100***92'],
+ 'TbSellerId' => ['description' => '淘宝卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '3432***42'],
+ 'Number' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PriceCent' => ['description' => '销售价格(分),priceCent表示客户端的销售价格,返回值以分为单位', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'Points' => ['description' => '积分数量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'PointsAmount' => ['description' => '积分抵扣价格', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UserPayFee' => ['description' => '用户支付金额', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
+ 'Removed' => ['description' => '是否被删除', 'type' => 'boolean', 'example' => 'true'],
],
],
],
- 'TbSellerId' => [
- 'description' => '淘宝卖家ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '44***53',
- ],
- 'InstanceId' => [
- 'description' => '权益实例id',
- 'type' => 'string',
- 'example' => '232***777',
- ],
- 'PromotionName' => [
- 'description' => '权益名称',
- 'type' => 'string',
- 'example' => '满减',
- ],
- 'PromotionType' => [
- 'description' => '权益类型',
- 'type' => 'string',
- ],
- 'Level' => [
- 'description' => '权益级别',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'DiscountPrice' => [
- 'description' => '折减的价格,原价减去折减的价格即为实际价格。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ThresholdPrice' => [
- 'description' => '权益生效的门槛价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SpecialPrice' => [
- 'description' => '特价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UseStartTime' => [
- 'description' => '开始使用时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1659612158',
- ],
- 'ExpireTime' => [
- 'description' => '过期时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1659612158',
- ],
- 'Selected' => [
- 'description' => '是否选中',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'CanUse' => [
- 'description' => '是否可以使用',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Reason' => [
- 'description' => '不可用原因',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'SubBizCode' => [
- 'description' => '子业务号',
- 'type' => 'string',
- 'example' => 'fa7a31***7787b2',
- ],
+ 'TbSellerId' => ['description' => '淘宝卖家ID', 'type' => 'integer', 'format' => 'int64', 'example' => '44***53'],
+ 'InstanceId' => ['description' => '权益实例id', 'type' => 'string', 'example' => '232***777'],
+ 'PromotionName' => ['description' => '权益名称', 'type' => 'string', 'example' => '满减'],
+ 'PromotionType' => ['description' => '权益类型', 'type' => 'string'],
+ 'Level' => ['description' => '权益级别', 'type' => 'string', 'example' => '1'],
+ 'DiscountPrice' => ['description' => '折减的价格,原价减去折减的价格即为实际价格。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ThresholdPrice' => ['description' => '权益生效的门槛价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SpecialPrice' => ['description' => '特价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UseStartTime' => ['description' => '开始使用时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1659612158'],
+ 'ExpireTime' => ['description' => '过期时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1659612158'],
+ 'Selected' => ['description' => '是否选中', 'type' => 'boolean', 'example' => 'false'],
+ 'CanUse' => ['description' => '是否可以使用', 'type' => 'boolean', 'example' => 'false'],
+ 'Reason' => ['description' => '不可用原因', 'type' => 'string', 'example' => '""'],
+ 'SubBizCode' => ['description' => '子业务号', 'type' => 'string', 'example' => 'fa7a31***7787b2'],
],
],
],
@@ -33215,70 +15887,24 @@
'description' => '地址信息。',
'type' => 'object',
'properties' => [
- 'AddressId' => [
- 'description' => '地址ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '31***40',
- ],
- 'Receiver' => [
- 'description' => '收货人',
- 'type' => 'string',
- 'example' => '王**',
- ],
- 'ReceiverPhone' => [
- 'description' => '收货人手机号',
- 'type' => 'string',
- 'example' => '137***343',
- ],
- 'AddressDetail' => [
- 'description' => '地址详情',
- 'type' => 'string',
- 'example' => '{\\"addressDetail\\":\\"湖*省**市**区**街道**7栋\\",\\"divisionCode\\":\\"4***03\\",\\"fullName\\":\\"欧**\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"43***08\\"}',
- ],
- 'DivisionCode' => [
- 'description' => '区域码',
- 'type' => 'string',
- 'example' => '43***03',
- ],
- 'TownDivisionCode' => [
- 'description' => '第4级地址ID 镇、街道',
- 'type' => 'string',
- 'example' => '430***008',
- ],
- 'IsDefault' => [
- 'description' => '是否是默认地址。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'AddressId' => ['description' => '地址ID', 'type' => 'integer', 'format' => 'int64', 'example' => '31***40'],
+ 'Receiver' => ['description' => '收货人', 'type' => 'string', 'example' => '王**'],
+ 'ReceiverPhone' => ['description' => '收货人手机号', 'type' => 'string', 'example' => '137***343'],
+ 'AddressDetail' => ['description' => '地址详情', 'type' => 'string', 'example' => '{\\"addressDetail\\":\\"湖*省**市**区**街道**7栋\\",\\"divisionCode\\":\\"4***03\\",\\"fullName\\":\\"欧**\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"43***08\\"}'],
+ 'DivisionCode' => ['description' => '区域码', 'type' => 'string', 'example' => '43***03'],
+ 'TownDivisionCode' => ['description' => '第4级地址ID 镇、街道', 'type' => 'string', 'example' => '430***008'],
+ 'IsDefault' => ['description' => '是否是默认地址。', 'type' => 'boolean', 'example' => 'false'],
],
],
],
- 'BuyerCurrentPoints' => [
- 'description' => '买家当前积分数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
+ 'BuyerCurrentPoints' => ['description' => '买家当前积分数', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
'ExtInfo' => [
'description' => '扩展信息',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '扩展信息',
- 'example' => '""',
- ],
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
+ 'additionalProperties' => ['type' => 'string', 'description' => '扩展信息', 'example' => '""'],
],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
],
],
],
@@ -33287,98 +15913,57 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"978A8742-1A***9-F8713ACBC385\\",\\n \\"SubCode\\": \\"205\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"RenderOrderInfos\\": [\\n {\\n \\"LmItemInfos\\": [\\n {\\n \\"LmItemId\\": \\"100***02-661***740\\",\\n \\"ItemId\\": 0,\\n \\"ItemName\\": \\"iphone12\\",\\n \\"SkuName\\": \\"64GB\\",\\n \\"SkuId\\": 0,\\n \\"SellerId\\": 0,\\n \\"TbShopName\\": \\"菜鸟***旗舰店\\",\\n \\"SellerNick\\": \\"天***服\\",\\n \\"Cash\\": 16000,\\n \\"PointPrice\\": 1000000,\\n \\"PromotionFee\\": 6000,\\n \\"Points\\": 100000,\\n \\"ActualPrice\\": 50000,\\n \\"Quantity\\": 1,\\n \\"ItemUrl\\": \\"https://aliyundoc.com\\",\\n \\"ItemPicUrl\\": \\"https://aliyundoc.com\\",\\n \\"CanSell\\": true,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"VirtualItemType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ItemPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***35-582***661\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***35-630***809\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 1,\\n \\"PriceCent\\": 100,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 100,\\n \\"Removed\\": false\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"324***234\\",\\n \\"PromotionName\\": \\"满减权益\\",\\n \\"PromotionType\\": \\"\\",\\n \\"Level\\": \\"0\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 1659612158,\\n \\"ExpireTime\\": 1659612158,\\n \\"Selected\\": false,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"过期\\",\\n \\"SubBizCode\\": \\"0eae4fd***e23145\\"\\n }\\n ],\\n \\"Features\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"ReservePrice\\": 1000\\n }\\n ],\\n \\"DeliveryInfos\\": [\\n {\\n \\"Id\\": \\"10\\",\\n \\"DisplayName\\": \\"包邮\\",\\n \\"PostFee\\": 0,\\n \\"ServiceType\\": -4\\n }\\n ],\\n \\"InvoiceInfo\\": {\\n \\"Type\\": \\"\\",\\n \\"Desc\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ExtInfo\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"SellerId\\": 0,\\n \\"TbShopName\\": \\"悦里***推荐\\",\\n \\"CanSell\\": true,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ShopPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***42-568***99\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***88-52***337\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 0,\\n \\"PriceCent\\": 1490,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 100,\\n \\"Removed\\": false\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"324***242\\",\\n \\"PromotionName\\": \\"\\\\\\"满减\\\\\\"\\",\\n \\"PromotionType\\": \\"\\",\\n \\"Level\\": \\"0\\",\\n \\"DiscountPrice\\": 3,\\n \\"ThresholdPrice\\": 1000,\\n \\"SpecialPrice\\": 88,\\n \\"UseStartTime\\": 1659612158,\\n \\"ExpireTime\\": 1659612158,\\n \\"Selected\\": true,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"40b8362***20760d\\"\\n }\\n ]\\n }\\n ],\\n \\"UnsellableRenderOrderInfos\\": [\\n {\\n \\"LmItemInfos\\": [\\n {\\n \\"LmItemId\\": \\"100***87-644***2078\\",\\n \\"ItemId\\": 0,\\n \\"ItemName\\": \\"饼干\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"SkuId\\": -1,\\n \\"SellerId\\": 0,\\n \\"TbShopName\\": \\"悦里***推荐\\",\\n \\"SellerNick\\": \\"安***昔\\",\\n \\"Cash\\": 100,\\n \\"PointPrice\\": 0,\\n \\"PromotionFee\\": 0,\\n \\"Points\\": 0,\\n \\"ActualPrice\\": 1000,\\n \\"Quantity\\": 3,\\n \\"ItemUrl\\": \\"https://aliyundoc.com\\",\\n \\"ItemPicUrl\\": \\"https://aliyundoc.com\\",\\n \\"CanSell\\": true,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"VirtualItemType\\": \\"\\",\\n \\"ItemPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***17-6511***700\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***03-680***926\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 1,\\n \\"PriceCent\\": 2950,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 2950,\\n \\"Removed\\": false\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"324***253\\",\\n \\"PromotionName\\": \\"满减\\",\\n \\"PromotionType\\": \\"\\",\\n \\"Level\\": \\"1\\",\\n \\"DiscountPrice\\": 600,\\n \\"ThresholdPrice\\": 500,\\n \\"SpecialPrice\\": 300,\\n \\"UseStartTime\\": 1659612158,\\n \\"ExpireTime\\": 1659612158,\\n \\"Selected\\": false,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"9b1f9bd***b774c0\\"\\n }\\n ],\\n \\"Features\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"ReservePrice\\": 999\\n }\\n ],\\n \\"DeliveryInfos\\": [\\n {\\n \\"Id\\": \\"4\\",\\n \\"DisplayName\\": \\"包邮\\",\\n \\"PostFee\\": 0,\\n \\"ServiceType\\": -4\\n }\\n ],\\n \\"InvoiceInfo\\": {\\n \\"Type\\": \\"\\",\\n \\"Desc\\": \\"\\"\\n },\\n \\"ExtInfo\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"SellerId\\": 0,\\n \\"TbShopName\\": \\"商***淘\\",\\n \\"CanSell\\": false,\\n \\"Message\\": \\"不可售\\",\\n \\"ShopPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***95-625***772\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***66-633***108\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 1,\\n \\"PriceCent\\": 1000,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 500,\\n \\"Removed\\": true\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"232***777\\",\\n \\"PromotionName\\": \\"满减\\",\\n \\"PromotionType\\": \\"\\",\\n \\"Level\\": \\"1\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 1659612158,\\n \\"ExpireTime\\": 1659612158,\\n \\"Selected\\": false,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"fa7a31***7787b2\\"\\n }\\n ]\\n }\\n ],\\n \\"AddressInfos\\": [\\n {\\n \\"AddressId\\": 0,\\n \\"Receiver\\": \\"王**\\",\\n \\"ReceiverPhone\\": \\"137***343\\",\\n \\"AddressDetail\\": \\"{\\\\\\\\\\\\\\"addressDetail\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"湖*省**市**区**街道**7栋\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"divisionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"4***03\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fullName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"欧**\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mobile\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1557***502\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"townDivisionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"43***08\\\\\\\\\\\\\\"}\\",\\n \\"DivisionCode\\": \\"43***03\\",\\n \\"TownDivisionCode\\": \\"430***008\\",\\n \\"IsDefault\\": false\\n }\\n ],\\n \\"BuyerCurrentPoints\\": 1000,\\n \\"ExtInfo\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"CanSell\\": true,\\n \\"Message\\": \\"SUCCESS\\"\\n }\\n}","type":"json"}]',
'title' => '指定淘宝账号下单模式下渲染订单',
],
'RepayWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'LmOrderId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'ExtJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '客户业务ID', 'type' => 'string', 'required' => true],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'type' => 'string', 'required' => true],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'type' => 'string', 'required' => true],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64'],
],
],
'responses' => [
@@ -33387,62 +15972,23 @@
'title' => 'PopResponse<RePayRetRes>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'type' => 'string',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string'],
+ 'PageSize' => ['title' => 'pageSize', 'type' => 'integer', 'format' => 'int64'],
+ 'PageNumber' => ['title' => '当前页', 'type' => 'integer', 'format' => 'int64'],
+ 'TotalCount' => ['title' => '总数量', 'type' => 'integer', 'format' => 'int64'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'type' => 'boolean'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string'],
+ 'Message' => ['title' => '错误消息', 'type' => 'string'],
'Model' => [
'title' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'FrontUrl' => [
- 'type' => 'string',
- ],
- 'IsOnlyPaidPoint' => [
- 'type' => 'boolean',
- ],
- 'App' => [
- 'type' => 'string',
- ],
+ 'FrontUrl' => ['type' => 'string'],
+ 'IsOnlyPaidPoint' => ['type' => 'boolean'],
+ 'App' => ['type' => 'string'],
],
],
],
@@ -33451,130 +15997,65 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
],
'SubmitReturnGoodLogisticsWithDesignatedTbUid' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'SubLmOrderId',
'in' => 'formData',
- 'schema' => [
- 'description' => '子订单号',
- 'type' => 'string',
- 'required' => true,
- 'example' => '702***47',
- ],
+ 'schema' => ['description' => '子订单号', 'type' => 'string', 'required' => true, 'example' => '702***47'],
],
[
'name' => 'LogisticsNo',
'in' => 'formData',
- 'schema' => [
- 'description' => '物流单号',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'YT685***0586',
- ],
+ 'schema' => ['description' => '物流单号', 'type' => 'string', 'required' => true, 'example' => 'YT685***0586'],
],
[
'name' => 'CpCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '物流公司代码',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'YTO',
- ],
+ 'schema' => ['description' => '物流公司代码', 'type' => 'string', 'required' => true, 'example' => 'YTO'],
],
[
'name' => 'DisputeId',
'in' => 'formData',
- 'schema' => [
- 'description' => '纠纷ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '19145***4240',
- ],
+ 'schema' => ['description' => '纠纷ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '19145***4240'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户业务ID',
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'LMALL20***003',
- ],
+ 'schema' => ['title' => '客户业务ID', 'description' => '客户业务ID', 'type' => 'string', 'required' => true, 'example' => 'LMALL20***003'],
],
[
'name' => 'ThirdPartyUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '企业侧用户ID',
- 'description' => '企业侧用户ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'user0***01',
- ],
+ 'schema' => ['title' => '企业侧用户ID', 'description' => '企业侧用户ID', 'type' => 'string', 'required' => true, 'example' => 'user0***01'],
],
[
'name' => 'TbAccountType',
'in' => 'formData',
- 'schema' => [
- 'title' => '淘宝账号类型',
- 'description' => '淘宝账号类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANONY',
- ],
+ 'schema' => ['title' => '淘宝账号类型', 'description' => '淘宝账号类型', 'type' => 'string', 'required' => true, 'example' => 'ANONY'],
],
[
'name' => 'TbUserId',
'in' => 'formData',
- 'schema' => [
- 'title' => '客户传递下单用户淘宝UID',
- 'description' => '客户传递下单用户淘宝UID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '321**123',
- ],
+ 'schema' => ['title' => '客户传递下单用户淘宝UID', 'description' => '客户传递下单用户淘宝UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '321**123'],
],
],
'responses' => [
@@ -33584,99 +16065,29 @@
'description' => 'PopResponse',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '49789122-E***2-CFE09154810D',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Model' => [
- 'title' => '请求结果数据',
- 'description' => '请求结果数据',
- 'type' => 'any',
- 'example' => 'null',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '49789122-E***2-CFE09154810D'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Model' => ['title' => '请求结果数据', 'description' => '请求结果数据', 'type' => 'any', 'example' => 'null'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"49789122-E***2-CFE09154810D\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": \\"null\\"\\n}","type":"json"}]',
@@ -33684,80 +16095,40 @@
],
'ModifyBasicItemSupplierPrice' => [
'summary' => '修改基础库商品供货价。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'LmShopId',
'in' => 'query',
- 'schema' => [
- 'title' => 'lm店铺ID',
- 'description' => 'lm店铺ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1002****',
- ],
+ 'schema' => ['title' => 'lm店铺ID', 'description' => 'lm店铺ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1002****'],
],
[
'name' => 'LmItemId',
'in' => 'query',
- 'schema' => [
- 'title' => 'lm商品ID',
- 'description' => 'lm商品ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000****-6193664*****',
- ],
+ 'schema' => ['title' => 'lm商品ID', 'description' => 'lm商品ID', 'type' => 'string', 'required' => false, 'example' => '10000****-6193664*****'],
],
[
'name' => 'SkuId',
'in' => 'query',
- 'schema' => [
- 'title' => '商品规格ID',
- 'description' => '商品规格ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '490073602****',
- ],
+ 'schema' => ['title' => '商品规格ID', 'description' => '商品规格ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '490073602****'],
],
[
'name' => 'SupplierPrice',
'in' => 'query',
- 'schema' => [
- 'title' => '商品供货价(单位分)',
- 'description' => '商品供货价(单位分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '4800',
- ],
+ 'schema' => ['title' => '商品供货价(单位分)', 'description' => '商品供货价(单位分)', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4800'],
],
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'title' => '业务ID',
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['title' => '业务ID', 'description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20******001'],
],
],
'responses' => [
@@ -33767,54 +16138,22 @@
'description' => 'PopResponse<Boolean>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8',
- ],
- 'Code' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '请求处理成功',
- ],
- 'Model' => [
- 'title' => '改价标识,true:改价成功,false:改价失败',
- 'description' => '改价标识,true:改价成功,false:改价失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '6103AD7B-21C2-523B-89D0-579DA58D08E8'],
+ 'Code' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '请求处理成功'],
+ 'Model' => ['title' => '改价标识,true:改价成功,false:改价失败', 'description' => '改价标识,true:改价成功,false:改价失败', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6103AD7B-21C2-523B-89D0-579DA58D08E8\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"请求处理成功\\",\\n \\"Model\\": true\\n}","type":"json"}]',
@@ -33822,122 +16161,60 @@
'description' => '此接口只提供给特定场景下的客户使用。',
],
'QuerySupplierItemBillDownloadUrl' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BillId',
'in' => 'formData',
- 'schema' => [
- 'title' => '账单id',
- 'description' => '账单id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'BILL-10000007371****',
- ],
+ 'schema' => ['title' => '账单id', 'description' => '账单id', 'type' => 'string', 'required' => false, 'example' => 'BILL-10000007371****'],
],
[
'name' => 'BillPeriod',
'in' => 'formData',
- 'schema' => [
- 'title' => '账期',
- 'description' => '账期',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '2022-12',
- ],
+ 'schema' => ['title' => '账期', 'description' => '账期', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '2022-12'],
],
[
'name' => 'BillStatus',
'in' => 'formData',
- 'schema' => [
- 'title' => '账单状态',
- 'description' => '账单状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'billGenerated',
- ],
+ 'schema' => ['title' => '账单状态', 'description' => '账单状态', 'type' => 'string', 'required' => false, 'example' => 'billGenerated'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20***003',
- ],
+ 'schema' => ['description' => '客户业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20***003'],
],
[
'name' => 'BizName',
'in' => 'formData',
- 'schema' => [
- 'title' => '渠道业务名称',
- 'description' => '渠道业务名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '****基金',
- ],
+ 'schema' => ['title' => '渠道业务名称', 'description' => '渠道业务名称', 'type' => 'string', 'required' => false, 'example' => '****基金'],
],
[
'name' => 'LmShopName',
'in' => 'formData',
- 'schema' => [
- 'title' => '商家店铺名称',
- 'description' => '商家店铺名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '*****旗舰店',
- ],
+ 'schema' => ['title' => '商家店铺名称', 'description' => '商家店铺名称', 'type' => 'string', 'required' => false, 'example' => '*****旗舰店'],
],
[
'name' => 'LmShopId',
'in' => 'formData',
- 'schema' => [
- 'title' => '商家店铺ID',
- 'description' => '商家店铺ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1002****',
- ],
+ 'schema' => ['title' => '商家店铺ID', 'description' => '商家店铺ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1002****'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '每页显示的条数。默认值为20,最大值为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页显示的条数。默认值为20,最大值为20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '分页页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页页码,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -33947,52 +16224,17 @@
'description' => 'PopResponse<PageData<List<ItemBillDownloadUrlModel>>>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '3B55509D-20AC-5BD5-9A81-D6B7382E****',
- ],
- 'Code' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'The BillPeriod is mandatory for this action.',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '3B55509D-20AC-5BD5-9A81-D6B7382E****'],
+ 'Code' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'The BillPeriod is mandatory for this action.'],
'Model' => [
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'Total' => [
- 'description' => '账单总个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '685',
- ],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'Total' => ['description' => '账单总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '685'],
'Data' => [
'description' => '账单下载链接信息列表',
'type' => 'array',
@@ -34000,21 +16242,9 @@
'description' => '账单下载链接信息',
'type' => 'object',
'properties' => [
- 'BillId' => [
- 'description' => '账单ID',
- 'type' => 'string',
- 'example' => 'BILL-1000*****00139120150',
- ],
- 'FileDownloadUrl' => [
- 'description' => '文件下载链接',
- 'type' => 'string',
- 'example' => 'http://linkedmall-product.oss-cn-hangzhou.aliyuncs.com/LMALL2*****60001/2619709162****',
- ],
- 'Message' => [
- 'description' => '文件未生成时,返回该账单文件尚未生成',
- 'type' => 'string',
- 'example' => '该账单尚未生成'."\n",
- ],
+ 'BillId' => ['description' => '账单ID', 'type' => 'string', 'example' => 'BILL-1000*****00139120150'],
+ 'FileDownloadUrl' => ['description' => '文件下载链接', 'type' => 'string', 'example' => 'http://linkedmall-product.oss-cn-hangzhou.aliyuncs.com/LMALL2*****60001/2619709162****'],
+ 'Message' => ['description' => '文件未生成时,返回该账单文件尚未生成', 'type' => 'string', 'example' => '该账单尚未生成'."\n"],
],
],
],
@@ -34026,24 +16256,12 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"3B55509D-20AC-5BD5-9A81-D6B7382E****\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"The BillPeriod is mandatory for this action.\\",\\n \\"Model\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 685,\\n \\"Data\\": [\\n {\\n \\"BillId\\": \\"BILL-1000*****00139120150\\",\\n \\"FileDownloadUrl\\": \\"http://linkedmall-product.oss-cn-hangzhou.aliyuncs.com/LMALL2*****60001/2619709162****\\",\\n \\"Message\\": \\"该账单尚未生成\\\\n\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
@@ -34052,132 +16270,65 @@
'description' => '适用于B端管控,商家对账场景。 注意:下载链接具有时效性,默认是30分钟。',
],
'QueryChannelItemBillDownloadUrl' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BillId',
'in' => 'formData',
- 'schema' => [
- 'title' => '账单id',
- 'description' => '账单id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'BILL-10000007371****',
- ],
+ 'schema' => ['title' => '账单id', 'description' => '账单id', 'type' => 'string', 'required' => false, 'example' => 'BILL-10000007371****'],
],
[
'name' => 'BillPeriod',
'in' => 'formData',
- 'schema' => [
- 'title' => '账期',
- 'description' => '账期',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2022-11',
- ],
+ 'schema' => ['title' => '账期', 'description' => '账期', 'type' => 'string', 'required' => false, 'example' => '2022-11'],
],
[
'name' => 'BillStatus',
'in' => 'formData',
- 'schema' => [
- 'title' => '账单状态',
- 'description' => '账单状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'billGenerated',
- ],
+ 'schema' => ['title' => '账单状态', 'description' => '账单状态', 'type' => 'string', 'required' => false, 'example' => 'billGenerated'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '渠道租户ID',
- 'description' => '渠道租户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '12***29',
- ],
+ 'schema' => ['title' => '渠道租户ID', 'description' => '渠道租户ID', 'type' => 'string', 'required' => false, 'example' => '12***29'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '客户业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20******001',
- ],
+ 'schema' => ['description' => '客户业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20******001'],
],
[
'name' => 'BizName',
'in' => 'formData',
- 'schema' => [
- 'title' => '渠道业务名称',
- 'description' => '渠道业务名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '****基金',
- ],
+ 'schema' => ['title' => '渠道业务名称', 'description' => '渠道业务名称', 'type' => 'string', 'required' => false, 'example' => '****基金'],
],
[
'name' => 'LmShopName',
'in' => 'formData',
- 'schema' => [
- 'title' => '商家店铺名称',
- 'description' => '商家店铺名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '****旗舰店',
- ],
+ 'schema' => ['title' => '商家店铺名称', 'description' => '商家店铺名称', 'type' => 'string', 'required' => false, 'example' => '****旗舰店'],
],
[
'name' => 'LmShopId',
'in' => 'formData',
- 'schema' => [
- 'title' => '商家店铺ID',
- 'description' => '商家店铺ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1002****',
- ],
+ 'schema' => ['title' => '商家店铺ID', 'description' => '商家店铺ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1002****'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '每页多少条记录,最大为20条',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页多少条记录,最大为20条', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '当前页码,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -34187,52 +16338,19 @@
'description' => 'PopResponse<PageData<List<ItemBillDownloadUrlModel>>>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '5127621C-****-5DCA-9745-2936B31DFD12',
- ],
- 'Code' => [
- 'description' => '接口返回码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'The TenantId or BillPeriod is mandatory for this action.',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '5127621C-****-5DCA-9745-2936B31DFD12'],
+ 'Code' => ['description' => '接口返回码', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'The TenantId or BillPeriod is mandatory for this action.'],
'Model' => [
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'PageNumber' => [
- 'description' => '分页编号,从1开始,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '允许返回的最大结果数目。'."\n"
- .'取值范围:0~20。'."\n"
- .'默认值:20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'Total' => [
- 'description' => '账单总个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '685',
- ],
+ 'PageNumber' => ['description' => '分页编号,从1开始,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '允许返回的最大结果数目。'."\n"
+ .'取值范围:0~20。'."\n"
+ .'默认值:20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'Total' => ['description' => '账单总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '685'],
'Data' => [
'description' => '返回结构体。',
'type' => 'array',
@@ -34240,21 +16358,9 @@
'description' => '账单明细下载链接信息',
'type' => 'object',
'properties' => [
- 'BillId' => [
- 'description' => '账单ID',
- 'type' => 'string',
- 'example' => 'BILL-10000014****3410148',
- ],
- 'FileDownloadUrl' => [
- 'description' => '文件下载链接',
- 'type' => 'string',
- 'example' => 'http://linkedmall-product.oss-cn-hangzhou.aliyuncs.com/LMALL2*****60001/2619709162****',
- ],
- 'Message' => [
- 'description' => '文件生成错误信息',
- 'type' => 'string',
- 'example' => '该账单尚未生成',
- ],
+ 'BillId' => ['description' => '账单ID', 'type' => 'string', 'example' => 'BILL-10000014****3410148'],
+ 'FileDownloadUrl' => ['description' => '文件下载链接', 'type' => 'string', 'example' => 'http://linkedmall-product.oss-cn-hangzhou.aliyuncs.com/LMALL2*****60001/2619709162****'],
+ 'Message' => ['description' => '文件生成错误信息', 'type' => 'string', 'example' => '该账单尚未生成'],
],
],
],
@@ -34266,24 +16372,12 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.'],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.'],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records'],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"5127621C-****-5DCA-9745-2936B31DFD12\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"The TenantId or BillPeriod is mandatory for this action.\\",\\n \\"Model\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 685,\\n \\"Data\\": [\\n {\\n \\"BillId\\": \\"BILL-10000014****3410148\\",\\n \\"FileDownloadUrl\\": \\"http://linkedmall-product.oss-cn-hangzhou.aliyuncs.com/LMALL2*****60001/2619709162****\\",\\n \\"Message\\": \\"该账单尚未生成\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
@@ -34294,13 +16388,8 @@
],
'QuerySellerLicense' => [
'summary' => '卖家证照信息查询接口',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -34308,39 +16397,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'description' => '租户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '7521****8332932',
- ],
+ 'schema' => ['description' => '租户ID', 'type' => 'string', 'required' => false, 'example' => '7521****8332932'],
],
[
'name' => 'BizId',
'in' => 'formData',
- 'schema' => [
- 'description' => '业务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LMALL20***001',
- ],
+ 'schema' => ['description' => '业务ID', 'type' => 'string', 'required' => false, 'example' => 'LMALL20***001'],
],
[
'name' => 'SellerId',
'in' => 'formData',
- 'schema' => [
- 'description' => '卖家ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '220680193****',
- ],
+ 'schema' => ['description' => '卖家ID', 'type' => 'string', 'required' => false, 'example' => '220680193****'],
],
],
'responses' => [
@@ -34350,183 +16422,61 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '5F0A38D5-F981-529A-911E-1B6D55D***',
- ],
- 'Code' => [
- 'description' => 'SUCCESS'."\n"
- .'表示成功',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'description' => '失败时,返回具体原因',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '5F0A38D5-F981-529A-911E-1B6D55D***'],
+ 'Code' => ['description' => 'SUCCESS'."\n"
+ .'表示成功', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['description' => '失败时,返回具体原因', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'SellerId' => [
- 'description' => '卖家Id',
- 'type' => 'string',
- 'example' => '221410922****',
- ],
- 'LicenseUrl' => [
- 'description' => '证照链接地址',
- 'type' => 'string',
- 'example' => 'https://alibaba.com/seller/****/license',
- ],
+ 'SellerId' => ['description' => '卖家Id', 'type' => 'string', 'example' => '221410922****'],
+ 'LicenseUrl' => ['description' => '证照链接地址', 'type' => 'string', 'example' => 'https://alibaba.com/seller/****/license'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5F0A38D5-F981-529A-911E-1B6D55D***\\",\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SellerId\\": \\"221410922****\\",\\n \\"LicenseUrl\\": \\"https://alibaba.com/seller/****/license\\"\\n }\\n}","type":"json"}]',
'title' => '卖家证照查询',
'description' => '提供根据卖家ID查询卖家证照信息',
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'linkedmall.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
+ ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-edge-1', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-fujian', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-yushanfang', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'rus-west-1-pop', 'endpoint' => 'linkedmall.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'linkedmall.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'linkedmall.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/linkedmall/2021-06-16/api-docs.php b/data/zh_cn/linkedmall/2021-06-16/api-docs.php
deleted file mode 100644
index 19eb960..0000000
--- a/data/zh_cn/linkedmall/2021-06-16/api-docs.php
+++ /dev/null
@@ -1,266 +0,0 @@
-<?php return [
- 'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'linkedmall',
- 'version' => '2021-06-16',
- ],
- 'directories' => [
- [
- 'id' => 0,
- 'title' => '其它',
- 'type' => 'directory',
- 'children' => [
- 'CreateRole',
- ],
- ],
- ],
- 'components' => [
- 'schemas' => [],
- ],
- 'apis' => [
- 'CreateRole' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'RequestId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
- ],
- [
- 'name' => 'Code',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ExtendRoleIds',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'MutexRoleIds',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'TenantId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'RoleId' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- 'errorCodes' => [
- 500 => [
- [
- 'errorCode' => 'MissingParameter',
- 'errorMessage' => 'You must specify the parameter.',
- ],
- ],
- ],
- 'responseDemo' => '',
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'linkedmall.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- ],
-];
diff --git a/data/zh_cn/linkedmall/2022-05-31/api-docs.php b/data/zh_cn/linkedmall/2022-05-31/api-docs.php
index d9d8edd..ca99f06 100644
--- a/data/zh_cn/linkedmall/2022-05-31/api-docs.php
+++ b/data/zh_cn/linkedmall/2022-05-31/api-docs.php
@@ -1,84 +1,45 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'linkedmall',
- 'version' => '2022-05-31',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'linkedmall', 'version' => '2022-05-31'],
'directories' => [
[
- 'id' => 182178,
- 'title' => '分销商管理',
+ 'children' => ['QueryDistributionMall', 'ListDistributionMall', 'QueryDistributionBillDetail'],
'type' => 'directory',
- 'children' => [
- 'QueryDistributionMall',
- 'ListDistributionMall',
- 'QueryDistributionBillDetail',
- ],
+ 'title' => '分销商管理',
+ 'id' => 303519,
],
[
- 'id' => 182182,
- 'title' => '分销商品管理',
+ 'children' => ['ListDistributionItem', 'QueryItemDetail', 'QueryItemDetailWithDivision', 'QueryMallCategoryList', 'QueryItemGuideRetailPrice', 'ListDistributionItemWithoutCache'],
'type' => 'directory',
- 'children' => [
- 'ListDistributionItem',
- 'QueryItemDetail',
- 'QueryItemDetailWithDivision',
- 'QueryMallCategoryList',
- 'QueryItemGuideRetailPrice',
- 'ListDistributionItemWithoutCache',
- ],
+ 'title' => '分销商品管理',
+ 'id' => 303523,
],
[
- 'id' => 182163,
- 'title' => '分销交易',
+ 'children' => ['RenderDistributionOrder', 'ApplyCreateDistributionOrder', 'QueryDistributionTradeStatus', 'ConfirmDisburse4Distribution', 'InitApplyRefund4Distribution', 'ApplyRefund4Distribution', 'InitModifyRefund4Distribution', 'ModifyRefund4Distribution', 'CancelRefund4Distribution', 'SubmitReturnGoodLogistics4Distribution', 'QueryRefundApplicationDetail4Distribution', 'QueryLogistics4Distribution', 'QueryChildDivisionCodeById'],
'type' => 'directory',
- 'children' => [
- 'RenderDistributionOrder',
- 'ApplyCreateDistributionOrder',
- 'QueryDistributionTradeStatus',
- 'ConfirmDisburse4Distribution',
- 'InitApplyRefund4Distribution',
- 'ApplyRefund4Distribution',
- 'InitModifyRefund4Distribution',
- 'ModifyRefund4Distribution',
- 'CancelRefund4Distribution',
- 'SubmitReturnGoodLogistics4Distribution',
- 'QueryRefundApplicationDetail4Distribution',
- 'QueryLogistics4Distribution',
- 'QueryChildDivisionCodeById',
- ],
+ 'title' => '分销交易',
+ 'id' => 303505,
],
[
- 'id' => 182160,
- 'title' => '分销订单',
+ 'children' => ['QueryOrderDetail4Distribution', 'QueryOrderList4Distribution'],
'type' => 'directory',
- 'children' => [
- 'QueryOrderDetail4Distribution',
- 'QueryOrderList4Distribution',
- ],
+ 'title' => '分销订单',
+ 'id' => 303502,
],
[
- 'id' => 356079,
- 'title' => '其他',
+ 'children' => ['CancelDistributionTrade'],
'type' => 'directory',
- 'children' => [
- 'CancelDistributionTrade',
- ],
+ 'title' => '其他',
+ 'id' => 304013,
],
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'QueryDistributionMall' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'ApplyCreateDistributionOrder' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -88,197 +49,127 @@
'systemTags' => [],
'parameters' => [
[
- 'name' => 'DistributionMallId',
+ 'name' => 'DistributionOutTradeId',
'in' => 'formData',
+ 'schema' => ['title' => '外部交易号', 'description' => '如果传入了外部交易号,则会以其作为请求的幂等键,重复传入相同的外部交易号,会返回重复下单提示。外部交易号会在交易结果通知中透出。', 'type' => 'string', 'required' => false, 'example' => '789***3323'],
+ ],
+ [
+ 'name' => 'ItemInfoLists',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '分销商城id',
- 'description' => '分销商城id',
- 'type' => 'string',
+ 'title' => '商品信息',
+ 'description' => '商品信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '商品信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'DistributionMallId' => ['description' => '分销商城ID', 'type' => 'string', 'required' => false, 'example' => '465879694****794d70934'],
+ 'LmItemId' => ['description' => 'Lm侧商品Id', 'type' => 'string', 'required' => false, 'example' => '100***35-634***598'],
+ 'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'SkuId' => ['description' => 'SKU', 'type' => 'string', 'required' => false, 'example' => '456***9561'],
+ 'Price' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'description' => ''],
+ ],
+ 'required' => false,
+ ],
'required' => false,
],
],
[
+ 'name' => 'DeliveryAddress',
+ 'in' => 'formData',
+ 'schema' => ['title' => '收货地址', 'description' => '收货地址', 'type' => 'string', 'required' => false, 'example' => '{\\"divisionCode\\":\\"44***22\\",\\"addressDetail\\":\\"**小区\\",\\"mobile\\":\\"180***0041\\",\\"fullName\\":\\"小**\\",\\"townDivisionCode\\":\\"440***32\\"}'],
+ ],
+ [
+ 'name' => 'ExtInfo',
+ 'in' => 'formData',
+ 'schema' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
+ ],
+ [
+ 'name' => 'DistributorId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '6331***2131'],
+ ],
+ [
+ 'name' => 'DistributionSupplierId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '渠道供应商ID', 'description' => '渠道供应商ID', 'type' => 'string', 'required' => false, 'example' => '764***2245'],
+ ],
+ [
+ 'name' => 'BuyerId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '分销真实买家ID', 'description' => '分销真实买家ID', 'type' => 'string', 'required' => false, 'example' => 'u***01'],
+ ],
+ [
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户ID', 'type' => 'string', 'required' => false, 'example' => '12***29'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<QueryDistributionMallModel>',
- 'description' => 'PopResponse<QueryDistributionMallModel>',
+ 'title' => 'PopResponse<String>',
+ 'description' => 'PopResponse<String>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '539E5C68-D8B5-57EC-9D9B-58AFD9E0****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Model' => [
- 'title' => '请求结果数据',
- 'description' => '请求结果数据',
- 'type' => 'object',
- 'properties' => [
- 'DistributorId' => [
- 'title' => '分销商id',
- 'description' => '分销商id',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'DistributionMallId' => [
- 'title' => '分销商城id',
- 'description' => '分销商城id',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'DistributionMallName' => [
- 'title' => '分销商城名称',
- 'description' => '分销商城名称',
- 'type' => 'string',
- 'example' => '分销商城名称',
- ],
- 'ChannelSupplierId' => [
- 'title' => '渠道供应商id',
- 'description' => '渠道供应商id',
- 'type' => 'string',
- ],
- 'DistributionMallType' => [
- 'title' => '商城模式',
- 'description' => '商城模式(SaaS,API)',
- 'type' => 'string',
- 'example' => 'SaaS',
- ],
- 'StartDate' => [
- 'title' => '开始时间',
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2021-12-10 00:00:00',
- ],
- 'EndDate' => [
- 'title' => '结束时间',
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2022-10-31 23:59:59',
- ],
- 'Status' => [
- 'title' => '分销商城状态',
- 'description' => '分销商城状态',
- 'type' => 'string',
- 'example' => '""',
- ],
- ],
- ],
- 'BizViewData' => [
- 'description' => '渠道公共数据',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => 'B1756669-4A***F-A6E0E8605FEC'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '7152F15C-7298-55****76-2ED2C331'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Model' => ['title' => '请求结果数据', 'description' => '请求结果数据', 'type' => 'string', 'example' => 'T213***342'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"539E5C68-D8B5-57EC-9D9B-58AFD9E0****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 10,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"DistributorId\\": \\"1\\",\\n \\"DistributionMallId\\": \\"1\\",\\n \\"DistributionMallName\\": \\"分销商城名称\\",\\n \\"ChannelSupplierId\\": \\"\\",\\n \\"DistributionMallType\\": \\"SaaS\\",\\n \\"StartDate\\": \\"2021-12-10 00:00:00\\",\\n \\"EndDate\\": \\"2022-10-31 23:59:59\\",\\n \\"Status\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"BizViewData\\": {\\n \\"key\\": \\"\\"\\n }\\n}","type":"json"}]',
- 'title' => '分销商城查询',
- 'summary' => '分销商查询自己拥有的商城信息'."\n"
- .'。',
- 'description' => '分销商查询自己拥有的商城信息'."\n",
- ],
- 'ListDistributionMall' => [
- 'methods' => [
- 'post',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"LogsId\\": \\"B1756669-4A***F-A6E0E8605FEC\\",\\n \\"RequestId\\": \\"7152F15C-7298-55****76-2ED2C331\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 10,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": \\"T213***342\\"\\n}","errorExample":""},{"type":"xml","example":"<ApplyCreateDistributionOrderResponse>\\n <LogsId>B1756669-4A***F-A6E0E8605FEC</LogsId>\\n <RequestId>7152F15C-7298-55****76-2ED2C331</RequestId>\\n <SubCode>200</SubCode>\\n <SubMessage>SUCCESS</SubMessage>\\n <PageSize>20</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>10</TotalCount>\\n <Success>true</Success>\\n <Code>0000</Code>\\n <Message>SUCCESS</Message>\\n <Model>T213***342</Model>\\n</ApplyCreateDistributionOrderResponse>","errorExample":""}]',
+ 'title' => '提交分销采购订单创建请求',
+ 'summary' => '提交分销订单创建请求。',
+ 'description' => '异步接口,只是提交创建分销订单申请,需要接收分销订单创建结果通知或者主动调查询分销订单状态接口。',
+ 'changeSet' => [
+ ['createdAt' => '2023-06-06T15:08:22.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-11-29T10:09:02.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'https',
- 'http',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApplyCreateDistributionOrder'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:applyCreateDistributionOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ApplyRefund4Distribution' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -288,217 +179,97 @@
'systemTags' => [],
'parameters' => [
[
- 'name' => 'DistributionMallId',
+ 'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商城id',
- 'description' => '分销商城id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '7662***125'],
],
[
- 'name' => 'DistributionMallName',
+ 'name' => 'SubDistributionOrderId',
'in' => 'formData',
- 'schema' => [
- 'title' => '商城名称',
- 'description' => '商城名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '阿里云图书专营店',
- ],
+ 'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false, 'example' => 'DIS_343***445'],
],
[
- 'name' => 'DistributorId',
+ 'name' => 'BizClaimType',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'ChannelSupplierId',
+ 'name' => 'ApplyRefundFee',
'in' => 'formData',
- 'schema' => [
- 'title' => '渠道供应商id',
- 'description' => '渠道供应商id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '113428528',
- ],
+ 'schema' => ['title' => '申请退款金额', 'description' => '申请退款金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '790'],
],
[
- 'name' => 'StartDate',
+ 'name' => 'ApplyRefundCount',
'in' => 'formData',
- 'schema' => [
- 'title' => '开始时间',
- 'description' => '开始时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-24 15:29:38',
- ],
+ 'schema' => ['title' => '退货数量', 'description' => '退货数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'EndDate',
+ 'name' => 'ApplyReasonTextId',
'in' => 'formData',
- 'schema' => [
- 'title' => '结束时间',
- 'description' => '结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-26 10:29:13',
- ],
+ 'schema' => ['title' => '退款原因ID', 'description' => '退款原因ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '500325'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'LeaveMessage',
'in' => 'formData',
- 'schema' => [
- 'title' => '页码',
- 'description' => '页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '留言', 'description' => '留言', 'type' => 'string', 'required' => false, 'example' => '快递滞留 买家申请退款'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'LeavePictureLists',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '每页数量',
- 'description' => '每页数量',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'title' => '凭证',
+ 'description' => '凭证列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '退款凭证',
+ 'type' => 'object',
+ 'properties' => [
+ 'Picture' => ['description' => '图片地址', 'type' => 'string', 'required' => false, 'example' => 'https://aliyundoc.com'],
+ 'Desc' => ['description' => '图片描述', 'type' => 'string', 'required' => false, 'example' => '商品破损'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => '20',
],
],
[
+ 'name' => 'GoodsStatus',
+ 'in' => 'formData',
+ 'schema' => ['title' => '货物状态', 'description' => '货物状态', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '213**761'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<List<ListDistributionMallModel>>',
- 'description' => 'PopResponse<ListDistributionMallModel>',
+ 'title' => 'PopResponse<RefundApplicationData>',
+ 'description' => 'PopResponse<RefundApplicationData>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '539E5C68-D8B5-57EC-9****8AFD9E0'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'DistributionMallId' => [
- 'title' => '分销商城id',
- 'description' => '分销商城id',
- 'type' => 'string',
- ],
- 'DistributionMallName' => [
- 'title' => '分销商城名称',
- 'description' => '分销商城名称',
- 'type' => 'string',
- ],
- 'ChannelSupplierId' => [
- 'title' => '渠道供应商id',
- 'description' => '渠道供应商id',
- 'type' => 'string',
- ],
- 'DistributionMallType' => [
- 'title' => '商城模式',
- 'description' => '商城模式',
- 'type' => 'string',
- ],
- 'StartDate' => [
- 'title' => '开始时间',
- 'description' => '开始时间',
- 'type' => 'string',
- ],
- 'EndDate' => [
- 'title' => '结束时间',
- 'description' => '结束时间',
- 'type' => 'string',
- ],
- 'Status' => [
- 'title' => '分销商城状态',
- 'description' => '分销商城状态',
- 'type' => 'string',
- ],
- ],
+ 'type' => 'object',
+ 'properties' => [
+ 'SubDistributionOrderId' => ['title' => '当前发起逆向的子分销订单号', 'description' => '当前发起逆向的子分销订单号', 'type' => 'string', 'example' => 'DIS_343***445'],
+ 'DisputeStatus' => ['title' => '逆向的状态', 'description' => '逆向的状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DisputeType' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DisputeId' => ['title' => '纠纷id', 'description' => '纠纷id', 'type' => 'integer', 'format' => 'int64', 'example' => '213***343'],
],
],
],
@@ -507,238 +278,139 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"1718921E-C8D4-55E1-B8D4-114AE537C1B7\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DistributionMallId\\": \\"\\",\\n \\"DistributionMallName\\": \\"\\",\\n \\"ChannelSupplierId\\": \\"\\",\\n \\"DistributionMallType\\": \\"\\",\\n \\"StartDate\\": \\"\\",\\n \\"EndDate\\": \\"\\",\\n \\"Status\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '分销商城列表查询',
- 'summary' => '查询自己已经开通的商城列表。',
- 'description' => '查询自己已经开通的商城列表',
- ],
- 'QueryDistributionBillDetail' => [
- 'summary' => '分销账单明细数据查询接口。',
- 'methods' => [
- 'post',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"539E5C68-D8B5-57EC-9****8AFD9E0\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"DIS_343***445\\",\\n \\"DisputeStatus\\": 1,\\n \\"DisputeType\\": 1,\\n \\"DisputeId\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"<ApplyRefund4DistributionResponse>\\n <LogsId>1</LogsId>\\n <RequestId>539E5C68-D8B5-57EC-9****8AFD9E0</RequestId>\\n <SubCode>200</SubCode>\\n <SubMessage>SUCCESS</SubMessage>\\n <PageSize>1</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1</TotalCount>\\n <Success>true</Success>\\n <Code>0000</Code>\\n <Message>SUCCESS</Message>\\n <Model>\\n <SubDistributionOrderId>DIS_343***445</SubDistributionOrderId>\\n <DisputeStatus>1</DisputeStatus>\\n <DisputeType>1</DisputeType>\\n </Model>\\n</ApplyRefund4DistributionResponse>","errorExample":""}]',
+ 'title' => '分销采购订单退款申请',
+ 'summary' => '分销订单退款申请。',
+ 'description' => '基于 initApplyRefund4Distribution接口获取退款申请初始化信息,发起退款或者退货退款申请,该接口不支持退换货。 '."\n"
+ ."\n"
+ .'注意: '."\n"
+ .'1.如果退款申请被卖家拒绝(通过queryRefundApplicationDetail4Distribution接口查询到disputeStatus为6时),需要先取消退款申请(通过cancelRefund接口),再申请下一次 '."\n"
+ .'2.正常售中允许申请退款三次,售后允许申请退款两次,如遇超过次数后不能申请退款,需自行联系商家打开线上退款入口(售中和售后的界定边缘为:确认收货) '."\n"
+ .'逆向申请具体情况如下:payStatus即指订单状态orderStatus '."\n"
+ .'售中(未确认收货 payStatus 2) '."\n"
+ .'仅退款 物流状态 logisticsStatus 1未发货 货物状态 goodstatus 4未发货 '."\n"
+ .'仅退款 物流状态 logisticsStatus 2已发货 货物状态 goodstatus 1未收到货 '."\n"
+ .'退货退款 货物状态 goodstatus 2已收到货 '."\n"
+ .'售后(已确认收货 payStatus 6) '."\n"
+ .'仅退款 goodstatus 2已收到货 '."\n"
+ .'退货退款 goodstatus 2已收到货 '."\n"
+ .'上传退款凭证须知:由于部分商家内部小二网络环境较差,请务必使用阿里云的oss服务作为您的图片存储,详细请参考:https://help.aliyun.com/document_detail/194635.htm',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApplyRefund4Distribution'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:applyRefund4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CancelDistributionTrade' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
- 'name' => 'BillId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '账单ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000007371****',
- ],
- ],
- [
- 'name' => 'BillPeriod',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '账单期数',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2022-11',
- ],
- ],
- [
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '75547******9212928',
- ],
- ],
- [
- 'name' => 'DistributionMallId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '分销商城ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '122889******114694',
- ],
- ],
- [
- 'name' => 'DistributionMallName',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '商城名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '杭州****',
- ],
- ],
- [
- 'name' => 'BillStatus',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '账单状态',
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '每页数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'DistributionTradeId',
'in' => 'formData',
- 'schema' => [
- 'description' => '页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '分销交易号', 'description' => '分销交易号,可能包含多笔主单', 'type' => 'string', 'required' => false, 'example' => '15303515*******'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'description' => '租户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '18******263',
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => '响应数据',
+ 'title' => 'PopResponse<Void>',
+ 'description' => 'PopResponse<Void>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => 'Id of the request',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求流水号',
- 'type' => 'string',
- 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****',
- ],
- 'SubCode' => [
- 'title' => 'Id of the request',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => 'Id of the request',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Success' => [
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => 'Id of the request',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => 'Id of the request',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Model' => [
- 'description' => '账单数据',
- 'type' => 'object',
- 'properties' => [
- 'PageNumber' => [
- 'description' => '页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'Total' => [
- 'description' => '账单总个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '685',
- ],
- 'Data' => [
- 'description' => '账单明细链接地址列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '账单明细链接地址',
- 'type' => 'string',
- 'example' => 'oss://aliyun.com/***/***/billdetail.zip',
- ],
- ],
- ],
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '5127621C-56B0-5DCA-9745-2936B31D****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"A7BE4356-7F92-533E-A31B-2EBF2D67****\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 685,\\n \\"Data\\": [\\n \\"oss://aliyun.com/***/***/billdetail.zip\\"\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '账单明细查询',
- 'description' => '分销账单明细数据查询接口,返回明细数据下载链接地址。',
- ],
- 'ListDistributionItem' => [
- 'methods' => [
- 'post',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
+ ],
+ 404 => [
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"5127621C-56B0-5DCA-9745-2936B31D****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
+ 'summary' => '取消/关闭分销交易。',
+ 'description' => '分销域给上游通知成功走退款,分销域未通知交易成功前走取消',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:39.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'https',
- 'http',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelDistributionTrade'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:cancelDistributionTrade',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CancelRefund4Distribution' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -750,508 +422,50 @@
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'DistributionMallId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '分销商商城ID',
- 'description' => '分销商商城id',
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'LmItemId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => 'LM商品ID',
- 'description' => 'LM商品ID',
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ItemStatus',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '商品状态',
- 'description' => '商品状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageNumber',
+ 'name' => 'SubDistributionOrderId',
'in' => 'formData',
- 'schema' => [
- 'title' => '页码',
- 'description' => '页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'DisputeId',
'in' => 'formData',
- 'schema' => [
- 'title' => '每页数量',
- 'description' => '每页数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['title' => '纠纷ID', 'description' => '纠纷ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14244******33071'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户ID',
- 'description' => '租户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<List<DistributionItemModel>>',
- 'description' => 'PopResponse<List<ItemOfQueryDistributionItemGroup>>',
+ 'title' => 'PopResponse<RefundApplicationData>',
+ 'description' => 'PopResponse<RefundApplicationData>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '539E5C68-D8B5-57EC-9D9B-58AFD9E0****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '3B55509D-20AC-5BD5-9A81-D6B7382E****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回结果',
- 'type' => 'object',
- 'properties' => [
- 'DistributionMallId' => [
- 'title' => '分销商城ID',
- 'description' => '分销商城ID',
- 'type' => 'string',
- ],
- 'LmItemId' => [
- 'title' => 'LM商品ID',
- 'description' => 'LM商品ID',
- 'type' => 'string',
- ],
- 'ItemId' => [
- 'title' => '商品Id',
- 'description' => '商品Id',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ItemIdStr' => [
- 'title' => 'String类型商品Id,用于解决前端number类型超出长度限制',
- 'description' => 'String类型商品Id,用于解决前端number类型超出长度限制',
- 'type' => 'string',
- ],
- 'ItemName' => [
- 'title' => '商品名称',
- 'description' => '商品名称',
- 'type' => 'string',
- ],
- 'CategoryId' => [
- 'title' => '类目ID',
- 'description' => '类目ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'CategoryChain' => [
- 'title' => '类目链,父类目在前,子类目在后,叶子类目最后',
- 'description' => '类目链,父类目在前,子类目在后,叶子类目最后',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'CategoryId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'ParentId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Level' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Leaf' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- ],
- 'Category' => [
- 'title' => '商品在linkedmall平台上的分类:实物商品(entity),猫超卡券(aliComBenifit),电影票(movieTicket)',
- 'description' => '商品在linkedmall平台上的分类:实物商品(entity),猫超卡券(aliComBenifit),电影票(movieTicket)',
- 'type' => 'string',
- ],
- 'Status' => [
- 'title' => 'linkedmall商品状态',
- 'description' => 'linkedmall商品状态',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Quantity' => [
- 'title' => '商品剩余库存:MIN',
- 'description' => '商品剩余库存:MIN',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'SimpleQuantity' => [
- 'type' => 'string',
- ],
- 'HasQuantity' => [
- 'type' => 'boolean',
- ],
- 'TotalSoldQuantity' => [
- 'title' => '累计售出数量',
- 'description' => '累计售出数量',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'SimpleTotalSoldQuantity' => [
- 'type' => 'string',
- ],
- 'GmtCreate' => [
- 'title' => '创建时间',
- 'description' => '创建时间',
- 'type' => 'string',
- ],
- 'GmtModified' => [
- 'title' => '最后修改/生效时间',
- 'description' => '最后修改/生效时间',
- 'type' => 'string',
- ],
- 'PicUrl' => [
- 'title' => '图片url',
- 'description' => '图片url',
- 'type' => 'string',
- ],
- 'ItemDesc' => [
- 'title' => '商品描述信息',
- 'description' => '商品描述信息',
- 'type' => 'string',
- ],
- 'ReservedPrice' => [
- 'title' => 'IC划线价',
- 'description' => 'IC划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ReservedPriceScope' => [
- 'type' => 'string',
- ],
- 'PriceCentScope' => [
- 'type' => 'string',
- ],
- 'IsCanSell' => [
- 'title' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;',
- 'description' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;',
- 'type' => 'boolean',
- ],
- 'Tips' => [
- 'title' => '对商品不可售的原因描述',
- 'description' => '对商品不可售的原因描述',
- 'type' => 'string',
- ],
- 'ItemTitle' => [
- 'title' => '商品名称',
- 'description' => '商品名称',
- 'type' => 'string',
- ],
- 'MainPicUrl' => [
- 'title' => '主图',
- 'description' => '主图',
- 'type' => 'string',
- ],
- 'DescOption' => [
- 'title' => '商品详情介绍-图片介绍信息',
- 'description' => '商品详情介绍-图片介绍信息',
- 'type' => 'string',
- ],
- 'PropertiesJson' => [
- 'type' => 'string',
- ],
- 'ItemImages' => [
- 'title' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
- 'description' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'SkuList' => [
- 'title' => 'sku列表',
- 'description' => 'sku列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'LmItemId' => [
- 'type' => 'string',
- ],
- 'ItemId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SkuId' => [
- 'title' => '没有sku的商品,skuId填-1',
- 'description' => '没有sku的商品,skuId填-1',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Quantity' => [
- 'title' => '商品剩余库存:MIN',
- 'description' => '商品剩余库存:MIN',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SimpleQuantity' => [
- 'type' => 'string',
- ],
- 'HasQuantity' => [
- 'type' => 'boolean',
- ],
- 'Status' => [
- 'title' => '状态',
- 'description' => '状态',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PriceCent' => [
- 'title' => '当前售价(分)',
- 'description' => '当前售价(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ReservedPrice' => [
- 'title' => 'IC SKU 一口价',
- 'description' => 'IC SKU 一口价',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SkuDesc' => [
- 'title' => 'sku描述信息',
- 'description' => 'sku描述信息',
- 'type' => 'string',
- ],
- 'SkuPicUrl' => [
- 'title' => 'sku图片',
- 'description' => 'sku图片',
- 'type' => 'string',
- ],
- 'SkuTitle' => [
- 'title' => 'sku标题',
- 'description' => 'sku标题',
- 'type' => 'string',
- ],
- 'GmtModified' => [
- 'title' => '最后修改/生效时间',
- 'description' => '最后修改/生效时间',
- 'type' => 'string',
- ],
- 'LmAttributeModels' => [
- 'title' => 'sku的扩展属性list',
- 'description' => 'sku的扩展属性list',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'AttrId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'DataType' => [
- 'type' => 'string',
- ],
- 'Restriction' => [
- 'type' => 'string',
- ],
- 'Category' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ScopeList' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- 'CustomizedAttributeMap' => [
- 'title' => '客户自定义属性',
- 'description' => '客户自定义属性',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'CanSell' => [
- 'type' => 'boolean',
- ],
- 'Tips' => [
- 'type' => 'string',
- ],
- 'SkuPropertiesJson' => [
- 'type' => 'string',
- ],
- 'SkuProperties' => [
- 'title' => '设置基础库/系统扩展属性',
- 'description' => '设置基础库/系统扩展属性',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'ExtInfo' => [
- 'title' => '存放买断权益对接模式下:promotionId(权益ID),securityCode(安全码)',
- 'description' => '存放买断权益对接模式下:promotionId(权益ID),securityCode(安全码)',
- 'type' => 'string',
- ],
- 'lmSkuAttributeMap' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- 'LmAttributeModels' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'AttrId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'DataType' => [
- 'type' => 'string',
- ],
- 'Restriction' => [
- 'type' => 'string',
- ],
- 'Category' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ScopeList' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- 'LmAttributeMap' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- ],
+ 'type' => 'object',
+ 'properties' => [
+ 'SubDistributionOrderId' => ['title' => '当前发起逆向的子分销订单号', 'description' => '当前发起逆向的子分销订单号', 'type' => 'string'],
+ 'DisputeStatus' => ['title' => '逆向的状态', 'description' => '逆向的状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DisputeType' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DisputeId' => ['title' => '纠纷id', 'description' => '纠纷id', 'type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -1260,39 +474,44 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"539E5C68-D8B5-57EC-9D9B-58AFD9E0****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DistributionMallId\\": \\"\\",\\n \\"LmItemId\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"ItemIdStr\\": \\"\\",\\n \\"ItemName\\": \\"\\",\\n \\"CategoryId\\": 0,\\n \\"CategoryChain\\": [\\n {\\n \\"CategoryId\\": 0,\\n \\"Name\\": \\"\\",\\n \\"ParentId\\": 0,\\n \\"Level\\": 0,\\n \\"Leaf\\": true\\n }\\n ],\\n \\"Category\\": \\"\\",\\n \\"Status\\": 0,\\n \\"Quantity\\": 0,\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"TotalSoldQuantity\\": 0,\\n \\"SimpleTotalSoldQuantity\\": \\"\\",\\n \\"GmtCreate\\": \\"\\",\\n \\"GmtModified\\": \\"\\",\\n \\"PicUrl\\": \\"\\",\\n \\"ItemDesc\\": \\"\\",\\n \\"ReservedPrice\\": 0,\\n \\"ReservedPriceScope\\": \\"\\",\\n \\"PriceCentScope\\": \\"\\",\\n \\"IsCanSell\\": true,\\n \\"Tips\\": \\"\\",\\n \\"ItemTitle\\": \\"\\",\\n \\"MainPicUrl\\": \\"\\",\\n \\"DescOption\\": \\"\\",\\n \\"PropertiesJson\\": \\"\\",\\n \\"ItemImages\\": [\\n \\"\\"\\n ],\\n \\"SkuList\\": [\\n {\\n \\"LmItemId\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": 0,\\n \\"Quantity\\": 0,\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"Status\\": 0,\\n \\"PriceCent\\": 0,\\n \\"ReservedPrice\\": 0,\\n \\"SkuDesc\\": \\"\\",\\n \\"SkuPicUrl\\": \\"\\",\\n \\"SkuTitle\\": \\"\\",\\n \\"GmtModified\\": \\"\\",\\n \\"LmAttributeModels\\": [\\n {\\n \\"AttrId\\": 0,\\n \\"Value\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"DataType\\": \\"\\",\\n \\"Restriction\\": \\"\\",\\n \\"Category\\": 0,\\n \\"ScopeList\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"CanSell\\": true,\\n \\"Tips\\": \\"\\",\\n \\"SkuPropertiesJson\\": \\"\\",\\n \\"SkuProperties\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"ExtInfo\\": \\"\\",\\n \\"lmSkuAttributeMap\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ],\\n \\"LmAttributeModels\\": [\\n {\\n \\"AttrId\\": 0,\\n \\"Value\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"DataType\\": \\"\\",\\n \\"Restriction\\": \\"\\",\\n \\"Category\\": 0,\\n \\"ScopeList\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"LmAttributeMap\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询商品列表',
- 'summary' => '查询分销商商品库内的商品列表。',
- 'description' => '查询分销商商品库内的商品列表',
- ],
- 'QueryItemDetail' => [
- 'methods' => [
- 'post',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"3B55509D-20AC-5BD5-9A81-D6B7382E****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 12,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"DisputeStatus\\": 1,\\n \\"DisputeType\\": 1,\\n \\"DisputeId\\": 0\\n }\\n}","type":"json"}]',
+ 'title' => '取消分销采购订单退款申请',
+ 'summary' => '取消分销订单退款申请。',
+ 'description' => '如果已经提交了退款申请,商家还未响应时,客户想取消退款申请,可以通过此接口取消。 '."\n"
+ .'注意:disputeId字段需要通过查询订单逆向申请详情(queryRefundApplicationDetail4DistributionOrder)接口获取'."\n",
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelRefund4Distribution'],
+ ],
],
- 'schemes' => [
- 'https',
- 'http',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:cancelRefund4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ConfirmDisburse4Distribution' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -1304,1185 +523,165 @@
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'DistributionMallId',
+ 'name' => 'DistributionTradeId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商商城ID',
- 'description' => '分销商商城id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '分销交易号', 'description' => '分销交易号', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'LmItemId',
+ 'name' => 'MainDistributionOrderId',
'in' => 'formData',
- 'schema' => [
- 'title' => 'lm商品ID',
- 'description' => 'lm商品ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '主分销订单号', 'description' => '主分销订单号', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户ID',
- 'description' => '租户ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<DistributionItemDetailModel>',
- 'description' => 'PopResponse<ItemModel>',
+ 'title' => 'PopResponse<Void>',
+ 'description' => 'PopResponse<Void>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => 'E46C790E-B1F2-51EF-B6F8-B52404B5****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'BizItemGroup [LMALL20210830****] has not the item [65728655****].',
- ],
- 'Model' => [
- 'title' => '请求结果数据',
- 'description' => '请求结果数据',
- 'type' => 'object',
- 'properties' => [
- 'DistributionMallId' => [
- 'title' => '分销商城ID',
- 'description' => '分销商城ID',
- 'type' => 'string',
- ],
- 'SkuModels' => [
- 'title' => 'sku list',
- 'description' => 'sku list',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'DistributionMallId' => [
- 'title' => '分销商城ID',
- 'description' => '分销商城ID',
- 'type' => 'string',
- ],
- 'ExtJson' => [
- 'title' => '预留扩展字段,JSON-Map结构',
- 'description' => '预留扩展字段,JSON-Map结构',
- 'type' => 'string',
- ],
- 'LmItemId' => [
- 'title' => 'LM商品ID',
- 'description' => 'LM商品ID',
- 'type' => 'string',
- ],
- 'ItemId' => [
- 'title' => 'IC商品ID',
- 'description' => 'IC商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SkuId' => [
- 'title' => '没有sku的商品,skuId填-1',
- 'description' => '没有sku的商品,skuId填-1',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SkuPvs' => [
- 'title' => 'Sku对应的属性PV值组合,如 1627207:28320;5919063:6536025;12304035:75366283;122216431:27772',
- 'description' => 'Sku对应的属性PV值组合,如 1627207:28320;5919063:6536025;12304035:75366283;122216431:27772',
- 'type' => 'string',
- ],
- 'SkuPicUrl' => [
- 'title' => 'Sku图片',
- 'description' => 'Sku图片',
- 'type' => 'string',
- ],
- 'SkuTitle' => [
- 'title' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。',
- 'description' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。',
- 'type' => 'string',
- ],
- 'Quantity' => [
- 'title' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存',
- 'description' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'SimpleQuantity' => [
- 'title' => 'SKU模糊化库存',
- 'description' => 'SKU模糊化库存',
- 'type' => 'string',
- ],
- 'HasQuantity' => [
- 'title' => '是否有库存,返回的是库存状态,有或者没有',
- 'description' => '是否有库存,返回的是库存状态,有或者没有',
- 'type' => 'boolean',
- ],
- 'ReservedPrice' => [
- 'title' => 'IC SKU 一口价',
- 'description' => 'IC SKU 一口价',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'PriceCent' => [
- 'title' => '商品销售价格(分)',
- 'description' => '商品销售价格(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Status' => [
- 'title' => '商品规格对应的售卖状态',
- 'description' => '商品规格对应的售卖状态',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'CustomizedAttributeMap' => [
- 'title' => '客户自定义属性',
- 'description' => '客户自定义属性',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'LmSkuAttributeMap' => [
- 'title' => 'Linkedmall 平台SKU的属性',
- 'description' => 'Linkedmall 平台SKU的属性',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'CanNotBeSoldCode' => [
- 'title' => '不可售code 可售时为null',
- 'description' => '不可售code 可售时为null',
- 'type' => 'string',
- ],
- 'CanNotBeSoldMessage' => [
- 'title' => '不可售Massage 可售时为null',
- 'description' => '不可售Massage 可售时为null',
- 'type' => 'string',
- ],
- 'InvoiceType' => [
- 'title' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum',
- 'description' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- ],
- ],
- 'SkuPropertys' => [
- 'title' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
- 'description' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Text' => [
- 'type' => 'string',
- ],
- 'Values' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Text' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'LmItemId' => [
- 'title' => 'LM商品ID',
- 'description' => 'LM商品ID',
- 'type' => 'string',
- ],
- 'ItemId' => [
- 'title' => 'IC商品ID',
- 'description' => '商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65******0310',
- ],
- 'ItemTitle' => [
- 'title' => '商品名称',
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '大自然酸菜(美好生鲜)',
- ],
- 'MainPicUrl' => [
- 'title' => '主图',
- 'description' => '主图',
- 'type' => 'string',
- ],
- 'FirstPicUrl' => [
- 'title' => 'itemDO.commonItemImageList第一张',
- 'description' => '商品主图',
- 'type' => 'string',
- 'example' => 'http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/pic/edf8d848fa80b1cac055c94652f*****.jpg',
- ],
- 'ItemImages' => [
- 'title' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
- 'description' => '商品图片列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '商品图片列表',
- 'type' => 'string',
- 'example' => '<p><img src=\\"https://img.alicdn.com/imgextra/i2/2207523123246/O1CN01pyEmOb1ZqiNAnQPjQ_!!22075231******.png\\" align=\\"absmiddle\\"></p>',
- ],
- ],
- 'DescPath' => [
- 'title' => '商品详情介绍-图片介绍,URL',
- 'description' => '商品详情介绍-图片介绍,URL',
- 'type' => 'string',
- ],
- 'DescOption' => [
- 'title' => '商品详情介绍-图片介绍信息',
- 'description' => '商品详情描述',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'MinPrice' => [
- 'title' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)',
- 'description' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ReservedPrice' => [
- 'title' => '商品原价,可用于显示划线价',
- 'description' => '商品原价,可用于显示划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Quantity' => [
- 'title' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存',
- 'description' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'SimpleQuantity' => [
- 'title' => '模糊化库存',
- 'description' => '模糊化库存',
- 'type' => 'string',
- ],
- 'HasQuantity' => [
- 'title' => '是否有库存,返回的是库存状态,有或者没有',
- 'description' => '是否有库存,返回的是库存状态,有或者没有',
- 'type' => 'boolean',
- ],
- 'CategoryId' => [
- 'title' => '类目ID',
- 'description' => '最后⼀级的类⽬ID,之后会提供类⽬查询接⼝来获取商品所属类⽬信息',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50011982',
- ],
- 'CategoryIds' => [
- 'title' => '类目ID,父类目在前,子类目在后',
- 'description' => '类目ID,父类目在前,子类目在后',
- 'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- 'Prov' => [
- 'title' => '商品所在城市:如杭州',
- 'description' => '商品所在城市:如杭州',
- 'type' => 'string',
- ],
- 'City' => [
- 'title' => '商品所在省份:如浙江',
- 'description' => '商品所在省份:如浙江',
- 'type' => 'string',
- ],
- 'Properties' => [
- 'title' => '产品属性,产品参数,供Detail页面显示使用,从itemDO.itemProperties转换而来',
- 'description' => '产品参数',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- 'description' => '产品参数',
- 'example' => '{"key":"value"}',
- ],
- ],
- 'Features' => [
- 'title' => '产品特征,从itemDO.Features转换而来',
- 'description' => '产品特征,从itemDO.Features转换而来',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'IforestProps' => [
- 'title' => '宝石路属性,关键属性,供Detail页面显示使用,从itemDO.itemProperties转换而来',
- 'description' => '商品详情页商品名称下面的三列属性',
- 'type' => 'array',
- 'items' => [
- 'description' => '商品详情页商品名称下面的三列属性',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '商品详情页商品名称下面的三列属性',
- 'example' => '""',
- ],
- ],
- ],
- 'IsSellerPayPostfee' => [
- 'title' => '是否包邮',
- 'description' => '是否包邮',
- 'type' => 'boolean',
- ],
- 'IsCanSell' => [
- 'title' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;',
- 'description' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;',
- 'type' => 'boolean',
- ],
- 'LmItemCategory' => [
- 'title' => '商品在linkedmall平台的类型',
- 'description' => '商品类别',
- 'type' => 'string',
- 'example' => 'entity',
- ],
- 'CustomizedAttributeMap' => [
- 'title' => '客户自定义属性',
- 'description' => '客户自定义属性',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'LmItemAttributeMap' => [
- 'title' => 'Linkedmall 平台商品属性',
- 'description' => 'Linkedmall 平台商品属性',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'Current' => [
- 'title' => '当前时间',
- 'description' => '当前时间',
- 'type' => 'string',
- ],
- 'VirtualItemType' => [
- 'title' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)',
- 'description' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)',
- 'type' => 'string',
- ],
- 'ThirdPartyItemId' => [
- 'title' => '外部商品id (来自第三方的商品)',
- 'description' => '外部商品id (来自第三方的商品)',
- 'type' => 'string',
- ],
- 'ThirdPartyName' => [
- 'title' => '商品来源 (标记第三方商品的来源)',
- 'description' => '商品来源 (标记第三方商品的来源)',
- 'type' => 'string',
- ],
- 'VideoUrl' => [
- 'title' => '视频url',
- 'description' => '视频链接地址',
- 'type' => 'string',
- 'example' => 'http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/video/edf8d848fa80b1cac055c94652******.mp4',
- ],
- 'VideoPicUrl' => [
- 'title' => '视频封面url',
- 'description' => '视频头图链接地址',
- 'type' => 'string',
- 'example' => 'http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/pic/edf8d848fa80b1cac055c94652*****.jpg',
- ],
- 'CanNotBeSoldCode' => [
- 'title' => '不可售code 可售时为null',
- 'description' => '不可售code 可售时为null',
- 'type' => 'string',
- ],
- 'CanNotBeSoldMessage' => [
- 'title' => '不可售Massage 可售时为null',
- 'description' => '不可售Massage 可售时为null',
- 'type' => 'string',
- ],
- 'ItemTotalValue' => [
- 'title' => '总量库存值',
- 'description' => '总量库存值',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ItemTotalSimpleValue' => [
- 'type' => 'string',
- ],
- 'InvoiceType' => [
- 'title' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum',
- 'description' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- ],
- 'BizViewData' => [
- 'description' => '渠道公共数据',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"E46C790E-B1F2-51EF-B6F8-B52404B5****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"BizItemGroup [LMALL20210830****] has not the item [65728655****].\\",\\n \\"Model\\": {\\n \\"DistributionMallId\\": \\"\\",\\n \\"SkuModels\\": [\\n {\\n \\"DistributionMallId\\": \\"\\",\\n \\"ExtJson\\": \\"\\",\\n \\"LmItemId\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": 0,\\n \\"SkuPvs\\": \\"\\",\\n \\"SkuPicUrl\\": \\"\\",\\n \\"SkuTitle\\": \\"\\",\\n \\"Quantity\\": 0,\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"ReservedPrice\\": 0,\\n \\"PriceCent\\": 0,\\n \\"Status\\": 0,\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"LmSkuAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"CanNotBeSoldCode\\": \\"\\",\\n \\"CanNotBeSoldMessage\\": \\"\\",\\n \\"InvoiceType\\": 0\\n }\\n ],\\n \\"SkuPropertys\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"\\",\\n \\"Values\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"LmItemId\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"ItemTitle\\": \\"大自然酸菜(美好生鲜)\\",\\n \\"MainPicUrl\\": \\"\\",\\n \\"FirstPicUrl\\": \\"http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/pic/edf8d848fa80b1cac055c94652f*****.jpg\\",\\n \\"ItemImages\\": [\\n \\"<p><img src=\\\\\\\\\\\\\\"https://img.alicdn.com/imgextra/i2/2207523123246/O1CN01pyEmOb1ZqiNAnQPjQ_!!22075231******.png\\\\\\\\\\\\\\" align=\\\\\\\\\\\\\\"absmiddle\\\\\\\\\\\\\\"></p>\\"\\n ],\\n \\"DescPath\\": \\"\\",\\n \\"DescOption\\": \\"{}\\",\\n \\"MinPrice\\": 0,\\n \\"ReservedPrice\\": 0,\\n \\"Quantity\\": 0,\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"CategoryId\\": 50011982,\\n \\"CategoryIds\\": [\\n 0\\n ],\\n \\"Prov\\": \\"\\",\\n \\"City\\": \\"\\",\\n \\"Properties\\": {\\n \\"key\\": [\\n \\"\\"\\n ]\\n },\\n \\"Features\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"IforestProps\\": [\\n {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"IsSellerPayPostfee\\": true,\\n \\"IsCanSell\\": true,\\n \\"LmItemCategory\\": \\"entity\\",\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"LmItemAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"Current\\": \\"\\",\\n \\"VirtualItemType\\": \\"\\",\\n \\"ThirdPartyItemId\\": \\"\\",\\n \\"ThirdPartyName\\": \\"\\",\\n \\"VideoUrl\\": \\"http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/video/edf8d848fa80b1cac055c94652******.mp4\\",\\n \\"VideoPicUrl\\": \\"http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"CanNotBeSoldCode\\": \\"\\",\\n \\"CanNotBeSoldMessage\\": \\"\\",\\n \\"ItemTotalValue\\": 0,\\n \\"ItemTotalSimpleValue\\": \\"\\",\\n \\"InvoiceType\\": 0\\n },\\n \\"BizViewData\\": {\\n \\"key\\": \\"\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询商品详情接口',
- 'summary' => '查询单个商品的详细信息'."\n"
- .'。',
- 'description' => '查询单个商品的详细信息'."\n",
- ],
- 'QueryItemDetailWithDivision' => [
- 'summary' => '支持根据区域查询商品详细信息接口。',
- 'methods' => [
- 'post',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"1718921E-C8D4-55E1-B8D4-114AE537C1B7\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 12,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
+ 'title' => ' 分销采购订单确认收货',
+ 'summary' => '分销订单确认收货。',
+ 'description' => '只支持主分销订单确认收货',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'https',
- 'http',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfirmDisburse4Distribution'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:confirmDisburse4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'InitApplyRefund4Distribution' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
- 'name' => 'DistributorId',
+ 'name' => 'SubDistributionOrderId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商id',
- 'description' => '分销商id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '75547******9212928',
- ],
+ 'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'DistributionMallId',
+ 'name' => 'BizClaimType',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商商城id',
- 'description' => '分销商商城id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1339d4e******46ea9d126df506af8d2b',
- ],
+ 'schema' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'LmItemId',
+ 'name' => 'GoodsStatus',
'in' => 'formData',
- 'schema' => [
- 'title' => 'lm商品ID',
- 'description' => 'lm商品ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000035-61936646****',
- ],
+ 'schema' => ['title' => '货物状态', 'description' => '货物状态', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'DivisionCode',
+ 'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '区域码',
- 'description' => '区域码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '410503006',
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '18******263',
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<DistributionItemDetailModel>',
- 'description' => 'PopResponse<DistributionItemDetailModel>',
+ 'title' => 'PopResponse<InitApplyRefundData>',
+ 'description' => 'PopResponse<InitApplyRefundData>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => 'BA157565-3358-5D80-9330-************',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '201',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'Success',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'DistributionMallId' => [
- 'title' => '分销商城ID',
- 'description' => '分销商城ID',
- 'type' => 'string',
- 'example' => '122889******114694',
- ],
- 'SkuModels' => [
- 'title' => 'sku list',
- 'description' => 'sku list',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'DistributionMallId' => [
- 'title' => '分销商城ID',
- 'description' => '分销商城ID',
- 'type' => 'string',
- 'example' => '401e6c8****39b05797ac841907ca',
- ],
- 'ExtJson' => [
- 'title' => '预留扩展字段,JSON-Map结构',
- 'description' => '预留扩展字段,JSON-Map结构',
- 'type' => 'string',
- 'example' => '{\\"outShopId\\":\\"3163****7\\"}',
- ],
- 'LmItemId' => [
- 'title' => 'LM商品ID',
- 'description' => 'LM商品ID',
- 'type' => 'string',
- 'example' => '10026053-67222490****',
- ],
- 'ItemId' => [
- 'title' => 'IC商品ID',
- 'description' => 'IC商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '56090358****',
- ],
- 'SkuId' => [
- 'title' => 'skuId(如果一个品没有sku,则构造一个id为-1的sku。数量库里0和-1都是表示没有SKU的商品,DB 中统一使用-1),如 3428785463017',
- 'description' => 'skuId(如果一个品没有sku,则构造一个id为-1的sku。数量库里0和-1都是表示没有SKU的商品,DB 中统一使用-1),如 3428785463017',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '-1',
- ],
- 'SkuPvs' => [
- 'title' => 'Sku对应的属性PV值组合,如 1627207:28320;5919063:6536025;12304035:75366283;122216431:27772',
- 'description' => 'Sku对应的属性PV值组合,如 1627207:28320;5919063:6536025;12304035:75366283;122216431:27772',
- 'type' => 'string',
- 'example' => '1627207:28320;5919063:6536025;12304035:75366283;122216431:27772',
- ],
- 'SkuPicUrl' => [
- 'title' => 'Sku图片',
- 'description' => 'Sku图片',
- 'type' => 'string',
- 'example' => 'img/12344***.jpg',
- ],
- 'SkuTitle' => [
- 'title' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。',
- 'description' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。',
- 'type' => 'string',
- 'example' => '*****罐头',
- ],
- 'Quantity' => [
- 'title' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存',
- 'description' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '-1',
- ],
- 'SimpleQuantity' => [
- 'title' => 'SKU模糊化库存',
- 'description' => 'SKU模糊化库存',
- 'type' => 'string',
- 'example' => '有货、无货、库存紧张',
- ],
- 'HasQuantity' => [
- 'title' => '是否有库存,返回的是库存状态,有或者没有',
- 'description' => '是否有库存,返回的是库存状态,有或者没有',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ReservePrice' => [
- 'title' => 'IC SKU 一口价',
- 'description' => 'IC SKU 一口价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '788',
- ],
- 'PriceCent' => [
- 'title' => '商品销售价格(分)',
- 'description' => '商品销售价格(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3990',
- ],
- 'SupplierPrice' => [
- 'title' => '供货价(分)',
- 'description' => '供货价(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9900',
- ],
- 'Status' => [
- 'title' => '商品规格对应的售卖状态',
- 'description' => '商品规格对应的售卖状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CustomizedAttributeMap' => [
- 'title' => '客户自定义属性',
- 'description' => '客户自定义属性',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '自定义属性对',
- 'example' => '颜色分类~~白色'."\n"
- .'款式~~圆头',
- ],
- ],
- 'LmSkuAttributeMap' => [
- 'title' => 'Linkedmall 平台SKU的属性',
- 'description' => 'Linkedmall 平台SKU的属性',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => 'Linkedmall自定义属性对',
- 'example' => '颜色分类~~白色'."\n"
- .'款式~~圆头',
- ],
- ],
- 'CanNotBeSoldCode' => [
- 'title' => '不可售code 可售时为null',
- 'description' => '不可售code 可售时为null',
- 'type' => 'string',
- 'example' => 'NULL',
- ],
- 'CanNotBeSoldMassage' => [
- 'title' => '不可售Massage 可售时为null',
- 'description' => '不可售Massage 可售时为null',
- 'type' => 'string',
- 'example' => 'NULL',
- ],
- 'InvoiceType' => [
- 'title' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum',
- 'description' => '发票类型',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- ],
- ],
- 'SkuPropertys' => [
- 'title' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
- 'description' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => 'sku属性id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '44042249****',
- ],
- 'Text' => [
- 'description' => '属性名',
- 'type' => 'string',
- 'example' => '162720***',
- ],
- 'Values' => [
- 'description' => '属性值集合',
- 'type' => 'array',
- 'items' => [
- 'description' => '属性值对',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '属性值id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '44042249****',
- ],
- 'Text' => [
- 'description' => '属性值',
- 'type' => 'string',
- 'example' => '颜色~~白色',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'LmItemId' => [
- 'title' => 'LM商品ID',
- 'description' => 'LM商品ID',
- 'type' => 'string',
- 'example' => '10000**-630292***',
- ],
- 'ItemId' => [
- 'title' => 'IC商品ID',
- 'description' => 'IC商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65******0310',
- ],
- 'ItemTitle' => [
- 'title' => '商品名称',
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '夏季***百搭小白鞋',
- ],
- 'MainPicUrl' => [
- 'title' => '主图',
- 'description' => '主图',
- 'type' => 'string',
- 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n",
- ],
- 'FirstPicUrl' => [
- 'title' => 'itemDO.commonItemImageList第一张',
- 'description' => 'itemDO.commonItemImageList第一张',
- 'type' => 'string',
- 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n",
- ],
- 'ItemImages' => [
- 'title' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
- 'description' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n",
- ],
- ],
- 'DescPath' => [
- 'title' => '商品详情介绍-图片介绍,URL',
- 'description' => '商品详情介绍-图片介绍,URL',
- 'type' => 'string',
- 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg',
- ],
- 'DescOption' => [
- 'title' => '商品详情介绍-图片介绍信息',
- 'description' => '商品详情介绍-图片介绍信息',
- 'type' => 'string',
- 'example' => '<img>pic/edf8d848fa80b1cac055c94652*****.jpg</img>',
- ],
- 'MinPrice' => [
- 'title' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)',
- 'description' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3900',
- ],
- 'ReservePrice' => [
- 'title' => '商品原价,可用于显示划线价',
- 'description' => '商品原价,可用于显示划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3900',
- ],
- 'Quantity' => [
- 'title' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存',
- 'description' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '-1',
- ],
- 'SimpleQuantity' => [
- 'title' => '模糊化库存',
- 'description' => '模糊化库存',
- 'type' => 'string',
- 'example' => '有货'."\n"
- .'无货'."\n"
- .'库存紧张',
- ],
- 'HasQuantity' => [
- 'title' => '是否有库存,返回的是库存状态,有或者没有',
- 'description' => '是否有库存,返回的是库存状态,有或者没有',
- 'type' => 'boolean',
- ],
- 'CategoryId' => [
- 'title' => '类目ID',
- 'description' => '类目ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50011****',
- ],
- 'CategoryIds' => [
- 'title' => '类目ID,父类目在前,子类目在后',
- 'description' => '类目ID,父类目在前,子类目在后',
- 'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '205879***',
- ],
- ],
- 'Prov' => [
- 'title' => '商品所在城市:如杭州',
- 'description' => '商品所在城市:如杭州',
- 'type' => 'string',
- 'example' => '浙江',
- ],
- 'City' => [
- 'title' => '商品所在省份:如浙江',
- 'description' => '商品所在省份:如浙江',
- 'type' => 'string',
- 'example' => '杭州',
- ],
- 'Properties' => [
- 'title' => '产品属性,产品参数,供Detail页面显示使用,从itemDO.itemProperties转换而来',
- 'description' => '产品属性,产品参数,供Detail页面显示使用',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'example' => '颜色分类~~白色'."\n"
- .'款式~~圆头',
- 'description' => '属性值',
- ],
- 'description' => '属性集合',
- ],
- ],
- 'Features' => [
- 'title' => '产品特征,从itemDO.Features转换而来',
- 'description' => '产品特征',
+ 'SubDistributionOrderId' => ['title' => '子分销订单号', 'description' => '子分销订单号', 'type' => 'string'],
+ 'BizClaimType' => ['title' => '支持的订单退货方式', 'description' => '支持的订单退货方式', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'MainOrderRefund' => ['title' => '是否是整单退', 'description' => '是否是整单退', 'type' => 'boolean', 'example' => 'false'],
+ 'MaxRefundFeeData' => [
+ 'description' => '本单退款金额区间',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '[{\'Enable\': False, \'Name\': \'CLEANUP_SHADOW_IF_FAILED\'}, {\'Enable\': False, \'Name\': \'CLEANUP_RESTORE_SERVER_IF_FAILED\'}, {\'Enable\': True, \'Name\': \'AUTO_ENLARGE_ADD_DISK\'}]',
- 'description' => '产品特征',
+ 'properties' => [
+ 'MaxRefundFee' => ['title' => '本单最大可退款金额', 'description' => '本单最大可退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'MinRefundFee' => ['title' => '本单最小可退款金额', 'description' => '本单最小可退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
- 'IforestProps' => [
- 'title' => '宝石路属性,关键属性,供Detail页面显示使用,从itemDO.itemProperties转换而来',
- 'description' => '宝石路属性,关键属性,供Detail页面显示使用',
+ 'RefundReasonList' => [
+ 'description' => '退款信息列表',
'type' => 'array',
'items' => [
- 'description' => '属性对象',
+ 'description' => '退款信息',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '属性值',
- 'example' => '颜色分类~~白色'."\n"
- .'款式~~圆头',
+ 'properties' => [
+ 'ReasonTextId' => ['description' => '退款信息id', 'type' => 'string', 'example' => '12323'],
+ 'ProofRequired' => ['title' => '是否要求上传凭证', 'description' => '是否要求上传凭证', 'type' => 'boolean', 'example' => 'true'],
+ 'ReasonTips' => ['description' => '退款信息', 'type' => 'string', 'example' => '拍多不想要'],
+ 'RefundDescRequired' => ['title' => '是否要求留言', 'description' => '是否要求留言', 'type' => 'boolean', 'example' => 'true'],
],
],
],
- 'SellerPayPostfee' => [
- 'title' => '是否包邮',
- 'description' => '是否包邮',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CanSell' => [
- 'title' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;',
- 'description' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'LmItemCategory' => [
- 'title' => '商品在linkedmall平台的类型',
- 'description' => '商品在linkedmall平台的类型',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'aliComBenifit' => '虚拟商品',
- 'entity' => '实物商品',
- ],
- 'example' => 'entity',
- ],
- 'CustomizedAttributeMap' => [
- 'title' => '客户自定义属性',
- 'description' => '客户自定义属性',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'LmItemAttributeMap' => [
- 'title' => 'Linkedmall 平台商品属性',
- 'description' => 'Linkedmall 平台商品属性',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'Current' => [
- 'title' => '当前时间',
- 'description' => '当前时间',
- 'type' => 'string',
- 'example' => '2020-01-01 00:00:00',
- ],
- 'VirtualItemType' => [
- 'title' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)',
- 'description' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'fuelCard' => '油卡',
- 'cardRoll' => '卡券',
- 'rechageableCard' => '充值卡',
- ],
- 'example' => 'cardRoll',
- ],
- 'UserType' => [
- 'title' => '卖家类型:可以用于区分商品类型,null或是0-集市卖家,1-天猫卖家,2-1688卖家,4-后端商家,8-1688云电商卖家',
- 'description' => '卖家类型:可以用于区分商品类型,null或是0-集市卖家,1-天猫卖家,2-1688卖家,4-后端商家,8-1688云电商卖家',
- 'type' => 'integer',
- 'format' => 'int32',
- 'enumValueTitles' => [
- '集市卖家',
- '天猫卖家',
- '1688卖家',
- 4 => '后端商家',
- 6 => '1688云电商卖家',
- ],
- 'example' => '1',
- ],
- 'SecuredTransactions' => [
- 'title' => '是否开通担保交易 0 未开通,1 已开通,2 未设置, 3 审核中, 4 开通失败',
- 'description' => '是否开通担保交易 0 未开通,1 已开通,2 未设置, 3 审核中, 4 开通失败',
- 'type' => 'integer',
- 'format' => 'int32',
- 'enumValueTitles' => [
- '未开通',
- '已开通',
- '未设置',
- '审核中',
- '开通失败',
- ],
- 'example' => '1',
- ],
- 'ThirdPartyItemId' => [
- 'title' => '外部商品id (来自第三方的商品)',
- 'description' => '外部商品id (来自第三方的商品)',
- 'type' => 'string',
- 'example' => '44042249****'."\n",
- ],
- 'ThirdPartyName' => [
- 'title' => '商品来源 (标记第三方商品的来源)',
- 'description' => '商品来源 (标记第三方商品的来源)',
- 'type' => 'string',
- 'example' => '三方商品来源',
- ],
- 'VideoUrl' => [
- 'title' => '视频url',
- 'description' => '视频url',
- 'type' => 'string',
- 'example' => 'video/edf8d848fa80b1cac055c94652******.mp4',
- ],
- 'VideoPicUrl' => [
- 'title' => '视频封面url',
- 'description' => '视频封面url',
- 'type' => 'string',
- 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg',
- ],
- 'CanNotBeSoldCode' => [
- 'title' => '不可售code 可售时为null',
- 'description' => '不可售code 可售时为null',
- 'type' => 'string',
- 'example' => 'NULL',
- ],
- 'CanNotBeSoldMassage' => [
- 'title' => '不可售Massage 可售时为null',
- 'description' => '不可售Massage 可售时为null',
- 'type' => 'string',
- 'example' => 'NULL',
- ],
- 'ItemTotalValue' => [
- 'title' => '总量库存值',
- 'description' => '总量库存值',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '-1',
- ],
- 'ItemTotalSimpleValue' => [
- 'description' => '商品库存',
- 'type' => 'string',
- 'example' => '有货',
- ],
- 'InvoiceType' => [
- 'title' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum',
- 'description' => '发票类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'enumValueTitles' => [
- '不提供发票',
- '增值税专用发票',
- '增值税普通发票',
- ],
- 'example' => '1',
- ],
],
],
],
@@ -2491,38 +690,53 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"BA157565-3358-5D80-9330-************\\",\\n \\"SubCode\\": \\"201\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"Success\\",\\n \\"Model\\": {\\n \\"DistributionMallId\\": \\"122889******114694\\",\\n \\"SkuModels\\": [\\n {\\n \\"DistributionMallId\\": \\"401e6c8****39b05797ac841907ca\\",\\n \\"ExtJson\\": \\"{\\\\\\\\\\\\\\"outShopId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"3163****7\\\\\\\\\\\\\\"}\\",\\n \\"LmItemId\\": \\"10026053-67222490****\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": -1,\\n \\"SkuPvs\\": \\"1627207:28320;5919063:6536025;12304035:75366283;122216431:27772\\",\\n \\"SkuPicUrl\\": \\"img/12344***.jpg\\",\\n \\"SkuTitle\\": \\"*****罐头\\",\\n \\"Quantity\\": -1,\\n \\"SimpleQuantity\\": \\"有货、无货、库存紧张\\",\\n \\"HasQuantity\\": true,\\n \\"ReservePrice\\": 788,\\n \\"PriceCent\\": 3990,\\n \\"SupplierPrice\\": 9900,\\n \\"Status\\": 1,\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"颜色分类~~白色\\\\n款式~~圆头\\"\\n },\\n \\"LmSkuAttributeMap\\": {\\n \\"key\\": \\"颜色分类~~白色\\\\n款式~~圆头\\"\\n },\\n \\"CanNotBeSoldCode\\": \\"NULL\\",\\n \\"CanNotBeSoldMassage\\": \\"NULL\\",\\n \\"InvoiceType\\": 0\\n }\\n ],\\n \\"SkuPropertys\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"162720***\\",\\n \\"Values\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"颜色~~白色\\"\\n }\\n ]\\n }\\n ],\\n \\"LmItemId\\": \\"10000**-630292***\\",\\n \\"ItemId\\": 0,\\n \\"ItemTitle\\": \\"夏季***百搭小白鞋\\",\\n \\"MainPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\",\\n \\"FirstPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\",\\n \\"ItemImages\\": [\\n \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\"\\n ],\\n \\"DescPath\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"DescOption\\": \\"<img>pic/edf8d848fa80b1cac055c94652*****.jpg</img>\\",\\n \\"MinPrice\\": 3900,\\n \\"ReservePrice\\": 3900,\\n \\"Quantity\\": -1,\\n \\"SimpleQuantity\\": \\"有货\\\\n无货\\\\n库存紧张\\",\\n \\"HasQuantity\\": true,\\n \\"CategoryId\\": 0,\\n \\"CategoryIds\\": [\\n 0\\n ],\\n \\"Prov\\": \\"浙江\\",\\n \\"City\\": \\"杭州\\",\\n \\"Properties\\": {\\n \\"key\\": [\\n \\"颜色分类~~白色\\\\n款式~~圆头\\"\\n ]\\n },\\n \\"Features\\": {\\n \\"key\\": \\"[{\'Enable\': False, \'Name\': \'CLEANUP_SHADOW_IF_FAILED\'}, {\'Enable\': False, \'Name\': \'CLEANUP_RESTORE_SERVER_IF_FAILED\'}, {\'Enable\': True, \'Name\': \'AUTO_ENLARGE_ADD_DISK\'}]\\"\\n },\\n \\"IforestProps\\": [\\n {\\n \\"key\\": \\"颜色分类~~白色\\\\n款式~~圆头\\"\\n }\\n ],\\n \\"SellerPayPostfee\\": true,\\n \\"CanSell\\": true,\\n \\"LmItemCategory\\": \\"entity\\",\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"LmItemAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"Current\\": \\"2020-01-01 00:00:00\\",\\n \\"VirtualItemType\\": \\"cardRoll\\",\\n \\"UserType\\": 1,\\n \\"SecuredTransactions\\": 1,\\n \\"ThirdPartyItemId\\": \\"44042249****\\\\n\\",\\n \\"ThirdPartyName\\": \\"三方商品来源\\",\\n \\"VideoUrl\\": \\"video/edf8d848fa80b1cac055c94652******.mp4\\",\\n \\"VideoPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"CanNotBeSoldCode\\": \\"NULL\\",\\n \\"CanNotBeSoldMassage\\": \\"NULL\\",\\n \\"ItemTotalValue\\": -1,\\n \\"ItemTotalSimpleValue\\": \\"有货\\",\\n \\"InvoiceType\\": 1\\n }\\n}","type":"json"}]',
- 'title' => '查询商品详情接口(支持区域库存)',
- 'description' => '本接口用在查询商品在某区域下是否可售、是否有库存的场景。',
- ],
- 'QueryMallCategoryList' => [
- 'methods' => [
- 'post',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"A7BE4356-7F92-533E-A31B-2EBF2D67****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"BizClaimType\\": 1,\\n \\"MainOrderRefund\\": false,\\n \\"MaxRefundFeeData\\": {\\n \\"MaxRefundFee\\": 100,\\n \\"MinRefundFee\\": 10\\n },\\n \\"RefundReasonList\\": [\\n {\\n \\"ReasonTextId\\": \\"12323\\",\\n \\"ProofRequired\\": true,\\n \\"ReasonTips\\": \\"拍多不想要\\",\\n \\"RefundDescRequired\\": true\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '分销采购订单退款申请初始化',
+ 'summary' => '初始化分销订单退款申请。',
+ 'description' => '注意:订单“未发货”只能申请“仅退款(BizClaimType=1)”,订单“已发货”只能申请货物状态为“未收到货(GoodsStatus=1)”或“已收到货(GoodsStatus=2)”'."\n"
+ ."\n"
+ .'逆向申请具体情况如下: '."\n"
+ .'payStatus即指订单状态orderStatus '."\n"
+ .'售中(未确认收货 payStatus 2) '."\n"
+ .'仅退款 物流状态 logisticsStatus 1未发货 货物状态 goodstatus 4未发货 '."\n"
+ .'仅退款 物流状态 logisticsStatus 2已发货 货物状态 goodstatus 1未收到货 '."\n"
+ .'退货退款 货物状态 goodstatus 2已收到货 '."\n"
+ .'售后(已确认收货 payStatus 6) '."\n"
+ .'仅退款 goodstatus 2已收到货 '."\n"
+ .'退货退款 goodstatus 2已收到货',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'https',
- 'http',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InitApplyRefund4Distribution'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:initApplyRefund4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'InitModifyRefund4Distribution' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -2534,131 +748,74 @@
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商id',
- 'description' => '分销商id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '75547******9212928',
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'DistributionMallId',
+ 'name' => 'SubDistributionOrderId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商商城id',
- 'description' => '分销商商城id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '122889******114694',
- ],
+ 'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'CategoryId',
+ 'name' => 'BizClaimType',
'in' => 'formData',
- 'schema' => [
- 'title' => '类目ID',
- 'description' => '类目ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '5001****',
- ],
+ 'schema' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'DisputeId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '纠纷ID', 'description' => '纠纷ID,通过查询订单逆向申请详情接口获取', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14244******33071'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '18******263',
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<List<DistributionCategoryModel>>',
- 'description' => '响应数据',
+ 'title' => 'PopResponse<InitApplyRefundData>',
+ 'description' => 'PopResponse<InitApplyRefundData>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号',
- 'type' => 'string',
- 'example' => '7152F15C-7298-5531-9A76-2ED2C331****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
- 'description' => '商品类目信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '商品类目信息',
- 'type' => 'object',
- 'properties' => [
- 'CategoryId' => [
- 'title' => '后台类目ID',
- 'description' => '后台类目ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5001****',
- ],
- 'Name' => [
- 'title' => '类目名称',
- 'description' => '类目名称',
- 'type' => 'string',
- 'example' => '***电子产品',
- ],
- 'ParentId' => [
- 'title' => '父类目ID',
- 'description' => '父类目ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1041577**',
+ 'description' => '请求结果数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'SubDistributionOrderId' => ['title' => '子分销订单号', 'description' => '子分销订单号', 'type' => 'string'],
+ 'BizClaimType' => ['title' => '支持的订单退货方式', 'description' => '支持的订单退货方式', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'MainOrderRefund' => ['title' => '是否是整单退', 'description' => '是否是整单退', 'type' => 'boolean', 'example' => 'false'],
+ 'MaxRefundFeeData' => [
+ 'description' => '本单可退金额数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'MaxRefundFee' => ['title' => '本单最大可退款金额', 'description' => '本单最大可退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'MinRefundFee' => ['title' => '本单最小可退款金额', 'description' => '本单最小可退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
],
- 'Leaf' => [
- 'title' => '是否是叶子类目',
- 'description' => '是否是叶子类目',
- 'type' => 'boolean',
- 'example' => 'true',
+ ],
+ 'RefundReasonList' => [
+ 'description' => '退款信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '退款信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReasonTextId' => ['description' => '退款信息id', 'type' => 'string', 'example' => '12323'],
+ 'ProofRequired' => ['title' => '是否要求上传凭证', 'description' => '是否要求上传凭证', 'type' => 'boolean', 'example' => 'true'],
+ 'ReasonTips' => ['description' => '退款信息', 'type' => 'string', 'example' => '拍多不想要'],
+ 'RefundDescRequired' => ['title' => '是否要求留言', 'description' => '是否要求留言', 'type' => 'boolean', 'example' => 'true'],
+ ],
],
],
],
@@ -2669,280 +826,264 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"7152F15C-7298-5531-9A76-2ED2C331****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"CategoryId\\": 0,\\n \\"Name\\": \\"***电子产品\\",\\n \\"ParentId\\": 0,\\n \\"Leaf\\": true\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询商品类目信息',
- 'summary' => '商品类目查询接口。',
- 'description' => '该接口使用在查询分销商城商品类目信息场景。',
- 'requestParamsDescription' => '当传入类目ID为0时,表示查询一级类目;当传入类目ID非0时,返回当前类目的下级类目列表。',
- ],
- 'QueryItemGuideRetailPrice' => [
- 'methods' => [
- 'post',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"BizClaimType\\": 1,\\n \\"MainOrderRefund\\": false,\\n \\"MaxRefundFeeData\\": {\\n \\"MaxRefundFee\\": 10,\\n \\"MinRefundFee\\": 100\\n },\\n \\"RefundReasonList\\": [\\n {\\n \\"ReasonTextId\\": \\"12323\\",\\n \\"ProofRequired\\": true,\\n \\"ReasonTips\\": \\"拍多不想要\\",\\n \\"RefundDescRequired\\": true\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '分销采购订单退款申请修改初始化',
+ 'summary' => '分销订单退款申请修改初始化。',
+ 'description' => '获取订单相关的逆向修改数据,必须在发起退款申请之后调用。 '."\n"
+ ."\n"
+ .'注意:订单“未发货”只能申请“仅退款(BizClaimType=1)”,订单“已发货”只能申请货物状态为“未收到货(GoodsStatus=1)”或“已收到货(GoodsStatus=2)” '."\n"
+ .'逆向修改申请具体情况如下:payStatus即指订单状态orderStatus '."\n"
+ .'售中(未确认收货 payStatus 2) '."\n"
+ .'仅退款 物流状态 logisticsStatus 1未发货 货物状态 goodstatus 4未发货 '."\n"
+ .'仅退款 物流状态 logisticsStatus 2已发货 货物状态 goodstatus 1未收到货 '."\n"
+ .'退货退款 货物状态 goodstatus 2已收到货 '."\n"
+ .'售后(已确认收货 payStatus 6) '."\n"
+ .'仅退款 goodstatus 2已收到货 '."\n"
+ .'退货退款 goodstatus 2已收到货 ',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'https',
- 'http',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InitModifyRefund4Distribution'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:initModifyRefund4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListDistributionItem' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商id',
- 'description' => '分销商id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '75547******9212928',
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商id', 'type' => 'string', 'required' => false],
],
[
'name' => 'DistributionMallId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商商城id',
- 'description' => '分销商商城id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '122889******114694',
- ],
+ 'schema' => ['title' => '分销商商城ID', 'description' => '分销商商城id', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'LmItemIds',
+ 'name' => 'LmItemId',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'title' => '商品id',
- 'description' => '商品id集合',
- 'type' => 'array',
- 'items' => [
- 'description' => '商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"10000***-65975997****\\"]',
- ],
- 'required' => false,
- ],
+ 'schema' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ItemStatus',
+ 'in' => 'formData',
+ 'schema' => ['title' => '商品状态', 'description' => '商品状态', 'type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'formData',
+ 'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '18******263',
- ],
+ 'schema' => ['title' => '租户ID', 'description' => '租户ID', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<List<DistributionItemPriceDetailModel>>',
- 'description' => 'PopResponse<List<DistributionItemPriceDetailModel>>',
+ 'title' => 'PopResponse<List<DistributionItemModel>>',
+ 'description' => 'PopResponse<List<ItemOfQueryDistributionItemGroup>>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => 'E090F1A0-7454-5F36-933C-E6332CE2****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '539E5C68-D8B5-57EC-9D9B-58AFD9E0****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'array',
'items' => [
- 'description' => '商品信息',
+ 'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'DistributionMallId' => [
- 'title' => '分销商城ID',
- 'description' => '分销商城ID',
- 'type' => 'string',
- 'example' => '19e690e*****07a29c8',
- ],
- 'LmItemId' => [
- 'title' => 'LM商品ID',
- 'description' => 'LM商品ID',
- 'type' => 'string',
- 'example' => '1000****-630292****',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65******0310',
- ],
- 'ItemTitle' => [
- 'title' => '商品标题',
- 'description' => '商品标题',
- 'type' => 'string',
- 'example' => '****酸菜',
- ],
- 'ReservedPrice' => [
- 'title' => '商品划线价、原价',
- 'description' => '商品划线价、原价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2000',
- ],
- 'ReservedPriceScope' => [
- 'title' => '商品划线价、原价范围',
- 'description' => '商品划线价、原价范围',
- 'type' => 'string',
- 'example' => '1000~2000',
+ 'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string'],
+ 'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string'],
+ 'ItemId' => ['title' => '商品Id', 'description' => '商品Id', 'type' => 'integer', 'format' => 'int64'],
+ 'ItemIdStr' => ['title' => 'String类型商品Id,用于解决前端number类型超出长度限制', 'description' => 'String类型商品Id,用于解决前端number类型超出长度限制', 'type' => 'string'],
+ 'ItemName' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string'],
+ 'CategoryId' => ['title' => '类目ID', 'description' => '类目ID', 'type' => 'integer', 'format' => 'int64'],
+ 'CategoryChain' => [
+ 'title' => '类目链,父类目在前,子类目在后,叶子类目最后',
+ 'description' => '类目链,父类目在前,子类目在后,叶子类目最后',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CategoryId' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ 'Name' => ['type' => 'string', 'description' => ''],
+ 'ParentId' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ 'Level' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ 'Leaf' => ['type' => 'boolean', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
],
- 'GuideRetailPriceScope' => [
- 'title' => '建议零售价范围',
- 'description' => '建议零售价范围',
- 'type' => 'string',
- 'example' => '1000~2000',
+ 'Category' => ['title' => '商品在linkedmall平台上的分类:实物商品(entity),猫超卡券(aliComBenifit),电影票(movieTicket)', 'description' => '商品在linkedmall平台上的分类:实物商品(entity),猫超卡券(aliComBenifit),电影票(movieTicket)', 'type' => 'string'],
+ 'Status' => ['title' => 'linkedmall商品状态', 'description' => 'linkedmall商品状态', 'type' => 'integer', 'format' => 'int32'],
+ 'Quantity' => ['title' => '商品剩余库存:MIN', 'description' => '商品剩余库存:MIN', 'type' => 'integer', 'format' => 'int32'],
+ 'SimpleQuantity' => ['type' => 'string', 'description' => ''],
+ 'HasQuantity' => ['type' => 'boolean', 'description' => ''],
+ 'TotalSoldQuantity' => ['title' => '累计售出数量', 'description' => '累计售出数量', 'type' => 'integer', 'format' => 'int32'],
+ 'SimpleTotalSoldQuantity' => ['type' => 'string', 'description' => ''],
+ 'GmtCreate' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string'],
+ 'GmtModified' => ['title' => '最后修改/生效时间', 'description' => '最后修改/生效时间', 'type' => 'string'],
+ 'PicUrl' => ['title' => '图片url', 'description' => '图片url', 'type' => 'string'],
+ 'ItemDesc' => ['title' => '商品描述信息', 'description' => '商品描述信息', 'type' => 'string'],
+ 'ReservedPrice' => ['title' => 'IC划线价', 'description' => 'IC划线价', 'type' => 'integer', 'format' => 'int64'],
+ 'ReservedPriceScope' => ['type' => 'string', 'description' => ''],
+ 'PriceCentScope' => ['type' => 'string', 'description' => ''],
+ 'IsCanSell' => ['title' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;', 'description' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;', 'type' => 'boolean'],
+ 'Tips' => ['title' => '对商品不可售的原因描述', 'description' => '对商品不可售的原因描述', 'type' => 'string'],
+ 'ItemTitle' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string'],
+ 'MainPicUrl' => ['title' => '主图', 'description' => '主图', 'type' => 'string'],
+ 'DescOption' => ['title' => '商品详情介绍-图片介绍信息', 'description' => '商品详情介绍-图片介绍信息', 'type' => 'string'],
+ 'PropertiesJson' => ['type' => 'string', 'description' => ''],
+ 'ItemImages' => [
+ 'title' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
+ 'description' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => ''],
],
- 'SkuModels' => [
- 'title' => '商品规格',
- 'description' => '商品规格',
+ 'SkuList' => [
+ 'title' => 'sku列表',
+ 'description' => 'sku列表',
'type' => 'array',
'items' => [
- 'description' => '商品规格信息',
'type' => 'object',
'properties' => [
- 'DistributionMallId' => [
- 'title' => '分销商城ID',
- 'description' => '分销商城ID',
- 'type' => 'string',
- 'example' => '39cc1****5c7211005187c',
- ],
- 'LmItemId' => [
- 'title' => 'LM商品ID',
- 'description' => 'LM商品ID',
- 'type' => 'string',
- 'example' => '10***642-6831****869',
- ],
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6487****621',
- ],
- 'SkuId' => [
- 'title' => '规格ID',
- 'description' => '规格ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '488****548894',
- ],
- 'SkuTitle' => [
- 'title' => '规格标题',
- 'description' => '规格标题',
- 'type' => 'string',
- 'example' => '美味****原味2盒',
- ],
- 'ReservedPrice' => [
- 'title' => '商品划线价、原价',
- 'description' => '商品划线价、原价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8000',
+ 'LmItemId' => ['type' => 'string', 'description' => ''],
+ 'ItemId' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ 'SkuId' => ['title' => '没有sku的商品,skuId填-1', 'description' => '没有sku的商品,skuId填-1', 'type' => 'integer', 'format' => 'int64'],
+ 'Quantity' => ['title' => '商品剩余库存:MIN', 'description' => '商品剩余库存:MIN', 'type' => 'integer', 'format' => 'int64'],
+ 'SimpleQuantity' => ['type' => 'string', 'description' => ''],
+ 'HasQuantity' => ['type' => 'boolean', 'description' => ''],
+ 'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'integer', 'format' => 'int32'],
+ 'PriceCent' => ['title' => '当前售价(分)', 'description' => '当前售价(分)', 'type' => 'integer', 'format' => 'int64'],
+ 'ReservedPrice' => ['title' => 'IC SKU 一口价', 'description' => 'IC SKU 一口价', 'type' => 'integer', 'format' => 'int64'],
+ 'SkuDesc' => ['title' => 'sku描述信息', 'description' => 'sku描述信息', 'type' => 'string'],
+ 'SkuPicUrl' => ['title' => 'sku图片', 'description' => 'sku图片', 'type' => 'string'],
+ 'SkuTitle' => ['title' => 'sku标题', 'description' => 'sku标题', 'type' => 'string'],
+ 'GmtModified' => ['title' => '最后修改/生效时间', 'description' => '最后修改/生效时间', 'type' => 'string'],
+ 'LmAttributeModels' => [
+ 'title' => 'sku的扩展属性list',
+ 'description' => 'sku的扩展属性list',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AttrId' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ 'Value' => ['type' => 'string', 'description' => ''],
+ 'Name' => ['type' => 'string', 'description' => ''],
+ 'Description' => ['type' => 'string', 'description' => ''],
+ 'DataType' => ['type' => 'string', 'description' => ''],
+ 'Restriction' => ['type' => 'string', 'description' => ''],
+ 'Category' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ 'ScopeList' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => ''],
+ 'description' => '',
+ ],
+ ],
+ 'description' => '',
+ ],
],
- 'GuideRetailPrice' => [
- 'title' => '建议零售价',
- 'description' => '建议零售价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '7960',
+ 'CustomizedAttributeMap' => [
+ 'title' => '客户自定义属性',
+ 'description' => '客户自定义属性',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => ''],
],
- 'PriceCent' => [
- 'title' => '当前售价',
- 'description' => '当前售价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '7960',
+ 'CanSell' => ['type' => 'boolean', 'description' => ''],
+ 'Tips' => ['type' => 'string', 'description' => ''],
+ 'SkuPropertiesJson' => ['type' => 'string', 'description' => ''],
+ 'SkuProperties' => [
+ 'title' => '设置基础库/系统扩展属性',
+ 'description' => '设置基础库/系统扩展属性',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => ''],
],
- 'Status' => [
- 'title' => '状态:1:商品可售卖',
- 'description' => '状态:1:商品可售卖',
- 'type' => 'integer',
- 'format' => 'int32',
- 'enumValueTitles' => [
- 1 => '商品可售',
- '商品不可售',
- ],
- 'example' => '1',
+ 'ExtInfo' => ['title' => '存放买断权益对接模式下:promotionId(权益ID),securityCode(安全码)', 'description' => '存放买断权益对接模式下:promotionId(权益ID),securityCode(安全码)', 'type' => 'string'],
+ 'lmSkuAttributeMap' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => ''],
+ 'description' => '',
],
- 'LowGuideRetailPrice' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'LmAttributeModels' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AttrId' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ 'Value' => ['type' => 'string', 'description' => ''],
+ 'Name' => ['type' => 'string', 'description' => ''],
+ 'Description' => ['type' => 'string', 'description' => ''],
+ 'DataType' => ['type' => 'string', 'description' => ''],
+ 'Restriction' => ['type' => 'string', 'description' => ''],
+ 'Category' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ 'ScopeList' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => ''],
+ 'description' => '',
],
],
+ 'description' => '',
],
+ 'description' => '',
],
- 'LowGuideRetailPriceScope' => [
- 'type' => 'string',
+ 'LmAttributeMap' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => ''],
+ 'description' => '',
],
],
],
@@ -2953,40 +1094,45 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"539E5C68-D8B5-57EC-9D9B-58AFD9E0****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DistributionMallId\\": \\"\\",\\n \\"LmItemId\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"ItemIdStr\\": \\"\\",\\n \\"ItemName\\": \\"\\",\\n \\"CategoryId\\": 0,\\n \\"CategoryChain\\": [\\n {\\n \\"CategoryId\\": 0,\\n \\"Name\\": \\"\\",\\n \\"ParentId\\": 0,\\n \\"Level\\": 0,\\n \\"Leaf\\": true\\n }\\n ],\\n \\"Category\\": \\"\\",\\n \\"Status\\": 0,\\n \\"Quantity\\": 0,\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"TotalSoldQuantity\\": 0,\\n \\"SimpleTotalSoldQuantity\\": \\"\\",\\n \\"GmtCreate\\": \\"\\",\\n \\"GmtModified\\": \\"\\",\\n \\"PicUrl\\": \\"\\",\\n \\"ItemDesc\\": \\"\\",\\n \\"ReservedPrice\\": 0,\\n \\"ReservedPriceScope\\": \\"\\",\\n \\"PriceCentScope\\": \\"\\",\\n \\"IsCanSell\\": true,\\n \\"Tips\\": \\"\\",\\n \\"ItemTitle\\": \\"\\",\\n \\"MainPicUrl\\": \\"\\",\\n \\"DescOption\\": \\"\\",\\n \\"PropertiesJson\\": \\"\\",\\n \\"ItemImages\\": [\\n \\"\\"\\n ],\\n \\"SkuList\\": [\\n {\\n \\"LmItemId\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": 0,\\n \\"Quantity\\": 0,\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"Status\\": 0,\\n \\"PriceCent\\": 0,\\n \\"ReservedPrice\\": 0,\\n \\"SkuDesc\\": \\"\\",\\n \\"SkuPicUrl\\": \\"\\",\\n \\"SkuTitle\\": \\"\\",\\n \\"GmtModified\\": \\"\\",\\n \\"LmAttributeModels\\": [\\n {\\n \\"AttrId\\": 0,\\n \\"Value\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"DataType\\": \\"\\",\\n \\"Restriction\\": \\"\\",\\n \\"Category\\": 0,\\n \\"ScopeList\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"CanSell\\": true,\\n \\"Tips\\": \\"\\",\\n \\"SkuPropertiesJson\\": \\"\\",\\n \\"SkuProperties\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"ExtInfo\\": \\"\\",\\n \\"lmSkuAttributeMap\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ],\\n \\"LmAttributeModels\\": [\\n {\\n \\"AttrId\\": 0,\\n \\"Value\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"DataType\\": \\"\\",\\n \\"Restriction\\": \\"\\",\\n \\"Category\\": 0,\\n \\"ScopeList\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"LmAttributeMap\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '查询商品列表',
+ 'summary' => '查询分销商商品库内的商品列表。',
+ 'description' => '查询分销商商品库内的商品列表',
+ 'changeSet' => [
+ ['createdAt' => '2022-12-30T12:20:19.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-09-23T10:55:35.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2022-05-31T09:47:28.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDistributionItem'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:listDistributionItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"E090F1A0-7454-5F36-933C-E6332CE2****\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DistributionMallId\\": \\"19e690e*****07a29c8\\",\\n \\"LmItemId\\": \\"1000****-630292****\\",\\n \\"ItemId\\": 0,\\n \\"ItemTitle\\": \\"****酸菜\\",\\n \\"ReservedPrice\\": 2000,\\n \\"ReservedPriceScope\\": \\"1000~2000\\",\\n \\"GuideRetailPriceScope\\": \\"1000~2000\\",\\n \\"SkuModels\\": [\\n {\\n \\"DistributionMallId\\": \\"39cc1****5c7211005187c\\",\\n \\"LmItemId\\": \\"10***642-6831****869\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": 0,\\n \\"SkuTitle\\": \\"美味****原味2盒\\",\\n \\"ReservedPrice\\": 8000,\\n \\"GuideRetailPrice\\": 7960,\\n \\"PriceCent\\": 7960,\\n \\"Status\\": 1,\\n \\"LowGuideRetailPrice\\": 0\\n }\\n ],\\n \\"LowGuideRetailPriceScope\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '商品建议售价查询接口',
- 'summary' => '商品建议售价查询接口。',
- 'description' => '查询指定商品的建议售价。',
- 'requestParamsDescription' => '查询指定商品的建议售价,一次查询商品建议不超过20个。',
],
'ListDistributionItemWithoutCache' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -2998,82 +1144,37 @@
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商id',
- 'description' => '分销商id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '75547******9212928',
- ],
+ 'schema' => ['title' => '分销商id', 'description' => '分销商id', 'type' => 'string', 'required' => false, 'example' => '75547******9212928'],
],
[
'name' => 'DistributionMallId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商商城id',
- 'description' => '分销商商城id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '19e690e*****07a29c8',
- ],
+ 'schema' => ['title' => '分销商商城id', 'description' => '分销商商城id', 'type' => 'string', 'required' => false, 'example' => '19e690e*****07a29c8'],
],
[
'name' => 'LmItemId',
'in' => 'formData',
- 'schema' => [
- 'title' => '商品id',
- 'description' => '商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10000***-6193664*****',
- ],
+ 'schema' => ['title' => '商品id', 'description' => '商品id', 'type' => 'string', 'required' => false, 'example' => '10000***-6193664*****'],
],
[
'name' => 'ItemStatus',
'in' => 'formData',
- 'schema' => [
- 'title' => '商品状态',
- 'description' => '商品状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '商品状态', 'description' => '商品状态', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'title' => '页码',
- 'description' => '页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'title' => '每页数量',
- 'description' => '每页数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '7521****8332932',
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '7521****8332932'],
],
],
'responses' => [
@@ -3084,69 +1185,16 @@
'description' => 'PopResponse<List<DistributionItemModel>>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '5127621C-****-5DCA-9745-2936B31DFD12',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '205',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => '每页显示条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '27303',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '5127621C-****-5DCA-9745-2936B31DFD12'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '205'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => '每页显示条数', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '27303'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
@@ -3155,12 +1203,7 @@
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'DistributionMallId' => [
- 'title' => '分销商城ID',
- 'description' => '分销商城ID',
- 'type' => 'string',
- 'example' => '19e690e*****07a29c8',
- ],
+ 'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string', 'example' => '19e690e*****07a29c8'],
'SkuModels' => [
'title' => 'sku list',
'description' => '商品规格列表',
@@ -3169,124 +1212,40 @@
'description' => '商品规格信息',
'type' => 'object',
'properties' => [
- 'DistributionMallId' => [
- 'title' => '分销商城ID',
- 'description' => '分销商城ID',
- 'type' => 'string',
- 'example' => '19e690e*****07a29c8',
- ],
- 'ExtJson' => [
- 'title' => '预留扩展字段,JSON-Map结构',
- 'description' => '预留扩展字段,JSON-Map结构',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'LmItemId' => [
- 'title' => 'LM商品ID',
- 'description' => 'LM商品ID',
- 'type' => 'string',
- 'example' => '10000***-6193664*****',
- ],
- 'ItemId' => [
- 'title' => 'IC商品ID',
- 'description' => 'IC商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6193664*****',
- ],
- 'SkuId' => [
- 'title' => '规格ID',
- 'description' => '规格ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '488****548894',
- ],
- 'SkuPvs' => [
- 'title' => 'Sku对应的属性PV值组合',
- 'description' => 'Sku对应的属性PV值组合',
- 'type' => 'string',
- 'example' => '1627207:28320;5919063:6536025;12304035:75366283;122216431:27772',
- ],
- 'SkuPicUrl' => [
- 'title' => 'Sku图片',
- 'description' => 'Sku图片',
- 'type' => 'string',
- 'example' => 'img/12344***.jpg',
- ],
- 'SkuTitle' => [
- 'title' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。',
- 'description' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。',
- 'type' => 'string',
- 'example' => '美味****原味2盒',
- ],
- 'Quantity' => [
- 'title' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存',
- 'description' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30000',
- ],
- 'SimpleQuantity' => [
- 'title' => 'SKU模糊化库存'."\n"
- .'例如:有货、无货、库存紧张',
- 'description' => 'SKU模糊化库存'."\n"
- .'例如:有货、无货、库存紧张',
- 'type' => 'string',
- 'example' => '有货、无货、库存紧张',
- ],
- 'HasQuantity' => [
- 'title' => '是否有库存,返回的是库存状态,有或者没有',
- 'description' => '是否有库存,返回的是库存状态,有或者没有',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ReservedPrice' => [
- 'title' => 'IC SKU 一口价,划线价,商品原价(分)',
- 'description' => 'IC SKU 一口价,划线价,商品原价(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8000',
- ],
- 'PriceCent' => [
- 'title' => '商品销售价格(分)'."\n"
- .'渠道商供货价格',
- 'description' => '商品销售价格(分)'."\n"
- .'渠道商供货价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '7960',
- ],
- 'SupplierPrice' => [
- 'description' => '供货价(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '7960',
- ],
- 'Status' => [
- 'title' => '商品规格售卖状态'."\n"
- .'1:商品可售卖'."\n"
- .'2:商品不可售卖'."\n"
- .'3:商品价格异常'."\n"
- .'4:商品被删除',
- 'description' => '商品规格售卖状态'."\n"
- .'1:商品可售卖'."\n"
- .'2:商品不可售卖'."\n"
- .'3:商品价格异常'."\n"
- .'4:商品被删除',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string', 'example' => '19e690e*****07a29c8'],
+ 'ExtJson' => ['title' => '预留扩展字段,JSON-Map结构', 'description' => '预留扩展字段,JSON-Map结构', 'type' => 'string', 'example' => '{}'],
+ 'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string', 'example' => '10000***-6193664*****'],
+ 'ItemId' => ['title' => 'IC商品ID', 'description' => 'IC商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '6193664*****'],
+ 'SkuId' => ['title' => '规格ID', 'description' => '规格ID', 'type' => 'integer', 'format' => 'int64', 'example' => '488****548894'],
+ 'SkuPvs' => ['title' => 'Sku对应的属性PV值组合', 'description' => 'Sku对应的属性PV值组合', 'type' => 'string', 'example' => '1627207:28320;5919063:6536025;12304035:75366283;122216431:27772'],
+ 'SkuPicUrl' => ['title' => 'Sku图片', 'description' => 'Sku图片', 'type' => 'string', 'example' => 'img/12344***.jpg'],
+ 'SkuTitle' => ['title' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。', 'description' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。', 'type' => 'string', 'example' => '美味****原味2盒'],
+ 'Quantity' => ['title' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'description' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'type' => 'integer', 'format' => 'int32', 'example' => '30000'],
+ 'SimpleQuantity' => ['title' => 'SKU模糊化库存'."\n"
+ .'例如:有货、无货、库存紧张', 'description' => 'SKU模糊化库存'."\n"
+ .'例如:有货、无货、库存紧张', 'type' => 'string', 'example' => '有货、无货、库存紧张'],
+ 'HasQuantity' => ['title' => '是否有库存,返回的是库存状态,有或者没有', 'description' => '是否有库存,返回的是库存状态,有或者没有', 'type' => 'boolean', 'example' => 'true'],
+ 'ReservedPrice' => ['title' => 'IC SKU 一口价,划线价,商品原价(分)', 'description' => 'IC SKU 一口价,划线价,商品原价(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '8000'],
+ 'PriceCent' => ['title' => '商品销售价格(分)'."\n"
+ .'渠道商供货价格', 'description' => '商品销售价格(分)'."\n"
+ .'渠道商供货价格', 'type' => 'integer', 'format' => 'int64', 'example' => '7960'],
+ 'SupplierPrice' => ['description' => '供货价(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '7960'],
+ 'Status' => ['title' => '商品规格售卖状态'."\n"
+ .'1:商品可售卖'."\n"
+ .'2:商品不可售卖'."\n"
+ .'3:商品价格异常'."\n"
+ .'4:商品被删除', 'description' => '商品规格售卖状态'."\n"
+ .'1:商品可售卖'."\n"
+ .'2:商品不可售卖'."\n"
+ .'3:商品价格异常'."\n"
+ .'4:商品被删除', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'CustomizedAttributeMap' => [
'title' => '规格维度的扩展属性PV'."\n"
.'(客户自定义属性)',
'description' => '规格维度的扩展属性PV'."\n"
.'(客户自定义属性)',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '客户自定义属性',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '客户自定义属性'],
],
'LmSkuAttributeMap' => [
'title' => '规格维度的扩展属性PV'."\n"
@@ -3294,31 +1253,14 @@
'description' => '规格维度的扩展属性PV'."\n"
.'(商家扩展属性或系统扩展属性)',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "taxInvoice": "100",'."\n"
- .' "taxRateCode": "1123"'."\n"
- .' }',
- 'description' => 'Linkedmall 平台SKU的属性',
- ],
- ],
- 'IsCanNotBeSoldCode' => [
- 'title' => '不可售编码,可售时为空',
- 'description' => '不可售编码,可售时为空',
- 'type' => 'string',
- 'example' => 'CAN_NOT_BE_SOLD',
- ],
- 'IsCanNotBeSoldMessage' => [
- 'title' => '不可售消息,可售时为空',
- 'description' => '不可售消息,可售时为空',
- 'type' => 'string',
- 'example' => '商品不可售',
- ],
- 'InvoiceType' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'additionalProperties' => ['type' => 'string', 'example' => '{'."\n"
+ .' "taxInvoice": "100",'."\n"
+ .' "taxRateCode": "1123"'."\n"
+ .' }', 'description' => 'Linkedmall 平台SKU的属性'],
],
+ 'IsCanNotBeSoldCode' => ['title' => '不可售编码,可售时为空', 'description' => '不可售编码,可售时为空', 'type' => 'string', 'example' => 'CAN_NOT_BE_SOLD'],
+ 'IsCanNotBeSoldMessage' => ['title' => '不可售消息,可售时为空', 'description' => '不可售消息,可售时为空', 'type' => 'string', 'example' => '商品不可售'],
+ 'InvoiceType' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
],
],
],
@@ -3330,19 +1272,8 @@
'description' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'title' => '规格属性ID',
- 'description' => '规格属性ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '44042249****',
- ],
- 'Text' => [
- 'title' => '属性键P',
- 'description' => '属性键P',
- 'type' => 'string',
- 'example' => '颜色分类',
- ],
+ 'Id' => ['title' => '规格属性ID', 'description' => '规格属性ID', 'type' => 'integer', 'format' => 'int64', 'example' => '44042249****'],
+ 'Text' => ['title' => '属性键P', 'description' => '属性键P', 'type' => 'string', 'example' => '颜色分类'],
'Values' => [
'title' => '属性值列表',
'description' => '属性值列表',
@@ -3351,145 +1282,45 @@
'description' => '属性值对',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'title' => '属性值ID',
- 'description' => '属性值ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '600***',
- ],
- 'Text' => [
- 'title' => '属性值V',
- 'description' => '属性值V',
- 'type' => 'string',
- 'example' => '橙色',
- ],
+ 'Id' => ['title' => '属性值ID', 'description' => '属性值ID', 'type' => 'integer', 'format' => 'int64', 'example' => '600***'],
+ 'Text' => ['title' => '属性值V', 'description' => '属性值V', 'type' => 'string', 'example' => '橙色'],
],
],
],
],
],
],
- 'LmItemId' => [
- 'title' => 'lm商品ID',
- 'description' => 'lm商品ID',
- 'type' => 'string',
- 'example' => '1000****-630292****',
- ],
- 'ItemId' => [
- 'title' => 'IC商品ID',
- 'description' => 'IC商品ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '65******0310',
- ],
- 'ItemTitle' => [
- 'title' => '商品名称',
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '美味****原味2盒',
- ],
- 'MainPicUrl' => [
- 'title' => '主图',
- 'description' => '主图',
- 'type' => 'string',
- 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n",
- ],
- 'FirstPicUrl' => [
- 'title' => '轮播图第一张图',
- 'description' => '轮播图第一张图',
- 'type' => 'string',
- 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n",
- ],
+ 'LmItemId' => ['title' => 'lm商品ID', 'description' => 'lm商品ID', 'type' => 'string', 'example' => '1000****-630292****'],
+ 'ItemId' => ['title' => 'IC商品ID', 'description' => 'IC商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '65******0310'],
+ 'ItemTitle' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string', 'example' => '美味****原味2盒'],
+ 'MainPicUrl' => ['title' => '主图', 'description' => '主图', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n"],
+ 'FirstPicUrl' => ['title' => '轮播图第一张图', 'description' => '轮播图第一张图', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n"],
'ItemImages' => [
'title' => '商品图片URL,最多10张,一般是Detail上轮播',
'description' => '商品图片URL,最多10张,一般是Detail上轮播',
'type' => 'array',
- 'items' => [
- 'description' => '商品图片URL',
- 'type' => 'string',
- 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n",
- ],
- ],
- 'DescPath' => [
- 'title' => '商品详情介绍-图片介绍,URL',
- 'description' => '商品详情介绍-图片介绍,URL',
- 'type' => 'string',
- 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg',
- ],
- 'DescOption' => [
- 'title' => '商品详情介绍-图片介绍信息',
- 'description' => '商品详情介绍-图片介绍信息',
- 'type' => 'string',
- 'example' => '<img>pic/edf8d848fa80b1cac055c94652*****.jpg</img>',
- ],
- 'MinPrice' => [
- 'title' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)',
- 'description' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3900',
- ],
- 'ReservedPrice' => [
- 'title' => '商品原价,可用于显示划线价',
- 'description' => '商品原价,可用于显示划线价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2000',
- ],
- 'Quantity' => [
- 'title' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。',
- 'description' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'SimpleQuantity' => [
- 'title' => '模糊化库存'."\n"
- .'例如:有货、无货、库存紧张',
- 'description' => '模糊化库存'."\n"
- .'例如:有货、无货、库存紧张',
- 'type' => 'string',
- 'example' => '有货'."\n"
- .'无货'."\n"
- .'库存紧张',
- ],
- 'HasQuantity' => [
- 'title' => '是否有库存,返回的是库存状态,有或者没有',
- 'description' => '是否有库存,返回的是库存状态,有或者没有',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CategoryId' => [
- 'title' => '类目ID',
- 'description' => '类目ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5001****',
- ],
+ 'items' => ['description' => '商品图片URL', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n"],
+ ],
+ 'DescPath' => ['title' => '商品详情介绍-图片介绍,URL', 'description' => '商品详情介绍-图片介绍,URL', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'],
+ 'DescOption' => ['title' => '商品详情介绍-图片介绍信息', 'description' => '商品详情介绍-图片介绍信息', 'type' => 'string', 'example' => '<img>pic/edf8d848fa80b1cac055c94652*****.jpg</img>'],
+ 'MinPrice' => ['title' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)', 'description' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)', 'type' => 'integer', 'format' => 'int64', 'example' => '3900'],
+ 'ReservedPrice' => ['title' => '商品原价,可用于显示划线价', 'description' => '商品原价,可用于显示划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '2000'],
+ 'Quantity' => ['title' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。', 'description' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'SimpleQuantity' => ['title' => '模糊化库存'."\n"
+ .'例如:有货、无货、库存紧张', 'description' => '模糊化库存'."\n"
+ .'例如:有货、无货、库存紧张', 'type' => 'string', 'example' => '有货'."\n"
+ .'无货'."\n"
+ .'库存紧张'],
+ 'HasQuantity' => ['title' => '是否有库存,返回的是库存状态,有或者没有', 'description' => '是否有库存,返回的是库存状态,有或者没有', 'type' => 'boolean', 'example' => 'true'],
+ 'CategoryId' => ['title' => '类目ID', 'description' => '类目ID', 'type' => 'integer', 'format' => 'int64', 'example' => '5001****'],
'CategoryIds' => [
'title' => '类目ID,父类目在前,子类目在后',
'description' => '类目ID,父类目在前,子类目在后',
'type' => 'array',
- 'items' => [
- 'description' => '类目唯一标识',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '205879***',
- ],
- ],
- 'Prov' => [
- 'title' => '商品所在省份:如浙江',
- 'description' => '商品所在省份:如浙江',
- 'type' => 'string',
- 'example' => '浙江',
- ],
- 'City' => [
- 'title' => '商品所在城市:如杭州',
- 'description' => '商品所在城市:如杭州',
- 'type' => 'string',
- 'example' => '杭州',
+ 'items' => ['description' => '类目唯一标识', 'type' => 'integer', 'format' => 'int64', 'example' => '205879***'],
],
+ 'Prov' => ['title' => '商品所在省份:如浙江', 'description' => '商品所在省份:如浙江', 'type' => 'string', 'example' => '浙江'],
+ 'City' => ['title' => '商品所在城市:如杭州', 'description' => '商品所在城市:如杭州', 'type' => 'string', 'example' => '杭州'],
'Properties' => [
'title' => '产品属性或产品参数,供Detail页面显示使用'."\n"
.'例如:'."\n"
@@ -3500,10 +1331,7 @@
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'example' => '颜色分类',
- ],
+ 'items' => ['type' => 'string', 'example' => '颜色分类', 'description' => ''],
'description' => '产品参数',
],
],
@@ -3519,14 +1347,10 @@
.'extraPeriod:保质期,用于食品'."\n"
.'food_pro_date:生产日期',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '产品特征',
- 'example' => '{'."\n"
- .' "taxInvoice": "100",'."\n"
- .' "taxRateCode": "1123"'."\n"
- .' }',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '产品特征', 'example' => '{'."\n"
+ .' "taxInvoice": "100",'."\n"
+ .' "taxRateCode": "1123"'."\n"
+ .' }'],
],
'IforestProps' => [
'title' => '关键属性,供Detail页面显示使用'."\n"
@@ -3539,142 +1363,51 @@
'items' => [
'description' => '属性对象',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => ' {'."\n"
- .' "value": "黄色",'."\n"
- .' "key": "颜色分类"'."\n"
- .' }',
- 'description' => '属性对象',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => ' {'."\n"
+ .' "value": "黄色",'."\n"
+ .' "key": "颜色分类"'."\n"
+ .' }', 'description' => '属性对象'],
],
],
- 'IsSellerPayPostfee' => [
- 'title' => '是否包邮',
- 'description' => '是否包邮',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'IsCanSell' => [
- 'title' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0',
- 'description' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'LmItemCategory' => [
- 'title' => '商品在linkedmall平台的类型'."\n"
- .'entity:实物商品'."\n"
- .'aliComBenifit:虚拟商品',
- 'description' => '商品在linkedmall平台的类型'."\n"
- .'entity:实物商品'."\n"
- .'aliComBenifit:虚拟商品',
- 'type' => 'string',
- 'example' => 'entity',
- ],
+ 'IsSellerPayPostfee' => ['title' => '是否包邮', 'description' => '是否包邮', 'type' => 'boolean', 'example' => 'true'],
+ 'IsCanSell' => ['title' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0', 'description' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0', 'type' => 'boolean', 'example' => 'true'],
+ 'LmItemCategory' => ['title' => '商品在linkedmall平台的类型'."\n"
+ .'entity:实物商品'."\n"
+ .'aliComBenifit:虚拟商品', 'description' => '商品在linkedmall平台的类型'."\n"
+ .'entity:实物商品'."\n"
+ .'aliComBenifit:虚拟商品', 'type' => 'string', 'example' => 'entity'],
'CustomizedAttributeMap' => [
'title' => '商品维度的扩展属性PV',
'description' => '商品维度的扩展属性PV',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '客户自定义属性',
- 'example' => '{}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '客户自定义属性', 'example' => '{}'],
],
'LmItemAttributeMap' => [
'title' => '商品维度的扩展属性PV',
'description' => '商品维度的扩展属性PV',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => 'Linkedmall 平台商品属性',
- 'example' => '{'."\n"
- .' "taxInvoice": "100",'."\n"
- .' "taxRateCode": "1123"'."\n"
- .'}',
- ],
- ],
- 'Current' => [
- 'title' => '当前时间',
- 'description' => '当前时间',
- 'type' => 'string',
- 'example' => '2020-01-01 00:00:00',
- ],
- 'VirtualItemType' => [
- 'title' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)',
- 'description' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)',
- 'type' => 'string',
- 'example' => 'cardRoll',
- ],
- 'UserType' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'SecuredTransactions' => [
- 'description' => '是否开通担保交易 0 未开通,1 已开通,2 未设置, 3 审核中, 4 开通失败',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ThirdPartyItemId' => [
- 'title' => '外部商品id (来自第三方的商品)',
- 'description' => '外部商品id (来自第三方的商品)',
- 'type' => 'string',
- 'example' => '44042249****'."\n",
- ],
- 'ThirdPartyName' => [
- 'title' => '商品来源 (标记第三方商品的来源)',
- 'description' => '商品来源 (标记第三方商品的来源)',
- 'type' => 'string',
- 'example' => '三方商品来源',
- ],
- 'VideoUrl' => [
- 'title' => '视频地址',
- 'description' => '视频地址',
- 'type' => 'string',
- 'example' => 'http://video***.oss-cn-shanghai.aliyuncs.com/vms-test/video/edf8d848fa80b1cac055c94652******.mp4',
- ],
- 'VideoPicUrl' => [
- 'title' => '视频封面地址',
- 'description' => '视频封面地址',
- 'type' => 'string',
- 'example' => 'http://video***.oss-cn-shanghai.aliyuncs.com/vms-test/pic/edf8d848fa80b1cac055c94652*****.jpg',
- ],
- 'IsCanNotBeSoldCode' => [
- 'title' => '不可售编码,可售时为空',
- 'description' => '不可售编码,可售时为空',
- 'type' => 'string',
- 'example' => 'CAN_NOT_BE_SOLD',
- ],
- 'IsCanNotBeSoldMessage' => [
- 'title' => '不可售消息,可售时为空',
- 'description' => '不可售消息,可售时为空',
- 'type' => 'string',
- 'example' => '商品不可售',
- ],
- 'ItemTotalValue' => [
- 'title' => '总量库存值',
- 'description' => '总量库存值',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100000',
- ],
- 'ItemTotalSimpleValue' => [
- 'title' => '总量库存模糊值'."\n"
- .'例如:'."\n"
- .'有货、无货、库存紧张',
- 'description' => '总量库存模糊值'."\n"
- .'例如:'."\n"
- .'有货、无货、库存紧张',
- 'type' => 'string',
- 'example' => '有货',
- ],
- 'InvoiceType' => [
- 'description' => '发票类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => 'Linkedmall 平台商品属性', 'example' => '{'."\n"
+ .' "taxInvoice": "100",'."\n"
+ .' "taxRateCode": "1123"'."\n"
+ .'}'],
+ ],
+ 'Current' => ['title' => '当前时间', 'description' => '当前时间', 'type' => 'string', 'example' => '2020-01-01 00:00:00'],
+ 'VirtualItemType' => ['title' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)', 'description' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)', 'type' => 'string', 'example' => 'cardRoll'],
+ 'UserType' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ 'SecuredTransactions' => ['description' => '是否开通担保交易 0 未开通,1 已开通,2 未设置, 3 审核中, 4 开通失败', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ThirdPartyItemId' => ['title' => '外部商品id (来自第三方的商品)', 'description' => '外部商品id (来自第三方的商品)', 'type' => 'string', 'example' => '44042249****'."\n"],
+ 'ThirdPartyName' => ['title' => '商品来源 (标记第三方商品的来源)', 'description' => '商品来源 (标记第三方商品的来源)', 'type' => 'string', 'example' => '三方商品来源'],
+ 'VideoUrl' => ['title' => '视频地址', 'description' => '视频地址', 'type' => 'string', 'example' => 'http://video***.oss-cn-shanghai.aliyuncs.com/vms-test/video/edf8d848fa80b1cac055c94652******.mp4'],
+ 'VideoPicUrl' => ['title' => '视频封面地址', 'description' => '视频封面地址', 'type' => 'string', 'example' => 'http://video***.oss-cn-shanghai.aliyuncs.com/vms-test/pic/edf8d848fa80b1cac055c94652*****.jpg'],
+ 'IsCanNotBeSoldCode' => ['title' => '不可售编码,可售时为空', 'description' => '不可售编码,可售时为空', 'type' => 'string', 'example' => 'CAN_NOT_BE_SOLD'],
+ 'IsCanNotBeSoldMessage' => ['title' => '不可售消息,可售时为空', 'description' => '不可售消息,可售时为空', 'type' => 'string', 'example' => '商品不可售'],
+ 'ItemTotalValue' => ['title' => '总量库存值', 'description' => '总量库存值', 'type' => 'integer', 'format' => 'int32', 'example' => '100000'],
+ 'ItemTotalSimpleValue' => ['title' => '总量库存模糊值'."\n"
+ .'例如:'."\n"
+ .'有货、无货、库存紧张', 'description' => '总量库存模糊值'."\n"
+ .'例如:'."\n"
+ .'有货、无货、库存紧张', 'type' => 'string', 'example' => '有货'],
+ 'InvoiceType' => ['description' => '发票类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -3684,39 +1417,39 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"5127621C-****-5DCA-9745-2936B31DFD12\\",\\n \\"SubCode\\": \\"205\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 27303,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DistributionMallId\\": \\"19e690e*****07a29c8\\",\\n \\"SkuModels\\": [\\n {\\n \\"DistributionMallId\\": \\"19e690e*****07a29c8\\",\\n \\"ExtJson\\": \\"{}\\",\\n \\"LmItemId\\": \\"10000***-6193664*****\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": 0,\\n \\"SkuPvs\\": \\"1627207:28320;5919063:6536025;12304035:75366283;122216431:27772\\",\\n \\"SkuPicUrl\\": \\"img/12344***.jpg\\",\\n \\"SkuTitle\\": \\"美味****原味2盒\\",\\n \\"Quantity\\": 30000,\\n \\"SimpleQuantity\\": \\"有货、无货、库存紧张\\",\\n \\"HasQuantity\\": true,\\n \\"ReservedPrice\\": 8000,\\n \\"PriceCent\\": 7960,\\n \\"SupplierPrice\\": 7960,\\n \\"Status\\": 1,\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"LmSkuAttributeMap\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"taxInvoice\\\\\\": \\\\\\"100\\\\\\",\\\\n \\\\\\"taxRateCode\\\\\\": \\\\\\"1123\\\\\\"\\\\n }\\"\\n },\\n \\"IsCanNotBeSoldCode\\": \\"CAN_NOT_BE_SOLD\\",\\n \\"IsCanNotBeSoldMessage\\": \\"商品不可售\\",\\n \\"InvoiceType\\": 0\\n }\\n ],\\n \\"SkuPropertys\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"颜色分类\\",\\n \\"Values\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"橙色\\"\\n }\\n ]\\n }\\n ],\\n \\"LmItemId\\": \\"1000****-630292****\\",\\n \\"ItemId\\": 0,\\n \\"ItemTitle\\": \\"美味****原味2盒\\",\\n \\"MainPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\",\\n \\"FirstPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\",\\n \\"ItemImages\\": [\\n \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\"\\n ],\\n \\"DescPath\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"DescOption\\": \\"<img>pic/edf8d848fa80b1cac055c94652*****.jpg</img>\\",\\n \\"MinPrice\\": 3900,\\n \\"ReservedPrice\\": 2000,\\n \\"Quantity\\": 200,\\n \\"SimpleQuantity\\": \\"有货\\\\n无货\\\\n库存紧张\\",\\n \\"HasQuantity\\": true,\\n \\"CategoryId\\": 0,\\n \\"CategoryIds\\": [\\n 0\\n ],\\n \\"Prov\\": \\"浙江\\",\\n \\"City\\": \\"杭州\\",\\n \\"Properties\\": {\\n \\"key\\": [\\n \\"颜色分类\\"\\n ]\\n },\\n \\"Features\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"taxInvoice\\\\\\": \\\\\\"100\\\\\\",\\\\n \\\\\\"taxRateCode\\\\\\": \\\\\\"1123\\\\\\"\\\\n }\\"\\n },\\n \\"IforestProps\\": [\\n {\\n \\"key\\": \\" {\\\\n \\\\\\"value\\\\\\": \\\\\\"黄色\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"颜色分类\\\\\\"\\\\n }\\"\\n }\\n ],\\n \\"IsSellerPayPostfee\\": true,\\n \\"IsCanSell\\": true,\\n \\"LmItemCategory\\": \\"entity\\",\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"LmItemAttributeMap\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"taxInvoice\\\\\\": \\\\\\"100\\\\\\",\\\\n \\\\\\"taxRateCode\\\\\\": \\\\\\"1123\\\\\\"\\\\n}\\"\\n },\\n \\"Current\\": \\"2020-01-01 00:00:00\\",\\n \\"VirtualItemType\\": \\"cardRoll\\",\\n \\"UserType\\": 0,\\n \\"SecuredTransactions\\": 1,\\n \\"ThirdPartyItemId\\": \\"44042249****\\\\n\\",\\n \\"ThirdPartyName\\": \\"三方商品来源\\",\\n \\"VideoUrl\\": \\"http://video***.oss-cn-shanghai.aliyuncs.com/vms-test/video/edf8d848fa80b1cac055c94652******.mp4\\",\\n \\"VideoPicUrl\\": \\"http://video***.oss-cn-shanghai.aliyuncs.com/vms-test/pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"IsCanNotBeSoldCode\\": \\"CAN_NOT_BE_SOLD\\",\\n \\"IsCanNotBeSoldMessage\\": \\"商品不可售\\",\\n \\"ItemTotalValue\\": 100000,\\n \\"ItemTotalSimpleValue\\": \\"有货\\",\\n \\"InvoiceType\\": 1\\n }\\n ]\\n}","type":"json"}]',
'title' => ' 查询商品列表(无本地缓存)',
'summary' => '查询无缓存分销商商品库内的商品列表,分销商品信息排序规则为商品的添加时间。',
'description' => '此接口只适用于管控端。',
- ],
- 'RenderDistributionOrder' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:listDistributionItemWithoutCache',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListDistributionMall' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -3726,1318 +1459,84 @@
'systemTags' => [],
'parameters' => [
[
- 'name' => 'ItemInfoLists',
+ 'name' => 'DistributionMallId',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'title' => '商品信息',
- 'description' => '商品信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '商品信息',
- 'type' => 'object',
- 'properties' => [
- 'DistributionMallId' => [
- 'description' => '分销商城的ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '465879694***e84794d70934',
- ],
- 'LmItemId' => [
- 'description' => 'LM侧商品Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '100***31-324***311',
- ],
- 'Quantity' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'SkuId' => [
- 'description' => '商品SkuId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4354***213',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['title' => '分销商城id', 'description' => '分销商城id', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'DeliveryAddress',
+ 'name' => 'DistributionMallName',
'in' => 'formData',
- 'schema' => [
- 'title' => '收货地址',
- 'description' => '收货地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"addressDetail\\":\\"湖南省**市**区**街道**7栋\\",\\"divisionCode\\":\\"43***03\\",\\"fullName\\":\\"欧**\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"430***08\\"}',
- ],
+ 'schema' => ['title' => '商城名称', 'description' => '商城名称', 'type' => 'string', 'required' => false, 'example' => '阿里云图书专营店'],
],
[
- 'name' => 'ExtInfo',
+ 'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'DistributorId',
+ 'name' => 'ChannelSupplierId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '761***123',
- ],
+ 'schema' => ['title' => '渠道供应商id', 'description' => '渠道供应商id', 'type' => 'string', 'required' => false, 'example' => '113428528'],
],
[
- 'name' => 'DistributionSupplierId',
+ 'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'title' => '渠道供应商ID',
- 'description' => '渠道供应商ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '668***3234',
- ],
+ 'schema' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'required' => false, 'example' => '2021-10-24 15:29:38'],
],
[
- 'name' => 'BuyerId',
+ 'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销真实买家ID',
- 'description' => '分销真实买家ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'u***01',
- ],
+ 'schema' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'required' => false, 'example' => '2021-10-26 10:29:13'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'formData',
+ 'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '213***123',
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<DistributionRenderOrderResponse>',
- 'description' => 'PopResponse<List<RenderOrderInfosItem>>',
+ 'title' => 'PopResponse<List<ListDistributionMallModel>>',
+ 'description' => 'PopResponse<ListDistributionMallModel>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '1267088B-4695-5****7B9-9E4F89D1',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
- 'type' => 'object',
- 'properties' => [
- 'RenderOrderInfos' => [
- 'description' => '渲染订单信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'ItemInfos' => [
- 'description' => '商品详情',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'string',
- 'example' => '100***31-324***311',
- ],
- 'ItemName' => [
- 'description' => '商品名',
- 'type' => 'string',
- 'example' => '**饼干',
- ],
- 'SkuName' => [
- 'description' => '规格名',
- 'type' => 'string',
- 'example' => '500g',
- ],
- 'SkuId' => [
- 'description' => '商品规格id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '213***313',
- ],
- 'DistributionMallId' => [
- 'description' => '分销商城id',
- 'type' => 'string',
- 'example' => '465879694***e84794d70934',
- ],
- 'DistributionSupplierId' => [
- 'description' => '渠道供应商id',
- 'type' => 'string',
- 'example' => '653***557',
- ],
- 'DistributorId' => [
- 'description' => '分销商id',
- 'type' => 'string',
- 'example' => '761***123',
- ],
- 'PromotionFee' => [
- 'description' => '促销费',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Quantity' => [
- 'description' => '库存',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '99',
- ],
- 'ItemUrl' => [
- 'description' => '商品链接地址',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com',
- ],
- 'ItemPicUrl' => [
- 'description' => '商品图片链接地址',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com',
- ],
- 'Price' => [
- 'description' => '商品价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '99',
- ],
- 'CanSell' => [
- 'description' => '商品是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Message' => [
- 'description' => '商品备注,例如不可售时的原因',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'VirtualItemType' => [
- 'description' => '虚拟商品类型',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ItemPromInstVOS' => [
- 'description' => '商品权益信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'LmItemId' => [
- 'description' => 'lm商品id',
- 'type' => 'string',
- 'example' => '100***35-582***661',
- ],
- 'SkuIds' => [
- 'description' => '规格ID',
- 'type' => 'array',
- 'items' => [
- 'description' => '规格id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '343***432',
- ],
- ],
- 'AvailableItems' => [
- 'description' => '可用商品列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '582***661',
- ],
- 'LmItemId' => [
- 'description' => 'Lm侧商品id',
- 'type' => 'string',
- 'example' => '100***35-582***661',
- ],
- 'SkuId' => [
- 'description' => '商品规格id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '343***432',
- ],
- 'LmShopId' => [
- 'description' => 'lm店铺id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100***35',
- ],
- 'TbSellerId' => [
- 'description' => '淘宝卖家id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '213***433',
- ],
- 'Number' => [
- 'description' => '数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'PriceCent' => [
- 'description' => '供货价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'Points' => [
- 'description' => '积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'PointsAmount' => [
- 'description' => '积分金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UserPayFee' => [
- 'description' => '用户支付金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'Removed' => [
- 'description' => '是否被移除',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- ],
- 'TbSellerId' => [
- 'description' => '淘宝卖家id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '213***433',
- ],
- 'InstanceId' => [
- 'description' => '优惠实例id',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PromotionName' => [
- 'description' => '促销名',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PromotionType' => [
- 'description' => '促销类型',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Level' => [
- 'description' => '等级',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'DiscountPrice' => [
- 'description' => '折扣价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ThresholdPrice' => [
- 'description' => '门槛价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SpecialPrice' => [
- 'description' => '特价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UseStartTime' => [
- 'description' => '使用开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1659612158',
- ],
- 'ExpireTime' => [
- 'description' => '过期时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1659612158',
- ],
- 'Selected' => [
- 'description' => '是否可选',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'CanUse' => [
- 'description' => '是否可用',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Reason' => [
- 'description' => '原因',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'SubBizCode' => [
- 'description' => 'subBizCode',
- 'type' => 'string',
- 'example' => '""',
- ],
- ],
- ],
- ],
- 'Features' => [
- 'description' => '特征',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '""',
- 'description' => '""',
- ],
- ],
- 'ReservePrice' => [
- 'description' => '保留价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '""',
- ],
- ],
- ],
- ],
- 'DeliveryInfos' => [
- 'description' => '配送信息列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '配送方式ID',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'DisplayName' => [
- 'description' => '邮费前端展示文字',
- 'type' => 'string',
- 'example' => '包邮',
- ],
- 'PostFee' => [
- 'description' => '邮费单位分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceType' => [
- 'description' => '配送方式类型',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '-4',
- ],
- ],
- ],
- ],
- 'InvoiceInfo' => [
- 'description' => '发票信息',
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Desc' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '""',
- ],
- ],
- ],
- 'ExtInfo' => [
- 'description' => '拓展信息',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '""',
- 'example' => '""',
- ],
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Message' => [
- 'description' => '商品备注,例如不可售时的原因',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ShopPromInstVOS' => [
- 'description' => '店铺权益信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'LmItemId' => [
- 'description' => 'lm商品id',
- 'type' => 'string',
- 'example' => '100***42-568***99',
- ],
- 'SkuIds' => [
- 'description' => '商品规格id',
- 'type' => 'array',
- 'items' => [
- 'description' => '商品规格id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '324***42',
- ],
- ],
- 'AvailableItems' => [
- 'description' => '可用的商品列表'."\n"
- ."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '668***630',
- ],
- 'LmItemId' => [
- 'description' => 'lm商品id',
- 'type' => 'string',
- 'example' => '100***88-52***337',
- ],
- 'SkuId' => [
- 'description' => '商品规格id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '502***91',
- ],
- 'LmShopId' => [
- 'description' => 'lm店铺id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100***88',
- ],
- 'TbSellerId' => [
- 'description' => 'tb卖家id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '32***32',
- ],
- 'Number' => [
- 'description' => '数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PriceCent' => [
- 'description' => '供货价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Points' => [
- 'description' => '积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'PointsAmount' => [
- 'description' => '积分金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UserPayFee' => [
- 'description' => '用户支付金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Removed' => [
- 'description' => '是否移除',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- 'TbSellerId' => [
- 'description' => 'tb卖家id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2131***345',
- ],
- 'InstanceId' => [
- 'description' => '优惠实例id',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PromotionName' => [
- 'description' => '促销名称',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PromotionType' => [
- 'description' => '促销类型',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Level' => [
- 'description' => '等级',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'DiscountPrice' => [
- 'description' => '折扣价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ThresholdPrice' => [
- 'description' => '门槛价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SpecialPrice' => [
- 'description' => '特价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UseStartTime' => [
- 'description' => '使用开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ExpireTime' => [
- 'description' => '过期时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Selected' => [
- 'description' => '是否可选',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'CanUse' => [
- 'description' => '是否可用',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Reason' => [
- 'description' => '原因',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'SubBizCode' => [
- 'description' => 'subBizCode',
- 'type' => 'string',
- 'example' => '""',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'UnsellableRenderOrderInfos' => [
- 'description' => '不可售商品列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'ItemInfos' => [
- 'description' => '商品列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'string',
- 'example' => '651***245',
- ],
- 'ItemName' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '饼干',
- ],
- 'SkuName' => [
- 'description' => '规格名称',
- 'type' => 'string',
- 'example' => '500g',
- ],
- 'SkuId' => [
- 'description' => '商品规格ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '213***345',
- ],
- 'DistributionMallId' => [
- 'description' => '分销商城id',
- 'type' => 'string',
- 'example' => '34fds***32423',
- ],
- 'DistributionSupplierId' => [
- 'description' => '渠道供应商id',
- 'type' => 'string',
- 'example' => '3242***32455',
- ],
- 'DistributorId' => [
- 'description' => '分销商id',
- 'type' => 'string',
- 'example' => '3245***3243',
- ],
- 'PromotionFee' => [
- 'description' => '促销价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Quantity' => [
- 'description' => '库存',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'ItemUrl' => [
- 'description' => '商品链接地址',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com',
- ],
- 'ItemPicUrl' => [
- 'description' => '商品图片链接地址',
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com',
- ],
- 'Price' => [
- 'description' => '价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Message' => [
- 'description' => '商品备注,例如不可售时的原因',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'VirtualItemType' => [
- 'description' => '虚拟商品类型',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ItemPromInstVOS' => [
- 'description' => '商品权益信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'LmItemId' => [
- 'description' => 'lm商品id',
- 'type' => 'string',
- 'example' => '100***87-644***2078',
- ],
- 'SkuIds' => [
- 'description' => '规格ID',
- 'type' => 'array',
- 'items' => [
- 'description' => '规格id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '23432***3242',
- ],
- ],
- 'AvailableItems' => [
- 'description' => '可用商品列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '644***2078',
- ],
- 'LmItemId' => [
- 'description' => 'lm商品id',
- 'type' => 'string',
- 'example' => '100***87-644***2078',
- ],
- 'SkuId' => [
- 'description' => '商品规格id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '32432**324',
- ],
- 'LmShopId' => [
- 'description' => 'lm店铺id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100***87',
- ],
- 'TbSellerId' => [
- 'description' => 'tb卖家id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '32432***4334',
- ],
- 'Number' => [
- 'description' => '数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PriceCent' => [
- 'description' => '供货价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Points' => [
- 'description' => '积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'PointsAmount' => [
- 'description' => '积分金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UserPayFee' => [
- 'description' => '用户支付金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Removed' => [
- 'description' => '是否可移除',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- 'TbSellerId' => [
- 'description' => 'tb卖家id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '322***231',
- ],
- 'InstanceId' => [
- 'description' => '优惠实例id'."\n",
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PromotionName' => [
- 'description' => '促销名称',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PromotionType' => [
- 'description' => '促销类型',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Level' => [
- 'description' => '等级',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'DiscountPrice' => [
- 'description' => '折扣价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ThresholdPrice' => [
- 'description' => '门槛价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SpecialPrice' => [
- 'description' => '特价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UseStartTime' => [
- 'description' => '使用开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2021-12-11 21:22:11',
- ],
- 'ExpireTime' => [
- 'description' => '过期时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2021-12-11 21:22:11',
- ],
- 'Selected' => [
- 'description' => '是否可选',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'CanUse' => [
- 'description' => '是否可用',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Reason' => [
- 'description' => '原因',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'SubBizCode' => [
- 'description' => 'SubBizCode',
- 'type' => 'string',
- 'example' => '""',
- ],
- ],
- ],
- ],
- 'Features' => [
- 'description' => '特征',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '-',
- 'example' => '""',
- ],
- ],
- 'ReservePrice' => [
- 'description' => '保留价格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- ],
- ],
- ],
- 'DeliveryInfos' => [
- 'description' => '配送信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '配送方式ID',
- 'type' => 'string',
- 'example' => '4',
- ],
- 'DisplayName' => [
- 'description' => '邮费前端展示文字',
- 'type' => 'string',
- 'example' => '包邮',
- ],
- 'PostFee' => [
- 'description' => '邮费单位分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ServiceType' => [
- 'description' => '配送方式类型',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '-4',
- ],
- ],
- ],
- ],
- 'InvoiceInfo' => [
- 'description' => '发票信息',
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Desc' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '""',
- ],
- ],
- ],
- 'ExtInfo' => [
- 'description' => '拓展信息',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '""',
- 'description' => 'xxx',
- ],
- ],
- 'CanSell' => [
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Message' => [
- 'description' => '商品备注,例如不可售时的原因',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'ShopPromInstVOS' => [
- 'description' => '店铺权益信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'LmItemId' => [
- 'description' => 'lm商品id',
- 'type' => 'string',
- 'example' => '100**75-2342***213',
- ],
- 'SkuIds' => [
- 'description' => '商品规格',
- 'type' => 'array',
- 'items' => [
- 'description' => '商品规格id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '213**231',
- ],
- ],
- 'AvailableItems' => [
- 'description' => '可用的商品列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'ItemId' => [
- 'description' => '商品id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2342***213',
- ],
- 'LmItemId' => [
- 'description' => 'lm商品id',
- 'type' => 'string',
- 'example' => '100**75-2342***213',
- ],
- 'SkuId' => [
- 'description' => '规格id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2131***344',
- ],
- 'LmShopId' => [
- 'description' => 'lm店铺id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100**75',
- ],
- 'TbSellerId' => [
- 'description' => 'tb卖家id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123***343',
- ],
- 'Number' => [
- 'description' => '数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'PriceCent' => [
- 'description' => '供货价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Points' => [
- 'description' => '积分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'PointsAmount' => [
- 'description' => '积分金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UserPayFee' => [
- 'description' => '用户支付金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Removed' => [
- 'description' => '是否可移除',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- 'TbSellerId' => [
- 'description' => '淘宝卖家id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2132***321',
- ],
- 'InstanceId' => [
- 'description' => '优惠实例id',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PromotionName' => [
- 'description' => '促销名称',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'PromotionType' => [
- 'description' => '促销方式',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Level' => [
- 'description' => '等级',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'DiscountPrice' => [
- 'description' => '折扣价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ThresholdPrice' => [
- 'description' => '门槛价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'SpecialPrice' => [
- 'description' => '特价',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UseStartTime' => [
- 'description' => '使用开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2021-12-11 21:22:11',
- ],
- 'ExpireTime' => [
- 'description' => '过期时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2021-12-11 21:22:11',
- ],
- 'Selected' => [
- 'description' => '是否可选',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CanUse' => [
- 'description' => '是否可用',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Reason' => [
- 'description' => '原因',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'SubBizCode' => [
- 'description' => 'SubBizCode'."\n",
- 'type' => 'string',
- 'example' => '""xxx',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'AddressInfos' => [
- 'description' => '收货地址信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '-',
- 'type' => 'object',
- 'properties' => [
- 'AddressId' => [
- 'description' => '返回的地址区划码',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1223**3432',
- ],
- 'Receiver' => [
- 'description' => '收货人',
- 'type' => 'string',
- 'example' => '陈**',
- ],
- 'ReceiverPhone' => [
- 'description' => '手机号',
- 'type' => 'string',
- 'example' => '182***344',
- ],
- 'AddressDetail' => [
- 'description' => '详细地址',
- 'type' => 'string',
- 'example' => '{\\"addressDetail\\":\\"湖*省**市**区**街道**7栋\\",\\"divisionCode\\":\\"4***03\\",\\"fullName\\":\\"欧**\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"43***08\\"}',
- ],
- 'DivisionCode' => [
- 'description' => '区划码',
- 'type' => 'string',
- 'example' => '43***03',
- ],
- 'TownDivisionCode' => [
- 'description' => '乡镇区划码',
- 'type' => 'string',
- 'example' => '430***008',
- ],
- 'IsDefault' => [
- 'description' => '是否正常',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- ],
- 'ExtInfo' => [
- 'description' => '拓展信息',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '-',
- 'example' => '""',
- ],
- ],
- 'CanSell' => [
- 'description' => '商品是否可售',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Message' => [
- 'description' => '返回信息',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DistributionMallId' => ['title' => '分销商城id', 'description' => '分销商城id', 'type' => 'string'],
+ 'DistributionMallName' => ['title' => '分销商城名称', 'description' => '分销商城名称', 'type' => 'string'],
+ 'ChannelSupplierId' => ['title' => '渠道供应商id', 'description' => '渠道供应商id', 'type' => 'string'],
+ 'DistributionMallType' => ['title' => '商城模式', 'description' => '商城模式', 'type' => 'string'],
+ 'StartDate' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string'],
+ 'EndDate' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string'],
+ 'Status' => ['title' => '分销商城状态', 'description' => '分销商城状态', 'type' => 'string'],
+ ],
+ 'description' => '',
],
],
],
@@ -5046,48 +1545,42 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"1718921E-C8D4-55E1-B8D4-114AE537C1B7\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DistributionMallId\\": \\"\\",\\n \\"DistributionMallName\\": \\"\\",\\n \\"ChannelSupplierId\\": \\"\\",\\n \\"DistributionMallType\\": \\"\\",\\n \\"StartDate\\": \\"\\",\\n \\"EndDate\\": \\"\\",\\n \\"Status\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '分销商城列表查询',
+ 'summary' => '查询自己已经开通的商城列表。',
+ 'description' => '查询自己已经开通的商城列表',
+ 'changeSet' => [
+ ['createdAt' => '2022-07-07T06:02:02.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:listDistributionMall',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"1267088B-4695-5****7B9-9E4F89D1\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Model\\": {\\n \\"RenderOrderInfos\\": [\\n {\\n \\"ItemInfos\\": [\\n {\\n \\"ItemId\\": \\"100***31-324***311\\",\\n \\"ItemName\\": \\"**饼干\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"SkuId\\": 0,\\n \\"DistributionMallId\\": \\"465879694***e84794d70934\\",\\n \\"DistributionSupplierId\\": \\"653***557\\",\\n \\"DistributorId\\": \\"761***123\\",\\n \\"PromotionFee\\": 0,\\n \\"Quantity\\": 99,\\n \\"ItemUrl\\": \\"https://aliyundoc.com\\",\\n \\"ItemPicUrl\\": \\"https://aliyundoc.com\\",\\n \\"Price\\": 99,\\n \\"CanSell\\": true,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"VirtualItemType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ItemPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***35-582***661\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***35-582***661\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 2,\\n \\"PriceCent\\": 100,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 100,\\n \\"Removed\\": false\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Level\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 1659612158,\\n \\"ExpireTime\\": 1659612158,\\n \\"Selected\\": false,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"Features\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ReservePrice\\": 0\\n }\\n ],\\n \\"DeliveryInfos\\": [\\n {\\n \\"Id\\": \\"10\\",\\n \\"DisplayName\\": \\"包邮\\",\\n \\"PostFee\\": 0,\\n \\"ServiceType\\": -4\\n }\\n ],\\n \\"InvoiceInfo\\": {\\n \\"Type\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Desc\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ExtInfo\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"CanSell\\": true,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ShopPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***42-568***99\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***88-52***337\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 1,\\n \\"PriceCent\\": 200,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 200,\\n \\"Removed\\": true\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Level\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 0,\\n \\"ExpireTime\\": 0,\\n \\"Selected\\": false,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ]\\n }\\n ],\\n \\"UnsellableRenderOrderInfos\\": [\\n {\\n \\"ItemInfos\\": [\\n {\\n \\"ItemId\\": \\"651***245\\",\\n \\"ItemName\\": \\"饼干\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"SkuId\\": 0,\\n \\"DistributionMallId\\": \\"34fds***32423\\",\\n \\"DistributionSupplierId\\": \\"3242***32455\\",\\n \\"DistributorId\\": \\"3245***3243\\",\\n \\"PromotionFee\\": 0,\\n \\"Quantity\\": 10,\\n \\"ItemUrl\\": \\"https://aliyundoc.com\\",\\n \\"ItemPicUrl\\": \\"https://aliyundoc.com\\",\\n \\"Price\\": 200,\\n \\"CanSell\\": false,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"VirtualItemType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ItemPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***87-644***2078\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***87-644***2078\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 1,\\n \\"PriceCent\\": 200,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 0,\\n \\"Removed\\": true\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Level\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 0,\\n \\"ExpireTime\\": 0,\\n \\"Selected\\": false,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"Features\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ReservePrice\\": 0\\n }\\n ],\\n \\"DeliveryInfos\\": [\\n {\\n \\"Id\\": \\"4\\",\\n \\"DisplayName\\": \\"包邮\\",\\n \\"PostFee\\": 0,\\n \\"ServiceType\\": -4\\n }\\n ],\\n \\"InvoiceInfo\\": {\\n \\"Type\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Desc\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ExtInfo\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"CanSell\\": false,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ShopPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100**75-2342***213\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100**75-2342***213\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 0,\\n \\"PriceCent\\": 200,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 200,\\n \\"Removed\\": true\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Level\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 0,\\n \\"ExpireTime\\": 0,\\n \\"Selected\\": true,\\n \\"CanUse\\": true,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"\\\\\\"\\\\\\"xxx\\"\\n }\\n ]\\n }\\n ],\\n \\"AddressInfos\\": [\\n {\\n \\"AddressId\\": 0,\\n \\"Receiver\\": \\"陈**\\",\\n \\"ReceiverPhone\\": \\"182***344\\",\\n \\"AddressDetail\\": \\"{\\\\\\\\\\\\\\"addressDetail\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"湖*省**市**区**街道**7栋\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"divisionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"4***03\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fullName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"欧**\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mobile\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1557***502\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"townDivisionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"43***08\\\\\\\\\\\\\\"}\\",\\n \\"DivisionCode\\": \\"43***03\\",\\n \\"TownDivisionCode\\": \\"430***008\\",\\n \\"IsDefault\\": false\\n }\\n ],\\n \\"ExtInfo\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"CanSell\\": true,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RenderDistributionOrderResponse>\\n <LogsId>1</LogsId>\\n <RequestId>1267088B-4695-5****7B9-9E4F89D1</RequestId>\\n <SubCode>200</SubCode>\\n <SubMessage>\\"\\"</SubMessage>\\n <PageSize>1</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1</TotalCount>\\n <Success>true</Success>\\n <Code>0000</Code>\\n <Message>\\"\\"</Message>\\n <Model>\\n <RenderOrderInfos>\\n <ItemInfos>\\n <ItemId>100***31-324***311</ItemId>\\n <ItemName>**饼干</ItemName>\\n <SkuName>500g</SkuName>\\n <DistributionMallId>465879694***e84794d70934</DistributionMallId>\\n <DistributionSupplierId>653***557</DistributionSupplierId>\\n <DistributorId>761***123</DistributorId>\\n <PromotionFee>0</PromotionFee>\\n <Quantity>99</Quantity>\\n <ItemUrl>https://aliyundoc.com</ItemUrl>\\n <ItemPicUrl>https://aliyundoc.com</ItemPicUrl>\\n <Price>99</Price>\\n <CanSell>true</CanSell>\\n <Message>\\"\\"</Message>\\n <VirtualItemType>\\"\\"</VirtualItemType>\\n <ItemPromInstVOS>\\n <LmItemId>100***35-582***661</LmItemId>\\n <AvailableItems>\\n <LmItemId>100***35-582***661</LmItemId>\\n <Number>2</Number>\\n <PriceCent>100</PriceCent>\\n <Points>0</Points>\\n <PointsAmount>0</PointsAmount>\\n <UserPayFee>100</UserPayFee>\\n <Removed>false</Removed>\\n </AvailableItems>\\n <InstanceId>\\"\\"</InstanceId>\\n <PromotionName>\\"\\"</PromotionName>\\n <PromotionType>\\"\\"</PromotionType>\\n <Level>\\"\\"</Level>\\n <DiscountPrice>0</DiscountPrice>\\n <ThresholdPrice>0</ThresholdPrice>\\n <SpecialPrice>0</SpecialPrice>\\n <UseStartTime>1659612158</UseStartTime>\\n <ExpireTime>1659612158</ExpireTime>\\n <Selected>false</Selected>\\n <CanUse>false</CanUse>\\n <Reason>\\"\\"</Reason>\\n <SubBizCode>\\"\\"</SubBizCode>\\n </ItemPromInstVOS>\\n <Features>\\n <key>\\"\\"</key>\\n </Features>\\n </ItemInfos>\\n <DeliveryInfos>\\n <Id>10</Id>\\n <DisplayName>包邮</DisplayName>\\n <PostFee>0</PostFee>\\n <ServiceType>-4</ServiceType>\\n </DeliveryInfos>\\n <InvoiceInfo>\\n <Type>\\"\\"</Type>\\n <Desc>\\"\\"</Desc>\\n </InvoiceInfo>\\n <ExtInfo>\\n <key>\\"\\"</key>\\n </ExtInfo>\\n <CanSell>true</CanSell>\\n <Message>\\"\\"</Message>\\n <ShopPromInstVOS>\\n <LmItemId>100***42-568***99</LmItemId>\\n <AvailableItems>\\n <LmItemId>100***88-52***337</LmItemId>\\n <Number>1</Number>\\n <PriceCent>200</PriceCent>\\n <Points>0</Points>\\n <PointsAmount>0</PointsAmount>\\n <UserPayFee>200</UserPayFee>\\n <Removed>true</Removed>\\n </AvailableItems>\\n <InstanceId>\\"\\"</InstanceId>\\n <PromotionName>\\"\\"</PromotionName>\\n <PromotionType>\\"\\"</PromotionType>\\n <Level>\\"\\"</Level>\\n <DiscountPrice>0</DiscountPrice>\\n <ThresholdPrice>0</ThresholdPrice>\\n <SpecialPrice>0</SpecialPrice>\\n <UseStartTime>0</UseStartTime>\\n <ExpireTime>0</ExpireTime>\\n <Selected>false</Selected>\\n <CanUse>false</CanUse>\\n <Reason>\\"\\"</Reason>\\n <SubBizCode>\\"\\"</SubBizCode>\\n </ShopPromInstVOS>\\n </RenderOrderInfos>\\n <UnsellableRenderOrderInfos>\\n <ItemInfos>\\n <ItemId>651***245</ItemId>\\n <ItemName>饼干</ItemName>\\n <SkuName>500g</SkuName>\\n <DistributionMallId>34fds***32423</DistributionMallId>\\n <DistributionSupplierId>3242***32455</DistributionSupplierId>\\n <DistributorId>3245***3243</DistributorId>\\n <PromotionFee>0</PromotionFee>\\n <Quantity>10</Quantity>\\n <ItemUrl>https://aliyundoc.com</ItemUrl>\\n <ItemPicUrl>https://aliyundoc.com</ItemPicUrl>\\n <Price>200</Price>\\n <CanSell>false</CanSell>\\n <Message>\\"\\"</Message>\\n <VirtualItemType>\\"\\"</VirtualItemType>\\n <ItemPromInstVOS>\\n <LmItemId>100***87-644***2078</LmItemId>\\n <AvailableItems>\\n <LmItemId>100***87-644***2078</LmItemId>\\n <Number>1</Number>\\n <PriceCent>200</PriceCent>\\n <Points>0</Points>\\n <PointsAmount>0</PointsAmount>\\n <UserPayFee>0</UserPayFee>\\n <Removed>true</Removed>\\n </AvailableItems>\\n <InstanceId>\\"\\"</InstanceId>\\n <PromotionName>\\"\\"</PromotionName>\\n <PromotionType>\\"\\"</PromotionType>\\n <Level>\\"\\"</Level>\\n <DiscountPrice>0</DiscountPrice>\\n <ThresholdPrice>0</ThresholdPrice>\\n <SpecialPrice>0</SpecialPrice>\\n <Selected>false</Selected>\\n <CanUse>false</CanUse>\\n <Reason>\\"\\"</Reason>\\n <SubBizCode>\\"\\"</SubBizCode>\\n </ItemPromInstVOS>\\n <Features>\\n <key>\\"\\"</key>\\n </Features>\\n <ReservePrice>0</ReservePrice>\\n </ItemInfos>\\n <DeliveryInfos>\\n <Id>4</Id>\\n <DisplayName>包邮</DisplayName>\\n <PostFee>0</PostFee>\\n <ServiceType>-4</ServiceType>\\n </DeliveryInfos>\\n <InvoiceInfo>\\n <Type>\\"\\"</Type>\\n <Desc>\\"\\"</Desc>\\n </InvoiceInfo>\\n <ExtInfo>\\n <key>\\"\\"</key>\\n </ExtInfo>\\n <CanSell>false</CanSell>\\n <Message>\\"\\"</Message>\\n <ShopPromInstVOS>\\n <LmItemId>100**75-2342***213</LmItemId>\\n <AvailableItems>\\n <LmItemId>100**75-2342***213</LmItemId>\\n <Number>0</Number>\\n <PriceCent>200</PriceCent>\\n <Points>0</Points>\\n <PointsAmount>0</PointsAmount>\\n <UserPayFee>200</UserPayFee>\\n <Removed>true</Removed>\\n </AvailableItems>\\n <InstanceId>\\"\\"</InstanceId>\\n <PromotionName>\\"\\"</PromotionName>\\n <PromotionType>\\"\\"</PromotionType>\\n <Level>\\"\\"</Level>\\n <DiscountPrice>0</DiscountPrice>\\n <ThresholdPrice>0</ThresholdPrice>\\n <SpecialPrice>0</SpecialPrice>\\n <Selected>true</Selected>\\n <CanUse>true</CanUse>\\n <Reason>\\"\\"</Reason>\\n <SubBizCode>\\"\\"xxx</SubBizCode>\\n </ShopPromInstVOS>\\n </UnsellableRenderOrderInfos>\\n <AddressInfos>\\n <Receiver>陈**</Receiver>\\n <ReceiverPhone>182***344</ReceiverPhone>\\n <AddressDetail>{\\\\\\"addressDetail\\\\\\":\\\\\\"湖*省**市**区**街道**7栋\\\\\\",\\\\\\"divisionCode\\\\\\":\\\\\\"4***03\\\\\\",\\\\\\"fullName\\\\\\":\\\\\\"欧**\\\\\\",\\\\\\"mobile\\\\\\":\\\\\\"1557***502\\\\\\",\\\\\\"townDivisionCode\\\\\\":\\\\\\"43***08\\\\\\"}</AddressDetail>\\n <DivisionCode>43***03</DivisionCode>\\n <TownDivisionCode>430***008</TownDivisionCode>\\n <IsDefault>false</IsDefault>\\n </AddressInfos>\\n <ExtInfo>\\n <key>\\"\\"</key>\\n </ExtInfo>\\n <CanSell>true</CanSell>\\n <Message>\\"\\"</Message>\\n </Model>\\n</RenderDistributionOrderResponse>","errorExample":""}]',
- 'title' => '分销采购订单渲染',
- 'summary' => '分销订单渲染。',
- 'description' => '分销订单渲染',
- 'requestParamsDescription' => '```'."\n"
- .'{ '."\n"
- .' "divisionCode": "区/县的4级divisionCode(街道/镇的上一级地址)", //该字段通过queryChildDivisionCodeById接口获取'."\n"
- .' "townDivisionCode":"街道/镇的5级divisionCode", //该字段通过queryChildDivisionCodeById接口获取'."\n"
- .' "fullName": "收货人姓名", '."\n"
- .' "mobile": "收货人电话", '."\n"
- .' "addressDetail": "收货人地址" '."\n"
- .'}'."\n"
- .'```',
],
- 'ApplyCreateDistributionOrder' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'ModifyRefund4Distribution' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -5097,368 +1590,103 @@
'systemTags' => [],
'parameters' => [
[
- 'name' => 'DistributionOutTradeId',
+ 'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '外部交易号',
- 'description' => '如果传入了外部交易号,则会以其作为请求的幂等键,重复传入相同的外部交易号,会返回重复下单提示。外部交易号会在交易结果通知中透出。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '789***3323',
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '766***221'],
],
[
- 'name' => 'ItemInfoLists',
+ 'name' => 'SubDistributionOrderId',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'title' => '商品信息',
- 'description' => '商品信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '商品信息',
- 'type' => 'object',
- 'properties' => [
- 'DistributionMallId' => [
- 'description' => '分销商城ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '465879694****794d70934',
- ],
- 'LmItemId' => [
- 'description' => 'Lm侧商品Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '100***35-634***598',
- ],
- 'Quantity' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'SkuId' => [
- 'description' => 'SKU',
- 'type' => 'string',
- 'required' => false,
- 'example' => '456***9561',
- ],
- 'Price' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false, 'example' => 'DIS_153***851'],
],
[
- 'name' => 'DeliveryAddress',
+ 'name' => 'BizClaimType',
'in' => 'formData',
- 'schema' => [
- 'title' => '收货地址',
- 'description' => '收货地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"divisionCode\\":\\"44***22\\",\\"addressDetail\\":\\"**小区\\",\\"mobile\\":\\"180***0041\\",\\"fullName\\":\\"小**\\",\\"townDivisionCode\\":\\"440***32\\"}',
- ],
+ 'schema' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'ExtInfo',
+ 'name' => 'ApplyRefundFee',
'in' => 'formData',
- 'schema' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['title' => '申请退款金额', 'description' => '申请退款金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '790'],
],
[
- 'name' => 'DistributorId',
+ 'name' => 'ApplyRefundCount',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6331***2131',
- ],
+ 'schema' => ['title' => '退货数量', 'description' => '退货数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'DistributionSupplierId',
+ 'name' => 'ApplyReasonTextId',
'in' => 'formData',
- 'schema' => [
- 'title' => '渠道供应商ID',
- 'description' => '渠道供应商ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '764***2245',
- ],
+ 'schema' => ['title' => '退款原因ID', 'description' => '退款原因ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '500325'],
],
[
- 'name' => 'BuyerId',
+ 'name' => 'LeaveMessage',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销真实买家ID',
- 'description' => '分销真实买家ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'u***01',
- ],
+ 'schema' => ['title' => '留言', 'description' => '留言', 'type' => 'string', 'required' => false, 'example' => '快递滞留 买家申请退款'],
],
[
- 'name' => 'TenantId',
+ 'name' => 'LeavePictureLists',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '租户Id',
- 'description' => '租户ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '12***29',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'PopResponse<String>',
- 'description' => 'PopResponse<String>',
- 'type' => 'object',
- 'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => 'B1756669-4A***F-A6E0E8605FEC',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '7152F15C-7298-55****76-2ED2C331',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Model' => [
- 'title' => '请求结果数据',
- 'description' => '请求结果数据',
- 'type' => 'string',
- 'example' => 'T213***342',
+ 'title' => '凭证',
+ 'description' => '凭证列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '退款凭证信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Desc' => ['description' => '图片描述', 'type' => 'string', 'required' => false, 'example' => 'https://aliyundoc.com'],
+ 'Picture' => ['description' => '图片地址', 'type' => 'string', 'required' => false, 'example' => '商品破损'],
],
+ 'required' => false,
],
- ],
- ],
- ],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
- ],
- 404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"LogsId\\": \\"B1756669-4A***F-A6E0E8605FEC\\",\\n \\"RequestId\\": \\"7152F15C-7298-55****76-2ED2C331\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 10,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": \\"T213***342\\"\\n}","errorExample":""},{"type":"xml","example":"<ApplyCreateDistributionOrderResponse>\\n <LogsId>B1756669-4A***F-A6E0E8605FEC</LogsId>\\n <RequestId>7152F15C-7298-55****76-2ED2C331</RequestId>\\n <SubCode>200</SubCode>\\n <SubMessage>SUCCESS</SubMessage>\\n <PageSize>20</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>10</TotalCount>\\n <Success>true</Success>\\n <Code>0000</Code>\\n <Message>SUCCESS</Message>\\n <Model>T213***342</Model>\\n</ApplyCreateDistributionOrderResponse>","errorExample":""}]',
- 'title' => '提交分销采购订单创建请求',
- 'summary' => '提交分销订单创建请求。',
- 'description' => '异步接口,只是提交创建分销订单申请,需要接收分销订单创建结果通知或者主动调查询分销订单状态接口。',
- ],
- 'QueryDistributionTradeStatus' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'systemTags' => [],
- 'parameters' => [
- [
- 'name' => 'DistributorId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
'required' => false,
],
],
[
- 'name' => 'DistributionSupplierId',
+ 'name' => 'GoodsStatus',
'in' => 'formData',
- 'schema' => [
- 'title' => '渠道供应商ID',
- 'description' => '渠道供应商ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '货物状态', 'description' => '货物状态', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'DistributionTradeId',
+ 'name' => 'DisputeId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销交易号',
- 'description' => '分销交易号',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '纠纷id', 'description' => '纠纷id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '235***343'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '213**112'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<String>',
- 'description' => 'PopResponse<String>',
+ 'title' => 'PopResponse<RefundApplicationData>',
+ 'description' => 'PopResponse<RefundApplicationData>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '539E5C68-D8B5-57EC-9****8AFD9E0'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'SUCCESS'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => '""'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'SubDistributionOrderId' => ['title' => '当前发起逆向的子分销订单号', 'description' => '当前发起逆向的子分销订单号', 'type' => 'string', 'example' => 'DIS_153***851'],
+ 'DisputeStatus' => ['title' => '逆向的状态', 'description' => '逆向的状态', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'DisputeType' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DisputeId' => ['title' => '纠纷id', 'description' => '纠纷id', 'type' => 'integer', 'format' => 'int64', 'example' => '235***343'],
+ ],
],
],
],
@@ -5466,196 +1694,57 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": \\"\\"\\n}","type":"json"}]',
- 'title' => '查询分销交易状态',
- 'summary' => '查询分销交易状态。',
- 'description' => '只返回分销交易状态。',
- ],
- 'ConfirmDisburse4Distribution' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"539E5C68-D8B5-57EC-9****8AFD9E0\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"DIS_153***851\\",\\n \\"DisputeStatus\\": 5,\\n \\"DisputeType\\": 1,\\n \\"DisputeId\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"<ModifyRefund4DistributionResponse>\\n <LogsId>1</LogsId>\\n <RequestId>539E5C68-D8B5-57EC-9****8AFD9E0</RequestId>\\n <SubCode>200</SubCode>\\n <SubMessage>SUCCESS</SubMessage>\\n <PageSize>1</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1</TotalCount>\\n <Success>false</Success>\\n <Code>0000</Code>\\n <Message>\\"\\"</Message>\\n <Model>\\n <SubDistributionOrderId>DIS_153***851</SubDistributionOrderId>\\n <DisputeStatus>5</DisputeStatus>\\n <DisputeType>1</DisputeType>\\n </Model>\\n</ModifyRefund4DistributionResponse>","errorExample":""}]',
+ 'title' => '分销采购订单退款申请修改',
+ 'summary' => '分销订单退款申请修改。',
+ 'description' => '基于 initModifyRefund4Distribution 接口获取退款信息,发起退款或者退货退款修改申请,该接口不支持退换货'."\n"
+ ."\n"
+ .'注意: '."\n"
+ .'1.退款申请被卖家拒绝(通过queryRefundApplicationDetail4Distribution 接口查询到disputeStatus为6时)后,通过逆向修改申请借款,重新发起退款申请 '."\n"
+ .'2.正常售中允许申请退款三次,售后允许申请退款两次,如遇超过次数后不能申请退款,需自行联系商家打开线上退款入口(售中和售后的界定边缘为:确认收货) '."\n"
+ .'逆向修改申请具体情况如下:payStatus即指订单状态orderStatus '."\n"
+ .'售中(未确认收货 payStatus 2) '."\n"
+ .'仅退款 物流状态 logisticsStatus 1未发货 货物状态 goodstatus 4未发货 '."\n"
+ .'仅退款 物流状态 logisticsStatus 2已发货 货物状态 goodstatus 1未收到货 '."\n"
+ .'退货退款 货物状态 goodstatus 2已收到货 '."\n"
+ .'售后(已确认收货 payStatus 6) '."\n"
+ .'仅退款 goodstatus 2已收到货 '."\n"
+ .'退货退款 goodstatus 2已收到货 '."\n"
+ .'上传退款凭证须知:由于部分商家内部小二网络环境较差,请务必使用阿里云的oss服务作为您的图片存储,详细请参考: '."\n"
+ .' https://help.aliyun.com/document_detail/194635.htm',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
- 'security' => [
- [
- 'AK' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRefund4Distribution'],
],
],
- 'deprecated' => false,
- 'systemTags' => [],
- 'parameters' => [
- [
- 'name' => 'DistributorId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'DistributionTradeId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '分销交易号',
- 'description' => '分销交易号',
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'MainDistributionOrderId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '主分销订单号',
- 'description' => '主分销订单号',
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'TenantId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'PopResponse<Void>',
- 'description' => 'PopResponse<Void>',
- 'type' => 'object',
- 'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:modifyRefund4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
- ],
- 404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"1718921E-C8D4-55E1-B8D4-114AE537C1B7\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 12,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
- 'title' => ' 分销采购订单确认收货',
- 'summary' => '分销订单确认收货。',
- 'description' => '只支持主分销订单确认收货',
],
- 'InitApplyRefund4Distribution' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'QueryChildDivisionCodeById' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -5665,201 +1754,51 @@
'systemTags' => [],
'parameters' => [
[
- 'name' => 'SubDistributionOrderId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '子分销订单ID',
- 'description' => '子分销订单ID',
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'BizClaimType',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '退款类型',
- 'description' => '退款类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'GoodsStatus',
+ 'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '货物状态',
- 'description' => '货物状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '分销商ID', 'type' => 'string'],
],
[
- 'name' => 'DistributorId',
+ 'name' => 'DivisionCode',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户Id', 'type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<InitApplyRefundData>',
- 'description' => 'PopResponse<InitApplyRefundData>',
+ 'title' => 'PopResponse<QueryDivisionResponse>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string'],
+ 'PageSize' => ['title' => 'pageSize', 'type' => 'integer', 'format' => 'int64'],
+ 'PageNumber' => ['title' => '当前页', 'type' => 'integer', 'format' => 'int64'],
+ 'TotalCount' => ['title' => '总数量', 'type' => 'integer', 'format' => 'int64'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'type' => 'boolean'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string'],
+ 'Message' => ['title' => '错误消息', 'type' => 'string'],
'Model' => [
'title' => '请求结果数据',
- 'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'SubDistributionOrderId' => [
- 'title' => '子分销订单号',
- 'description' => '子分销订单号',
- 'type' => 'string',
- ],
- 'BizClaimType' => [
- 'title' => '支持的订单退货方式',
- 'description' => '支持的订单退货方式',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'MainOrderRefund' => [
- 'title' => '是否是整单退',
- 'description' => '是否是整单退',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'MaxRefundFeeData' => [
- 'description' => '本单退款金额区间',
- 'type' => 'object',
- 'properties' => [
- 'MaxRefundFee' => [
- 'title' => '本单最大可退款金额',
- 'description' => '本单最大可退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'MinRefundFee' => [
- 'title' => '本单最小可退款金额',
- 'description' => '本单最小可退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- ],
- ],
- 'RefundReasonList' => [
- 'description' => '退款信息列表',
+ 'DivisionList' => [
'type' => 'array',
'items' => [
- 'description' => '退款信息',
'type' => 'object',
'properties' => [
- 'ReasonTextId' => [
- 'description' => '退款信息id',
- 'type' => 'string',
- 'example' => '12323',
- ],
- 'ProofRequired' => [
- 'title' => '是否要求上传凭证',
- 'description' => '是否要求上传凭证',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ReasonTips' => [
- 'description' => '退款信息',
- 'type' => 'string',
- 'example' => '拍多不想要',
- ],
- 'RefundDescRequired' => [
- 'title' => '是否要求留言',
- 'description' => '是否要求留言',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ParentId' => ['type' => 'integer', 'format' => 'int64'],
+ 'DivisionCode' => ['type' => 'integer', 'format' => 'int64'],
+ 'DivisionName' => ['type' => 'string'],
+ 'DivisionLevel' => ['type' => 'integer', 'format' => 'int64'],
+ 'Pinyin' => ['type' => 'string'],
],
],
],
@@ -5871,293 +1810,119 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"A7BE4356-7F92-533E-A31B-2EBF2D67****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"BizClaimType\\": 1,\\n \\"MainOrderRefund\\": false,\\n \\"MaxRefundFeeData\\": {\\n \\"MaxRefundFee\\": 100,\\n \\"MinRefundFee\\": 10\\n },\\n \\"RefundReasonList\\": [\\n {\\n \\"ReasonTextId\\": \\"12323\\",\\n \\"ProofRequired\\": true,\\n \\"ReasonTips\\": \\"拍多不想要\\",\\n \\"RefundDescRequired\\": true\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '分销采购订单退款申请初始化',
- 'summary' => '初始化分销订单退款申请。',
- 'description' => '注意:订单“未发货”只能申请“仅退款(BizClaimType=1)”,订单“已发货”只能申请货物状态为“未收到货(GoodsStatus=1)”或“已收到货(GoodsStatus=2)”'."\n"
- ."\n"
- .'逆向申请具体情况如下: '."\n"
- .'payStatus即指订单状态orderStatus '."\n"
- .'售中(未确认收货 payStatus 2) '."\n"
- .'仅退款 物流状态 logisticsStatus 1未发货 货物状态 goodstatus 4未发货 '."\n"
- .'仅退款 物流状态 logisticsStatus 2已发货 货物状态 goodstatus 1未收到货 '."\n"
- .'退货退款 货物状态 goodstatus 2已收到货 '."\n"
- .'售后(已确认收货 payStatus 6) '."\n"
- .'仅退款 goodstatus 2已收到货 '."\n"
- .'退货退款 goodstatus 2已收到货',
- ],
- 'ApplyRefund4Distribution' => [
- 'methods' => [
- 'post',
+ 'changeSet' => [
+ ['createdAt' => '2022-07-21T01:58:11.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'https',
- 'http',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryChildDivisionCodeById',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"\\",\\n \\"SubCode\\": \\"\\",\\n \\"SubMessage\\": \\"\\",\\n \\"PageSize\\": 0,\\n \\"PageNumber\\": 0,\\n \\"TotalCount\\": 0,\\n \\"Success\\": true,\\n \\"Code\\": \\"\\",\\n \\"Message\\": \\"\\",\\n \\"Model\\": {\\n \\"DivisionList\\": [\\n {\\n \\"ParentId\\": 0,\\n \\"DivisionCode\\": 0,\\n \\"DivisionName\\": \\"\\",\\n \\"DivisionLevel\\": 0,\\n \\"Pinyin\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'QueryDistributionBillDetail' => [
+ 'summary' => '分销账单明细数据查询接口。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
- 'name' => 'DistributorId',
+ 'name' => 'BillId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '7662***125',
- ],
+ 'schema' => ['description' => '账单ID', 'type' => 'string', 'required' => false, 'example' => '10000007371****'],
],
[
- 'name' => 'SubDistributionOrderId',
+ 'name' => 'BillPeriod',
'in' => 'formData',
- 'schema' => [
- 'title' => '子分销订单ID',
- 'description' => '子分销订单ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DIS_343***445',
- ],
+ 'schema' => ['description' => '账单期数', 'type' => 'string', 'required' => false, 'example' => '2022-11'],
],
[
- 'name' => 'BizClaimType',
+ 'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '退款类型',
- 'description' => '退款类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '75547******9212928'],
],
[
- 'name' => 'ApplyRefundFee',
+ 'name' => 'DistributionMallId',
'in' => 'formData',
- 'schema' => [
- 'title' => '申请退款金额',
- 'description' => '申请退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '790',
- ],
+ 'schema' => ['description' => '分销商城ID', 'type' => 'string', 'required' => false, 'example' => '122889******114694'],
],
[
- 'name' => 'ApplyRefundCount',
+ 'name' => 'DistributionMallName',
'in' => 'formData',
- 'schema' => [
- 'title' => '退货数量',
- 'description' => '退货数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '商城名称', 'type' => 'string', 'required' => false, 'example' => '杭州****'],
],
[
- 'name' => 'ApplyReasonTextId',
+ 'name' => 'BillStatus',
'in' => 'formData',
- 'schema' => [
- 'title' => '退款原因ID',
- 'description' => '退款原因ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '500325',
- ],
+ 'schema' => ['description' => '账单状态', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'LeaveMessage',
+ 'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'title' => '留言',
- 'description' => '留言',
- 'type' => 'string',
- 'required' => false,
- 'example' => '快递滞留 买家申请退款',
- ],
+ 'schema' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'LeavePictureLists',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'title' => '凭证',
- 'description' => '凭证列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '退款凭证',
- 'type' => 'object',
- 'properties' => [
- 'Picture' => [
- 'description' => '图片地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://aliyundoc.com',
- ],
- 'Desc' => [
- 'description' => '图片描述',
- 'type' => 'string',
- 'required' => false,
- 'example' => '商品破损',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'GoodsStatus',
+ 'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'title' => '货物状态',
- 'description' => '货物状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '213**761',
- ],
+ 'schema' => ['description' => '租户ID', 'type' => 'string', 'required' => false, 'example' => '18******263'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<RefundApplicationData>',
- 'description' => 'PopResponse<RefundApplicationData>',
+ 'title' => 'Schema of Response',
+ 'description' => '响应数据',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '539E5C68-D8B5-57EC-9****8AFD9E0',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => 'Id of the request', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求流水号', 'type' => 'string', 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****'],
+ 'SubCode' => ['title' => 'Id of the request', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => 'Id of the request', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Success' => ['description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => 'Id of the request', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => 'Id of the request', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
- 'title' => '请求结果数据',
- 'description' => '请求结果数据',
+ 'description' => '账单数据',
'type' => 'object',
'properties' => [
- 'SubDistributionOrderId' => [
- 'title' => '当前发起逆向的子分销订单号',
- 'description' => '当前发起逆向的子分销订单号',
- 'type' => 'string',
- 'example' => 'DIS_343***445',
- ],
- 'DisputeStatus' => [
- 'title' => '逆向的状态',
- 'description' => '逆向的状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DisputeType' => [
- 'title' => '退款类型',
- 'description' => '退款类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DisputeId' => [
- 'title' => '纠纷id',
- 'description' => '纠纷id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '213***343',
+ 'PageNumber' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'Total' => ['description' => '账单总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '685'],
+ 'Data' => [
+ 'description' => '账单明细链接地址列表',
+ 'type' => 'array',
+ 'items' => ['description' => '账单明细链接地址', 'type' => 'string', 'example' => 'oss://aliyun.com/***/***/billdetail.zip'],
],
],
],
@@ -6165,54 +1930,32 @@
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"A7BE4356-7F92-533E-A31B-2EBF2D67****\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 685,\\n \\"Data\\": [\\n \\"oss://aliyun.com/***/***/billdetail.zip\\"\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '账单明细查询',
+ 'description' => '分销账单明细数据查询接口,返回明细数据下载链接地址。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDistributionBillDetail'],
],
- 404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:getDistributionBillByDistributor',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"539E5C68-D8B5-57EC-9****8AFD9E0\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"DIS_343***445\\",\\n \\"DisputeStatus\\": 1,\\n \\"DisputeType\\": 1,\\n \\"DisputeId\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"<ApplyRefund4DistributionResponse>\\n <LogsId>1</LogsId>\\n <RequestId>539E5C68-D8B5-57EC-9****8AFD9E0</RequestId>\\n <SubCode>200</SubCode>\\n <SubMessage>SUCCESS</SubMessage>\\n <PageSize>1</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1</TotalCount>\\n <Success>true</Success>\\n <Code>0000</Code>\\n <Message>SUCCESS</Message>\\n <Model>\\n <SubDistributionOrderId>DIS_343***445</SubDistributionOrderId>\\n <DisputeStatus>1</DisputeStatus>\\n <DisputeType>1</DisputeType>\\n </Model>\\n</ApplyRefund4DistributionResponse>","errorExample":""}]',
- 'title' => '分销采购订单退款申请',
- 'summary' => '分销订单退款申请。',
- 'description' => '基于 initApplyRefund4Distribution接口获取退款申请初始化信息,发起退款或者退货退款申请,该接口不支持退换货。 '."\n"
- ."\n"
- .'注意: '."\n"
- .'1.如果退款申请被卖家拒绝(通过queryRefundApplicationDetail4Distribution接口查询到disputeStatus为6时),需要先取消退款申请(通过cancelRefund接口),再申请下一次 '."\n"
- .'2.正常售中允许申请退款三次,售后允许申请退款两次,如遇超过次数后不能申请退款,需自行联系商家打开线上退款入口(售中和售后的界定边缘为:确认收货) '."\n"
- .'逆向申请具体情况如下:payStatus即指订单状态orderStatus '."\n"
- .'售中(未确认收货 payStatus 2) '."\n"
- .'仅退款 物流状态 logisticsStatus 1未发货 货物状态 goodstatus 4未发货 '."\n"
- .'仅退款 物流状态 logisticsStatus 2已发货 货物状态 goodstatus 1未收到货 '."\n"
- .'退货退款 货物状态 goodstatus 2已收到货 '."\n"
- .'售后(已确认收货 payStatus 6) '."\n"
- .'仅退款 goodstatus 2已收到货 '."\n"
- .'退货退款 goodstatus 2已收到货 '."\n"
- .'上传退款凭证须知:由于部分商家内部小二网络环境较差,请务必使用阿里云的oss服务作为您的图片存储,详细请参考:https://help.aliyun.com/document_detail/194635.htm',
],
- 'InitModifyRefund4Distribution' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'QueryDistributionMall' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -6222,256 +1965,96 @@
'systemTags' => [],
'parameters' => [
[
- 'name' => 'DistributorId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'SubDistributionOrderId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '子分销订单ID',
- 'description' => '子分销订单ID',
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'BizClaimType',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '退款类型',
- 'description' => '退款类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'DisputeId',
+ 'name' => 'DistributionMallId',
'in' => 'formData',
- 'schema' => [
- 'title' => '纠纷ID',
- 'description' => '纠纷ID,通过查询订单逆向申请详情接口获取',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '14244******33071',
- ],
+ 'schema' => ['title' => '分销商城id', 'description' => '分销商城id', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<InitApplyRefundData>',
- 'description' => 'PopResponse<InitApplyRefundData>',
+ 'title' => 'PopResponse<QueryDistributionMallModel>',
+ 'description' => 'PopResponse<QueryDistributionMallModel>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '539E5C68-D8B5-57EC-9D9B-58AFD9E0****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'SubDistributionOrderId' => [
- 'title' => '子分销订单号',
- 'description' => '子分销订单号',
- 'type' => 'string',
- ],
- 'BizClaimType' => [
- 'title' => '支持的订单退货方式',
- 'description' => '支持的订单退货方式',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'MainOrderRefund' => [
- 'title' => '是否是整单退',
- 'description' => '是否是整单退',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'MaxRefundFeeData' => [
- 'description' => '本单可退金额数据',
- 'type' => 'object',
- 'properties' => [
- 'MaxRefundFee' => [
- 'title' => '本单最大可退款金额',
- 'description' => '本单最大可退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'MinRefundFee' => [
- 'title' => '本单最小可退款金额',
- 'description' => '本单最小可退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- ],
- ],
- 'RefundReasonList' => [
- 'description' => '退款信息列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '退款信息',
- 'type' => 'object',
- 'properties' => [
- 'ReasonTextId' => [
- 'description' => '退款信息id',
- 'type' => 'string',
- 'example' => '12323',
- ],
- 'ProofRequired' => [
- 'title' => '是否要求上传凭证',
- 'description' => '是否要求上传凭证',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ReasonTips' => [
- 'description' => '退款信息',
- 'type' => 'string',
- 'example' => '拍多不想要',
- ],
- 'RefundDescRequired' => [
- 'title' => '是否要求留言',
- 'description' => '是否要求留言',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
+ 'DistributorId' => ['title' => '分销商id', 'description' => '分销商id', 'type' => 'string', 'example' => '1'],
+ 'DistributionMallId' => ['title' => '分销商城id', 'description' => '分销商城id', 'type' => 'string', 'example' => '1'],
+ 'DistributionMallName' => ['title' => '分销商城名称', 'description' => '分销商城名称', 'type' => 'string', 'example' => '分销商城名称'],
+ 'ChannelSupplierId' => ['title' => '渠道供应商id', 'description' => '渠道供应商id', 'type' => 'string'],
+ 'DistributionMallType' => ['title' => '商城模式', 'description' => '商城模式(SaaS,API)', 'type' => 'string', 'example' => 'SaaS'],
+ 'StartDate' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'example' => '2021-12-10 00:00:00'],
+ 'EndDate' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'example' => '2022-10-31 23:59:59'],
+ 'Status' => ['title' => '分销商城状态', 'description' => '分销商城状态', 'type' => 'string', 'example' => '""'],
],
],
+ 'BizViewData' => [
+ 'description' => '渠道公共数据',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'any', 'description' => ''],
+ ],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"539E5C68-D8B5-57EC-9D9B-58AFD9E0****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 10,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"DistributorId\\": \\"1\\",\\n \\"DistributionMallId\\": \\"1\\",\\n \\"DistributionMallName\\": \\"分销商城名称\\",\\n \\"ChannelSupplierId\\": \\"\\",\\n \\"DistributionMallType\\": \\"SaaS\\",\\n \\"StartDate\\": \\"2021-12-10 00:00:00\\",\\n \\"EndDate\\": \\"2022-10-31 23:59:59\\",\\n \\"Status\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"BizViewData\\": {\\n \\"key\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'title' => '分销商城查询',
+ 'summary' => '分销商查询自己拥有的商城信息'."\n"
+ .'。',
+ 'description' => '分销商查询自己拥有的商城信息'."\n",
+ 'changeSet' => [
+ ['createdAt' => '2022-07-21T09:00:42.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryDistributionMall',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"BizClaimType\\": 1,\\n \\"MainOrderRefund\\": false,\\n \\"MaxRefundFeeData\\": {\\n \\"MaxRefundFee\\": 10,\\n \\"MinRefundFee\\": 100\\n },\\n \\"RefundReasonList\\": [\\n {\\n \\"ReasonTextId\\": \\"12323\\",\\n \\"ProofRequired\\": true,\\n \\"ReasonTips\\": \\"拍多不想要\\",\\n \\"RefundDescRequired\\": true\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '分销采购订单退款申请修改初始化',
- 'summary' => '分销订单退款申请修改初始化。',
- 'description' => '获取订单相关的逆向修改数据,必须在发起退款申请之后调用。 '."\n"
- ."\n"
- .'注意:订单“未发货”只能申请“仅退款(BizClaimType=1)”,订单“已发货”只能申请货物状态为“未收到货(GoodsStatus=1)”或“已收到货(GoodsStatus=2)” '."\n"
- .'逆向修改申请具体情况如下:payStatus即指订单状态orderStatus '."\n"
- .'售中(未确认收货 payStatus 2) '."\n"
- .'仅退款 物流状态 logisticsStatus 1未发货 货物状态 goodstatus 4未发货 '."\n"
- .'仅退款 物流状态 logisticsStatus 2已发货 货物状态 goodstatus 1未收到货 '."\n"
- .'退货退款 货物状态 goodstatus 2已收到货 '."\n"
- .'售后(已确认收货 payStatus 6) '."\n"
- .'仅退款 goodstatus 2已收到货 '."\n"
- .'退货退款 goodstatus 2已收到货 ',
],
- 'ModifyRefund4Distribution' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'QueryDistributionTradeStatus' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -6483,307 +2066,85 @@
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '766***221',
- ],
- ],
- [
- 'name' => 'SubDistributionOrderId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '子分销订单ID',
- 'description' => '子分销订单ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DIS_153***851',
- ],
- ],
- [
- 'name' => 'BizClaimType',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '退款类型',
- 'description' => '退款类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'ApplyRefundFee',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '申请退款金额',
- 'description' => '申请退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '790',
- ],
- ],
- [
- 'name' => 'ApplyRefundCount',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '退货数量',
- 'description' => '退货数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'ApplyReasonTextId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '退款原因ID',
- 'description' => '退款原因ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '500325',
- ],
- ],
- [
- 'name' => 'LeaveMessage',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '留言',
- 'description' => '留言',
- 'type' => 'string',
- 'required' => false,
- 'example' => '快递滞留 买家申请退款',
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'LeavePictureLists',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'title' => '凭证',
- 'description' => '凭证列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '退款凭证信息',
- 'type' => 'object',
- 'properties' => [
- 'Desc' => [
- 'description' => '图片描述',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://aliyundoc.com',
- ],
- 'Picture' => [
- 'description' => '图片地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => '商品破损',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'GoodsStatus',
+ 'name' => 'DistributionSupplierId',
'in' => 'formData',
- 'schema' => [
- 'title' => '货物状态',
- 'description' => '货物状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '渠道供应商ID', 'description' => '渠道供应商ID', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'DisputeId',
+ 'name' => 'DistributionTradeId',
'in' => 'formData',
- 'schema' => [
- 'title' => '纠纷id',
- 'description' => '纠纷id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '235***343',
- ],
+ 'schema' => ['title' => '分销交易号', 'description' => '分销交易号', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '213**112',
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<RefundApplicationData>',
- 'description' => 'PopResponse<RefundApplicationData>',
+ 'title' => 'PopResponse<String>',
+ 'description' => 'PopResponse<String>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '539E5C68-D8B5-57EC-9****8AFD9E0',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Model' => [
- 'title' => '请求结果数据',
- 'description' => '请求结果数据',
- 'type' => 'object',
- 'properties' => [
- 'SubDistributionOrderId' => [
- 'title' => '当前发起逆向的子分销订单号',
- 'description' => '当前发起逆向的子分销订单号',
- 'type' => 'string',
- 'example' => 'DIS_153***851',
- ],
- 'DisputeStatus' => [
- 'title' => '逆向的状态',
- 'description' => '逆向的状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'DisputeType' => [
- 'title' => '退款类型',
- 'description' => '退款类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DisputeId' => [
- 'title' => '纠纷id',
- 'description' => '纠纷id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '235***343',
- ],
- ],
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Model' => ['title' => '请求结果数据', 'description' => '请求结果数据', 'type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"539E5C68-D8B5-57EC-9****8AFD9E0\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"DIS_153***851\\",\\n \\"DisputeStatus\\": 5,\\n \\"DisputeType\\": 1,\\n \\"DisputeId\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"<ModifyRefund4DistributionResponse>\\n <LogsId>1</LogsId>\\n <RequestId>539E5C68-D8B5-57EC-9****8AFD9E0</RequestId>\\n <SubCode>200</SubCode>\\n <SubMessage>SUCCESS</SubMessage>\\n <PageSize>1</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1</TotalCount>\\n <Success>false</Success>\\n <Code>0000</Code>\\n <Message>\\"\\"</Message>\\n <Model>\\n <SubDistributionOrderId>DIS_153***851</SubDistributionOrderId>\\n <DisputeStatus>5</DisputeStatus>\\n <DisputeType>1</DisputeType>\\n </Model>\\n</ModifyRefund4DistributionResponse>","errorExample":""}]',
- 'title' => '分销采购订单退款申请修改',
- 'summary' => '分销订单退款申请修改。',
- 'description' => '基于 initModifyRefund4Distribution 接口获取退款信息,发起退款或者退货退款修改申请,该接口不支持退换货'."\n"
- ."\n"
- .'注意: '."\n"
- .'1.退款申请被卖家拒绝(通过queryRefundApplicationDetail4Distribution 接口查询到disputeStatus为6时)后,通过逆向修改申请借款,重新发起退款申请 '."\n"
- .'2.正常售中允许申请退款三次,售后允许申请退款两次,如遇超过次数后不能申请退款,需自行联系商家打开线上退款入口(售中和售后的界定边缘为:确认收货) '."\n"
- .'逆向修改申请具体情况如下:payStatus即指订单状态orderStatus '."\n"
- .'售中(未确认收货 payStatus 2) '."\n"
- .'仅退款 物流状态 logisticsStatus 1未发货 货物状态 goodstatus 4未发货 '."\n"
- .'仅退款 物流状态 logisticsStatus 2已发货 货物状态 goodstatus 1未收到货 '."\n"
- .'退货退款 货物状态 goodstatus 2已收到货 '."\n"
- .'售后(已确认收货 payStatus 6) '."\n"
- .'仅退款 goodstatus 2已收到货 '."\n"
- .'退货退款 goodstatus 2已收到货 '."\n"
- .'上传退款凭证须知:由于部分商家内部小二网络环境较差,请务必使用阿里云的oss服务作为您的图片存储,详细请参考: '."\n"
- .' https://help.aliyun.com/document_detail/194635.htm',
- ],
- 'CancelRefund4Distribution' => [
- 'methods' => [
- 'post',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": \\"\\"\\n}","type":"json"}]',
+ 'title' => '查询分销交易状态',
+ 'summary' => '查询分销交易状态。',
+ 'description' => '只返回分销交易状态。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'https',
- 'http',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDistributionTradeStatus'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryDistributionTradeStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'QueryItemDetail' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -6795,332 +2156,488 @@
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商id', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'SubDistributionOrderId',
+ 'name' => 'DistributionMallId',
'in' => 'formData',
- 'schema' => [
- 'title' => '子分销订单ID',
- 'description' => '子分销订单ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '分销商商城ID', 'description' => '分销商商城id', 'type' => 'string', 'required' => false],
],
[
- 'name' => 'DisputeId',
+ 'name' => 'LmItemId',
'in' => 'formData',
- 'schema' => [
- 'title' => '纠纷ID',
- 'description' => '纠纷ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '14244******33071',
- ],
+ 'schema' => ['title' => 'lm商品ID', 'description' => 'lm商品ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户ID', 'description' => '租户ID', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<RefundApplicationData>',
- 'description' => 'PopResponse<RefundApplicationData>',
+ 'title' => 'PopResponse<DistributionItemDetailModel>',
+ 'description' => 'PopResponse<ItemModel>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '3B55509D-20AC-5BD5-9A81-D6B7382E****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'E46C790E-B1F2-51EF-B6F8-B52404B5****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'BizItemGroup [LMALL20210830****] has not the item [65728655****].'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'SubDistributionOrderId' => [
- 'title' => '当前发起逆向的子分销订单号',
- 'description' => '当前发起逆向的子分销订单号',
- 'type' => 'string',
+ 'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string'],
+ 'SkuModels' => [
+ 'title' => 'sku list',
+ 'description' => 'sku list',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string'],
+ 'ExtJson' => ['title' => '预留扩展字段,JSON-Map结构', 'description' => '预留扩展字段,JSON-Map结构', 'type' => 'string'],
+ 'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string'],
+ 'ItemId' => ['title' => 'IC商品ID', 'description' => 'IC商品ID', 'type' => 'integer', 'format' => 'int64'],
+ 'SkuId' => ['title' => '没有sku的商品,skuId填-1', 'description' => '没有sku的商品,skuId填-1', 'type' => 'integer', 'format' => 'int64'],
+ 'SkuPvs' => ['title' => 'Sku对应的属性PV值组合,如 1627207:28320;5919063:6536025;12304035:75366283;122216431:27772', 'description' => 'Sku对应的属性PV值组合,如 1627207:28320;5919063:6536025;12304035:75366283;122216431:27772', 'type' => 'string'],
+ 'SkuPicUrl' => ['title' => 'Sku图片', 'description' => 'Sku图片', 'type' => 'string'],
+ 'SkuTitle' => ['title' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。', 'description' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。', 'type' => 'string'],
+ 'Quantity' => ['title' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'description' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'type' => 'integer', 'format' => 'int32'],
+ 'SimpleQuantity' => ['title' => 'SKU模糊化库存', 'description' => 'SKU模糊化库存', 'type' => 'string'],
+ 'HasQuantity' => ['title' => '是否有库存,返回的是库存状态,有或者没有', 'description' => '是否有库存,返回的是库存状态,有或者没有', 'type' => 'boolean'],
+ 'ReservedPrice' => ['title' => 'IC SKU 一口价', 'description' => 'IC SKU 一口价', 'type' => 'integer', 'format' => 'int64'],
+ 'PriceCent' => ['title' => '商品销售价格(分)', 'description' => '商品销售价格(分)', 'type' => 'integer', 'format' => 'int64'],
+ 'Status' => ['title' => '商品规格对应的售卖状态', 'description' => '商品规格对应的售卖状态', 'type' => 'integer', 'format' => 'int32'],
+ 'CustomizedAttributeMap' => [
+ 'title' => '客户自定义属性',
+ 'description' => '客户自定义属性',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => ''],
+ ],
+ 'LmSkuAttributeMap' => [
+ 'title' => 'Linkedmall 平台SKU的属性',
+ 'description' => 'Linkedmall 平台SKU的属性',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => ''],
+ ],
+ 'CanNotBeSoldCode' => ['title' => '不可售code 可售时为null', 'description' => '不可售code 可售时为null', 'type' => 'string'],
+ 'CanNotBeSoldMessage' => ['title' => '不可售Massage 可售时为null', 'description' => '不可售Massage 可售时为null', 'type' => 'string'],
+ 'InvoiceType' => ['title' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum', 'description' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum', 'type' => 'integer', 'format' => 'int32'],
+ ],
+ 'description' => '',
+ ],
],
- 'DisputeStatus' => [
- 'title' => '逆向的状态',
- 'description' => '逆向的状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'SkuPropertys' => [
+ 'title' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
+ 'description' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ 'Text' => ['type' => 'string', 'description' => ''],
+ 'Values' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ 'Text' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'description' => '',
+ ],
],
- 'DisputeType' => [
- 'title' => '退款类型',
- 'description' => '退款类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string'],
+ 'ItemId' => ['title' => 'IC商品ID', 'description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '65******0310'],
+ 'ItemTitle' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string', 'example' => '大自然酸菜(美好生鲜)'],
+ 'MainPicUrl' => ['title' => '主图', 'description' => '主图', 'type' => 'string'],
+ 'FirstPicUrl' => ['title' => 'itemDO.commonItemImageList第一张', 'description' => '商品主图', 'type' => 'string', 'example' => 'http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/pic/edf8d848fa80b1cac055c94652f*****.jpg'],
+ 'ItemImages' => [
+ 'title' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
+ 'description' => '商品图片列表',
+ 'type' => 'array',
+ 'items' => ['description' => '商品图片列表', 'type' => 'string', 'example' => '<p><img src=\\"https://img.alicdn.com/imgextra/i2/2207523123246/O1CN01pyEmOb1ZqiNAnQPjQ_!!22075231******.png\\" align=\\"absmiddle\\"></p>'],
+ ],
+ 'DescPath' => ['title' => '商品详情介绍-图片介绍,URL', 'description' => '商品详情介绍-图片介绍,URL', 'type' => 'string'],
+ 'DescOption' => ['title' => '商品详情介绍-图片介绍信息', 'description' => '商品详情描述', 'type' => 'string', 'example' => '{}'],
+ 'MinPrice' => ['title' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)', 'description' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)', 'type' => 'integer', 'format' => 'int64'],
+ 'ReservedPrice' => ['title' => '商品原价,可用于显示划线价', 'description' => '商品原价,可用于显示划线价', 'type' => 'integer', 'format' => 'int64'],
+ 'Quantity' => ['title' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'description' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'type' => 'integer', 'format' => 'int32'],
+ 'SimpleQuantity' => ['title' => '模糊化库存', 'description' => '模糊化库存', 'type' => 'string'],
+ 'HasQuantity' => ['title' => '是否有库存,返回的是库存状态,有或者没有', 'description' => '是否有库存,返回的是库存状态,有或者没有', 'type' => 'boolean'],
+ 'CategoryId' => ['title' => '类目ID', 'description' => '最后⼀级的类⽬ID,之后会提供类⽬查询接⼝来获取商品所属类⽬信息', 'type' => 'integer', 'format' => 'int64', 'example' => '50011982'],
+ 'CategoryIds' => [
+ 'title' => '类目ID,父类目在前,子类目在后',
+ 'description' => '类目ID,父类目在前,子类目在后',
+ 'type' => 'array',
+ 'items' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
],
- 'DisputeId' => [
- 'title' => '纠纷id',
- 'description' => '纠纷id',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'Prov' => ['title' => '商品所在城市:如杭州', 'description' => '商品所在城市:如杭州', 'type' => 'string'],
+ 'City' => ['title' => '商品所在省份:如浙江', 'description' => '商品所在省份:如浙江', 'type' => 'string'],
+ 'Properties' => [
+ 'title' => '产品属性,产品参数,供Detail页面显示使用,从itemDO.itemProperties转换而来',
+ 'description' => '产品参数',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => ''],
+ 'description' => '产品参数',
+ 'example' => '{"key":"value"}',
+ ],
+ ],
+ 'Features' => [
+ 'title' => '产品特征,从itemDO.Features转换而来',
+ 'description' => '产品特征,从itemDO.Features转换而来',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => ''],
+ ],
+ 'IforestProps' => [
+ 'title' => '宝石路属性,关键属性,供Detail页面显示使用,从itemDO.itemProperties转换而来',
+ 'description' => '商品详情页商品名称下面的三列属性',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '商品详情页商品名称下面的三列属性',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '商品详情页商品名称下面的三列属性', 'example' => '""'],
+ ],
],
+ 'IsSellerPayPostfee' => ['title' => '是否包邮', 'description' => '是否包邮', 'type' => 'boolean'],
+ 'IsCanSell' => ['title' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;', 'description' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;', 'type' => 'boolean'],
+ 'LmItemCategory' => ['title' => '商品在linkedmall平台的类型', 'description' => '商品类别', 'type' => 'string', 'example' => 'entity'],
+ 'CustomizedAttributeMap' => [
+ 'title' => '客户自定义属性',
+ 'description' => '客户自定义属性',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => ''],
+ ],
+ 'LmItemAttributeMap' => [
+ 'title' => 'Linkedmall 平台商品属性',
+ 'description' => 'Linkedmall 平台商品属性',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => ''],
+ ],
+ 'Current' => ['title' => '当前时间', 'description' => '当前时间', 'type' => 'string'],
+ 'VirtualItemType' => ['title' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)', 'description' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)', 'type' => 'string'],
+ 'ThirdPartyItemId' => ['title' => '外部商品id (来自第三方的商品)', 'description' => '外部商品id (来自第三方的商品)', 'type' => 'string'],
+ 'ThirdPartyName' => ['title' => '商品来源 (标记第三方商品的来源)', 'description' => '商品来源 (标记第三方商品的来源)', 'type' => 'string'],
+ 'VideoUrl' => ['title' => '视频url', 'description' => '视频链接地址', 'type' => 'string', 'example' => 'http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/video/edf8d848fa80b1cac055c94652******.mp4'],
+ 'VideoPicUrl' => ['title' => '视频封面url', 'description' => '视频头图链接地址', 'type' => 'string', 'example' => 'http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/pic/edf8d848fa80b1cac055c94652*****.jpg'],
+ 'CanNotBeSoldCode' => ['title' => '不可售code 可售时为null', 'description' => '不可售code 可售时为null', 'type' => 'string'],
+ 'CanNotBeSoldMessage' => ['title' => '不可售Massage 可售时为null', 'description' => '不可售Massage 可售时为null', 'type' => 'string'],
+ 'ItemTotalValue' => ['title' => '总量库存值', 'description' => '总量库存值', 'type' => 'integer', 'format' => 'int32'],
+ 'ItemTotalSimpleValue' => ['type' => 'string', 'description' => ''],
+ 'InvoiceType' => ['title' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum', 'description' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum', 'type' => 'integer', 'format' => 'int32'],
],
],
+ 'BizViewData' => [
+ 'description' => '渠道公共数据',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'any', 'description' => ''],
+ ],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"E46C790E-B1F2-51EF-B6F8-B52404B5****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"BizItemGroup [LMALL20210830****] has not the item [65728655****].\\",\\n \\"Model\\": {\\n \\"DistributionMallId\\": \\"\\",\\n \\"SkuModels\\": [\\n {\\n \\"DistributionMallId\\": \\"\\",\\n \\"ExtJson\\": \\"\\",\\n \\"LmItemId\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": 0,\\n \\"SkuPvs\\": \\"\\",\\n \\"SkuPicUrl\\": \\"\\",\\n \\"SkuTitle\\": \\"\\",\\n \\"Quantity\\": 0,\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"ReservedPrice\\": 0,\\n \\"PriceCent\\": 0,\\n \\"Status\\": 0,\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"LmSkuAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"CanNotBeSoldCode\\": \\"\\",\\n \\"CanNotBeSoldMessage\\": \\"\\",\\n \\"InvoiceType\\": 0\\n }\\n ],\\n \\"SkuPropertys\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"\\",\\n \\"Values\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"LmItemId\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"ItemTitle\\": \\"大自然酸菜(美好生鲜)\\",\\n \\"MainPicUrl\\": \\"\\",\\n \\"FirstPicUrl\\": \\"http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/pic/edf8d848fa80b1cac055c94652f*****.jpg\\",\\n \\"ItemImages\\": [\\n \\"<p><img src=\\\\\\\\\\\\\\"https://img.alicdn.com/imgextra/i2/2207523123246/O1CN01pyEmOb1ZqiNAnQPjQ_!!22075231******.png\\\\\\\\\\\\\\" align=\\\\\\\\\\\\\\"absmiddle\\\\\\\\\\\\\\"></p>\\"\\n ],\\n \\"DescPath\\": \\"\\",\\n \\"DescOption\\": \\"{}\\",\\n \\"MinPrice\\": 0,\\n \\"ReservedPrice\\": 0,\\n \\"Quantity\\": 0,\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"CategoryId\\": 50011982,\\n \\"CategoryIds\\": [\\n 0\\n ],\\n \\"Prov\\": \\"\\",\\n \\"City\\": \\"\\",\\n \\"Properties\\": {\\n \\"key\\": [\\n \\"\\"\\n ]\\n },\\n \\"Features\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"IforestProps\\": [\\n {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"IsSellerPayPostfee\\": true,\\n \\"IsCanSell\\": true,\\n \\"LmItemCategory\\": \\"entity\\",\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"LmItemAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"Current\\": \\"\\",\\n \\"VirtualItemType\\": \\"\\",\\n \\"ThirdPartyItemId\\": \\"\\",\\n \\"ThirdPartyName\\": \\"\\",\\n \\"VideoUrl\\": \\"http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/video/edf8d848fa80b1cac055c94652******.mp4\\",\\n \\"VideoPicUrl\\": \\"http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"CanNotBeSoldCode\\": \\"\\",\\n \\"CanNotBeSoldMessage\\": \\"\\",\\n \\"ItemTotalValue\\": 0,\\n \\"ItemTotalSimpleValue\\": \\"\\",\\n \\"InvoiceType\\": 0\\n },\\n \\"BizViewData\\": {\\n \\"key\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'title' => '查询商品详情接口',
+ 'summary' => '查询单个商品的详细信息'."\n"
+ .'。',
+ 'description' => '查询单个商品的详细信息'."\n",
+ 'changeSet' => [
+ ['createdAt' => '2022-09-23T10:55:35.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2022-05-31T09:47:28.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryItemDetail',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"3B55509D-20AC-5BD5-9A81-D6B7382E****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 12,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"DisputeStatus\\": 1,\\n \\"DisputeType\\": 1,\\n \\"DisputeId\\": 0\\n }\\n}","type":"json"}]',
- 'title' => '取消分销采购订单退款申请',
- 'summary' => '取消分销订单退款申请。',
- 'description' => '如果已经提交了退款申请,商家还未响应时,客户想取消退款申请,可以通过此接口取消。 '."\n"
- .'注意:disputeId字段需要通过查询订单逆向申请详情(queryRefundApplicationDetail4DistributionOrder)接口获取'."\n",
],
- 'SubmitReturnGoodLogistics4Distribution' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'QueryItemDetailWithDivision' => [
+ 'summary' => '支持根据区域查询商品详细信息接口。',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '分销商id', 'description' => '分销商id', 'type' => 'string', 'required' => false, 'example' => '75547******9212928'],
],
[
- 'name' => 'SubDistributionOrderId',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '子分销订单ID',
- 'description' => '子分销订单ID',
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'DisputeId',
+ 'name' => 'DistributionMallId',
'in' => 'formData',
- 'schema' => [
- 'title' => '纠纷ID',
- 'description' => '纠纷ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '14244******33071',
- ],
+ 'schema' => ['title' => '分销商商城id', 'description' => '分销商商城id', 'type' => 'string', 'required' => false, 'example' => '1339d4e******46ea9d126df506af8d2b'],
],
[
- 'name' => 'LogisticsNo',
+ 'name' => 'LmItemId',
'in' => 'formData',
- 'schema' => [
- 'title' => '物流单号',
- 'description' => '物流单号',
- 'type' => 'string',
- 'required' => false,
- 'example' => ' SF131*****7061',
- ],
+ 'schema' => ['title' => 'lm商品ID', 'description' => 'lm商品ID', 'type' => 'string', 'required' => false, 'example' => '10000035-61936646****'],
],
[
- 'name' => 'CpCode',
+ 'name' => 'DivisionCode',
'in' => 'formData',
- 'schema' => [
- 'title' => '公司代码',
- 'description' => '公司代码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SF',
- ],
+ 'schema' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '410503006'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '18******263'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<Void>',
- 'description' => 'PopResponse<Void>',
+ 'title' => 'PopResponse<DistributionItemDetailModel>',
+ 'description' => 'PopResponse<DistributionItemDetailModel>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'BA157565-3358-5D80-9330-************'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '201'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'Success'],
+ 'Model' => [
+ 'title' => '请求结果数据',
+ 'description' => '请求结果数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string', 'example' => '122889******114694'],
+ 'SkuModels' => [
+ 'title' => 'sku list',
+ 'description' => 'sku list',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string', 'example' => '401e6c8****39b05797ac841907ca'],
+ 'ExtJson' => ['title' => '预留扩展字段,JSON-Map结构', 'description' => '预留扩展字段,JSON-Map结构', 'type' => 'string', 'example' => '{\\"outShopId\\":\\"3163****7\\"}'],
+ 'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string', 'example' => '10026053-67222490****'],
+ 'ItemId' => ['title' => 'IC商品ID', 'description' => 'IC商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '56090358****'],
+ 'SkuId' => ['title' => 'skuId(如果一个品没有sku,则构造一个id为-1的sku。数量库里0和-1都是表示没有SKU的商品,DB 中统一使用-1),如 3428785463017', 'description' => 'skuId(如果一个品没有sku,则构造一个id为-1的sku。数量库里0和-1都是表示没有SKU的商品,DB 中统一使用-1),如 3428785463017', 'type' => 'integer', 'format' => 'int64', 'example' => '-1'],
+ 'SkuPvs' => ['title' => 'Sku对应的属性PV值组合,如 1627207:28320;5919063:6536025;12304035:75366283;122216431:27772', 'description' => 'Sku对应的属性PV值组合,如 1627207:28320;5919063:6536025;12304035:75366283;122216431:27772', 'type' => 'string', 'example' => '1627207:28320;5919063:6536025;12304035:75366283;122216431:27772'],
+ 'SkuPicUrl' => ['title' => 'Sku图片', 'description' => 'Sku图片', 'type' => 'string', 'example' => 'img/12344***.jpg'],
+ 'SkuTitle' => ['title' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。', 'description' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。', 'type' => 'string', 'example' => '*****罐头'],
+ 'Quantity' => ['title' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'description' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'type' => 'integer', 'format' => 'int32', 'example' => '-1'],
+ 'SimpleQuantity' => ['title' => 'SKU模糊化库存', 'description' => 'SKU模糊化库存', 'type' => 'string', 'example' => '有货、无货、库存紧张'],
+ 'HasQuantity' => ['title' => '是否有库存,返回的是库存状态,有或者没有', 'description' => '是否有库存,返回的是库存状态,有或者没有', 'type' => 'boolean', 'example' => 'true'],
+ 'ReservePrice' => ['title' => 'IC SKU 一口价', 'description' => 'IC SKU 一口价', 'type' => 'integer', 'format' => 'int64', 'example' => '788'],
+ 'PriceCent' => ['title' => '商品销售价格(分)', 'description' => '商品销售价格(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '3990'],
+ 'SupplierPrice' => ['title' => '供货价(分)', 'description' => '供货价(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '9900'],
+ 'Status' => ['title' => '商品规格对应的售卖状态', 'description' => '商品规格对应的售卖状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'CustomizedAttributeMap' => [
+ 'title' => '客户自定义属性',
+ 'description' => '客户自定义属性',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '自定义属性对', 'example' => '颜色分类~~白色'."\n"
+ .'款式~~圆头'],
+ ],
+ 'LmSkuAttributeMap' => [
+ 'title' => 'Linkedmall 平台SKU的属性',
+ 'description' => 'Linkedmall 平台SKU的属性',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => 'Linkedmall自定义属性对', 'example' => '颜色分类~~白色'."\n"
+ .'款式~~圆头'],
+ ],
+ 'CanNotBeSoldCode' => ['title' => '不可售code 可售时为null', 'description' => '不可售code 可售时为null', 'type' => 'string', 'example' => 'NULL'],
+ 'CanNotBeSoldMassage' => ['title' => '不可售Massage 可售时为null', 'description' => '不可售Massage 可售时为null', 'type' => 'string', 'example' => 'NULL'],
+ 'InvoiceType' => ['title' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum', 'description' => '发票类型', 'type' => 'integer', 'format' => 'int32'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'SkuPropertys' => [
+ 'title' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
+ 'description' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => 'sku属性id', 'type' => 'integer', 'format' => 'int64', 'example' => '44042249****'],
+ 'Text' => ['description' => '属性名', 'type' => 'string', 'example' => '162720***'],
+ 'Values' => [
+ 'description' => '属性值集合',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '属性值对',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '属性值id', 'type' => 'integer', 'format' => 'int64', 'example' => '44042249****'],
+ 'Text' => ['description' => '属性值', 'type' => 'string', 'example' => '颜色~~白色'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string', 'example' => '10000**-630292***'],
+ 'ItemId' => ['title' => 'IC商品ID', 'description' => 'IC商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '65******0310'],
+ 'ItemTitle' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string', 'example' => '夏季***百搭小白鞋'],
+ 'MainPicUrl' => ['title' => '主图', 'description' => '主图', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n"],
+ 'FirstPicUrl' => ['title' => 'itemDO.commonItemImageList第一张', 'description' => 'itemDO.commonItemImageList第一张', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n"],
+ 'ItemImages' => [
+ 'title' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
+ 'description' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n", 'description' => ''],
+ ],
+ 'DescPath' => ['title' => '商品详情介绍-图片介绍,URL', 'description' => '商品详情介绍-图片介绍,URL', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'],
+ 'DescOption' => ['title' => '商品详情介绍-图片介绍信息', 'description' => '商品详情介绍-图片介绍信息', 'type' => 'string', 'example' => '<img>pic/edf8d848fa80b1cac055c94652*****.jpg</img>'],
+ 'MinPrice' => ['title' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)', 'description' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)', 'type' => 'integer', 'format' => 'int64', 'example' => '3900'],
+ 'ReservePrice' => ['title' => '商品原价,可用于显示划线价', 'description' => '商品原价,可用于显示划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '3900'],
+ 'Quantity' => ['title' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'description' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'type' => 'integer', 'format' => 'int32', 'example' => '-1'],
+ 'SimpleQuantity' => ['title' => '模糊化库存', 'description' => '模糊化库存', 'type' => 'string', 'example' => '有货'."\n"
+ .'无货'."\n"
+ .'库存紧张'],
+ 'HasQuantity' => ['title' => '是否有库存,返回的是库存状态,有或者没有', 'description' => '是否有库存,返回的是库存状态,有或者没有', 'type' => 'boolean'],
+ 'CategoryId' => ['title' => '类目ID', 'description' => '类目ID', 'type' => 'integer', 'format' => 'int64', 'example' => '50011****'],
+ 'CategoryIds' => [
+ 'title' => '类目ID,父类目在前,子类目在后',
+ 'description' => '类目ID,父类目在前,子类目在后',
+ 'type' => 'array',
+ 'items' => ['type' => 'integer', 'format' => 'int64', 'example' => '205879***', 'description' => ''],
+ ],
+ 'Prov' => ['title' => '商品所在城市:如杭州', 'description' => '商品所在城市:如杭州', 'type' => 'string', 'example' => '浙江'],
+ 'City' => ['title' => '商品所在省份:如浙江', 'description' => '商品所在省份:如浙江', 'type' => 'string', 'example' => '杭州'],
+ 'Properties' => [
+ 'title' => '产品属性,产品参数,供Detail页面显示使用,从itemDO.itemProperties转换而来',
+ 'description' => '产品属性,产品参数,供Detail页面显示使用',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'example' => '颜色分类~~白色'."\n"
+ .'款式~~圆头', 'description' => '属性值'],
+ 'description' => '属性集合',
+ ],
+ ],
+ 'Features' => [
+ 'title' => '产品特征,从itemDO.Features转换而来',
+ 'description' => '产品特征',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'example' => '[{\'Enable\': False, \'Name\': \'CLEANUP_SHADOW_IF_FAILED\'}, {\'Enable\': False, \'Name\': \'CLEANUP_RESTORE_SERVER_IF_FAILED\'}, {\'Enable\': True, \'Name\': \'AUTO_ENLARGE_ADD_DISK\'}]', 'description' => '产品特征'],
+ ],
+ 'IforestProps' => [
+ 'title' => '宝石路属性,关键属性,供Detail页面显示使用,从itemDO.itemProperties转换而来',
+ 'description' => '宝石路属性,关键属性,供Detail页面显示使用',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '属性对象',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '属性值', 'example' => '颜色分类~~白色'."\n"
+ .'款式~~圆头'],
+ ],
+ ],
+ 'SellerPayPostfee' => ['title' => '是否包邮', 'description' => '是否包邮', 'type' => 'boolean', 'example' => 'true'],
+ 'CanSell' => ['title' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;', 'description' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;', 'type' => 'boolean', 'example' => 'true'],
+ 'LmItemCategory' => [
+ 'title' => '商品在linkedmall平台的类型',
+ 'description' => '商品在linkedmall平台的类型',
+ 'type' => 'string',
+ 'enumValueTitles' => ['aliComBenifit' => '虚拟商品', 'entity' => '实物商品'],
+ 'example' => 'entity',
+ ],
+ 'CustomizedAttributeMap' => [
+ 'title' => '客户自定义属性',
+ 'description' => '客户自定义属性',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => ''],
+ ],
+ 'LmItemAttributeMap' => [
+ 'title' => 'Linkedmall 平台商品属性',
+ 'description' => 'Linkedmall 平台商品属性',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => ''],
+ ],
+ 'Current' => ['title' => '当前时间', 'description' => '当前时间', 'type' => 'string', 'example' => '2020-01-01 00:00:00'],
+ 'VirtualItemType' => [
+ 'title' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)',
+ 'description' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)',
+ 'type' => 'string',
+ 'enumValueTitles' => ['fuelCard' => '油卡', 'cardRoll' => '卡券', 'rechageableCard' => '充值卡'],
+ 'example' => 'cardRoll',
+ ],
+ 'UserType' => [
+ 'title' => '卖家类型:可以用于区分商品类型,null或是0-集市卖家,1-天猫卖家,2-1688卖家,4-后端商家,8-1688云电商卖家',
+ 'description' => '卖家类型:可以用于区分商品类型,null或是0-集市卖家,1-天猫卖家,2-1688卖家,4-后端商家,8-1688云电商卖家',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'enumValueTitles' => ['集市卖家', '天猫卖家', '1688卖家', 4 => '后端商家', 6 => '1688云电商卖家'],
+ 'example' => '1',
+ ],
+ 'SecuredTransactions' => [
+ 'title' => '是否开通担保交易 0 未开通,1 已开通,2 未设置, 3 审核中, 4 开通失败',
+ 'description' => '是否开通担保交易 0 未开通,1 已开通,2 未设置, 3 审核中, 4 开通失败',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'enumValueTitles' => ['未开通', '已开通', '未设置', '审核中', '开通失败'],
+ 'example' => '1',
+ ],
+ 'ThirdPartyItemId' => ['title' => '外部商品id (来自第三方的商品)', 'description' => '外部商品id (来自第三方的商品)', 'type' => 'string', 'example' => '44042249****'."\n"],
+ 'ThirdPartyName' => ['title' => '商品来源 (标记第三方商品的来源)', 'description' => '商品来源 (标记第三方商品的来源)', 'type' => 'string', 'example' => '三方商品来源'],
+ 'VideoUrl' => ['title' => '视频url', 'description' => '视频url', 'type' => 'string', 'example' => 'video/edf8d848fa80b1cac055c94652******.mp4'],
+ 'VideoPicUrl' => ['title' => '视频封面url', 'description' => '视频封面url', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'],
+ 'CanNotBeSoldCode' => ['title' => '不可售code 可售时为null', 'description' => '不可售code 可售时为null', 'type' => 'string', 'example' => 'NULL'],
+ 'CanNotBeSoldMassage' => ['title' => '不可售Massage 可售时为null', 'description' => '不可售Massage 可售时为null', 'type' => 'string', 'example' => 'NULL'],
+ 'ItemTotalValue' => ['title' => '总量库存值', 'description' => '总量库存值', 'type' => 'integer', 'format' => 'int32', 'example' => '-1'],
+ 'ItemTotalSimpleValue' => ['description' => '商品库存', 'type' => 'string', 'example' => '有货'],
+ 'InvoiceType' => [
+ 'title' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum',
+ 'description' => '发票类型',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'enumValueTitles' => ['不提供发票', '增值税专用发票', '增值税普通发票'],
+ 'example' => '1',
+ ],
+ ],
],
],
],
@@ -7128,291 +2645,133 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"BA157565-3358-5D80-9330-************\\",\\n \\"SubCode\\": \\"201\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"Success\\",\\n \\"Model\\": {\\n \\"DistributionMallId\\": \\"122889******114694\\",\\n \\"SkuModels\\": [\\n {\\n \\"DistributionMallId\\": \\"401e6c8****39b05797ac841907ca\\",\\n \\"ExtJson\\": \\"{\\\\\\\\\\\\\\"outShopId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"3163****7\\\\\\\\\\\\\\"}\\",\\n \\"LmItemId\\": \\"10026053-67222490****\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": -1,\\n \\"SkuPvs\\": \\"1627207:28320;5919063:6536025;12304035:75366283;122216431:27772\\",\\n \\"SkuPicUrl\\": \\"img/12344***.jpg\\",\\n \\"SkuTitle\\": \\"*****罐头\\",\\n \\"Quantity\\": -1,\\n \\"SimpleQuantity\\": \\"有货、无货、库存紧张\\",\\n \\"HasQuantity\\": true,\\n \\"ReservePrice\\": 788,\\n \\"PriceCent\\": 3990,\\n \\"SupplierPrice\\": 9900,\\n \\"Status\\": 1,\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"颜色分类~~白色\\\\n款式~~圆头\\"\\n },\\n \\"LmSkuAttributeMap\\": {\\n \\"key\\": \\"颜色分类~~白色\\\\n款式~~圆头\\"\\n },\\n \\"CanNotBeSoldCode\\": \\"NULL\\",\\n \\"CanNotBeSoldMassage\\": \\"NULL\\",\\n \\"InvoiceType\\": 0\\n }\\n ],\\n \\"SkuPropertys\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"162720***\\",\\n \\"Values\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"颜色~~白色\\"\\n }\\n ]\\n }\\n ],\\n \\"LmItemId\\": \\"10000**-630292***\\",\\n \\"ItemId\\": 0,\\n \\"ItemTitle\\": \\"夏季***百搭小白鞋\\",\\n \\"MainPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\",\\n \\"FirstPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\",\\n \\"ItemImages\\": [\\n \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\"\\n ],\\n \\"DescPath\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"DescOption\\": \\"<img>pic/edf8d848fa80b1cac055c94652*****.jpg</img>\\",\\n \\"MinPrice\\": 3900,\\n \\"ReservePrice\\": 3900,\\n \\"Quantity\\": -1,\\n \\"SimpleQuantity\\": \\"有货\\\\n无货\\\\n库存紧张\\",\\n \\"HasQuantity\\": true,\\n \\"CategoryId\\": 0,\\n \\"CategoryIds\\": [\\n 0\\n ],\\n \\"Prov\\": \\"浙江\\",\\n \\"City\\": \\"杭州\\",\\n \\"Properties\\": {\\n \\"key\\": [\\n \\"颜色分类~~白色\\\\n款式~~圆头\\"\\n ]\\n },\\n \\"Features\\": {\\n \\"key\\": \\"[{\'Enable\': False, \'Name\': \'CLEANUP_SHADOW_IF_FAILED\'}, {\'Enable\': False, \'Name\': \'CLEANUP_RESTORE_SERVER_IF_FAILED\'}, {\'Enable\': True, \'Name\': \'AUTO_ENLARGE_ADD_DISK\'}]\\"\\n },\\n \\"IforestProps\\": [\\n {\\n \\"key\\": \\"颜色分类~~白色\\\\n款式~~圆头\\"\\n }\\n ],\\n \\"SellerPayPostfee\\": true,\\n \\"CanSell\\": true,\\n \\"LmItemCategory\\": \\"entity\\",\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"LmItemAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"Current\\": \\"2020-01-01 00:00:00\\",\\n \\"VirtualItemType\\": \\"cardRoll\\",\\n \\"UserType\\": 1,\\n \\"SecuredTransactions\\": 1,\\n \\"ThirdPartyItemId\\": \\"44042249****\\\\n\\",\\n \\"ThirdPartyName\\": \\"三方商品来源\\",\\n \\"VideoUrl\\": \\"video/edf8d848fa80b1cac055c94652******.mp4\\",\\n \\"VideoPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"CanNotBeSoldCode\\": \\"NULL\\",\\n \\"CanNotBeSoldMassage\\": \\"NULL\\",\\n \\"ItemTotalValue\\": -1,\\n \\"ItemTotalSimpleValue\\": \\"有货\\",\\n \\"InvoiceType\\": 1\\n }\\n}","type":"json"}]',
+ 'title' => '查询商品详情接口(支持区域库存)',
+ 'description' => '本接口用在查询商品在某区域下是否可售、是否有库存的场景。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryItemDetailWithDivision',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"79C01D47-3C44-57D9-BC99-1B33F7ED****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 16,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
- 'title' => ' 提交分销采购订单退货物流信息',
- 'summary' => '如果提交了退货申请,通过该接口提交退货的物流信息。',
- 'description' => '注意: '."\n"
- .'1.只有在卖家同意退款(通过queryRefundApplicationDetail4DistributionOrder接口查询到disputeStatus为2时)且需要退回货物时,才能调此接口 '."\n"
- .'2.DisputeId字段需要通过查询订单逆向申请详情(queryRefundApplicationDetail4DistributionOrder)接口获取',
],
- 'QueryRefundApplicationDetail4Distribution' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'QueryItemGuideRetailPrice' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '分销商id', 'description' => '分销商id', 'type' => 'string', 'required' => false, 'example' => '75547******9212928'],
],
[
- 'name' => 'SubDistributionOrderId',
+ 'name' => 'DistributionMallId',
'in' => 'formData',
+ 'schema' => ['title' => '分销商商城id', 'description' => '分销商商城id', 'type' => 'string', 'required' => false, 'example' => '122889******114694'],
+ ],
+ [
+ 'name' => 'LmItemIds',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '子分销订单ID',
- 'description' => '子分销订单ID',
- 'type' => 'string',
+ 'title' => '商品id',
+ 'description' => '商品id集合',
+ 'type' => 'array',
+ 'items' => ['description' => '商品id', 'type' => 'string', 'required' => false, 'example' => '[\\"10000***-65975997****\\"]'],
'required' => false,
],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '18******263'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<RefundApplicationDetail>',
- 'description' => 'PopResponse<RefundApplicationDetail>',
+ 'title' => 'PopResponse<List<DistributionItemPriceDetailModel>>',
+ 'description' => 'PopResponse<List<DistributionItemPriceDetailModel>>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '64ACF32E-5B78-5DDD-89D0-ACFA0B4BFF38',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'E090F1A0-7454-5F36-933C-E6332CE2****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
- 'type' => 'object',
- 'properties' => [
- 'ApplyDisputeDesc' => [
- 'description' => '当前买家申请退款说明',
- 'type' => 'string',
- 'example' => '拍多不想要',
- ],
- 'ApplyReason' => [
- 'type' => 'object',
- 'properties' => [
- 'ReasonTextId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ReasonTips' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'BizClaimType' => [
- 'description' => '退款类型。1 仅退款, 3 退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DisputeCreateTime' => [
- 'description' => '逆向发起时间',
- 'type' => 'string',
- ],
- 'DisputeDesc' => [
- 'description' => '申请逆向描述',
- 'type' => 'string',
- ],
- 'DisputeEndTime' => [
- 'description' => '逆向结束时间',
- 'type' => 'string',
- ],
- 'DisputeId' => [
- 'description' => '纠纷ID,通过查询订单逆向申请详情接⼝获取',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '155816643598654055',
- ],
- 'DisputeStatus' => [
- 'description' => '逆向退款的状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DisputeType' => [
- 'description' => '逆向发生的类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'DistributionOrderId' => [
- 'description' => '对应主分销订单号',
- 'type' => 'string',
- 'example' => '123498124',
- ],
- 'RefundFeeData' => [
- 'type' => 'object',
- 'properties' => [
- 'MaxRefundFee' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'MinRefundFee' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '商品信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string', 'example' => '19e690e*****07a29c8'],
+ 'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string', 'example' => '1000****-630292****'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '65******0310'],
+ 'ItemTitle' => ['title' => '商品标题', 'description' => '商品标题', 'type' => 'string', 'example' => '****酸菜'],
+ 'ReservedPrice' => ['title' => '商品划线价、原价', 'description' => '商品划线价、原价', 'type' => 'integer', 'format' => 'int64', 'example' => '2000'],
+ 'ReservedPriceScope' => ['title' => '商品划线价、原价范围', 'description' => '商品划线价、原价范围', 'type' => 'string', 'example' => '1000~2000'],
+ 'GuideRetailPriceScope' => ['title' => '建议零售价范围', 'description' => '建议零售价范围', 'type' => 'string', 'example' => '1000~2000'],
+ 'SkuModels' => [
+ 'title' => '商品规格',
+ 'description' => '商品规格',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '商品规格信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string', 'example' => '39cc1****5c7211005187c'],
+ 'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string', 'example' => '10***642-6831****869'],
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '6487****621'],
+ 'SkuId' => ['title' => '规格ID', 'description' => '规格ID', 'type' => 'integer', 'format' => 'int64', 'example' => '488****548894'],
+ 'SkuTitle' => ['title' => '规格标题', 'description' => '规格标题', 'type' => 'string', 'example' => '美味****原味2盒'],
+ 'ReservedPrice' => ['title' => '商品划线价、原价', 'description' => '商品划线价、原价', 'type' => 'integer', 'format' => 'int64', 'example' => '8000'],
+ 'GuideRetailPrice' => ['title' => '建议零售价', 'description' => '建议零售价', 'type' => 'integer', 'format' => 'int64', 'example' => '7960'],
+ 'PriceCent' => ['title' => '当前售价', 'description' => '当前售价', 'type' => 'integer', 'format' => 'int64', 'example' => '7960'],
+ 'Status' => [
+ 'title' => '状态:1:商品可售卖',
+ 'description' => '状态:1:商品可售卖',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'enumValueTitles' => [1 => '商品可售', '商品不可售'],
+ 'example' => '1',
+ ],
+ 'LowGuideRetailPrice' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ ],
],
],
- ],
- 'OrderLogisticsStatus' => [
- 'description' => ' 当前的订单的物流状态,1,标识未发货',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RealRefundFee' => [
- 'description' => '实际买家收到的⾦额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2900',
- ],
- 'RefundFee' => [
- 'description' => '退款⾦额(含退平台补贴的⾦额)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2900',
- ],
- 'RefunderAddress' => [
- 'description' => '商家退货地址,卖家同意退货后才会显示',
- 'type' => 'string',
- ],
- 'RefunderName' => [
- 'description' => '退货收货人,卖家同意退货后才会显示',
- 'type' => 'string',
- ],
- 'RefunderTel' => [
- 'description' => '退货联系方式,卖家同意退货后才会显示',
- 'type' => 'string',
- ],
- 'RefunderZipCode' => [
- 'description' => '退货地址邮编,卖家同意退货后才会显示',
- 'type' => 'string',
- ],
- 'ReturnGoodCount' => [
- 'description' => '退货数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReturnGoodLogisticsStatus' => [
- 'description' => '退货物流状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SellerAgreeMsg' => [
- 'description' => '卖家同意退货说明,真实的退货地址会在这个字段进⾏返回',
- 'type' => 'string',
- 'example' => '同意退款',
- ],
- 'SellerRefuseAgreementMessage' => [
- 'description' => '卖家拒绝的留⾔说明',
- 'type' => 'string',
- 'example' => '商品没问题,买家举证无效',
- ],
- 'SellerRefuseReason' => [
- 'description' => '卖家拒绝原因',
- 'type' => 'string',
- 'example' => '商品没问题,买家举证无效',
- ],
- 'SubDistributionOrderId' => [
- 'description' => '子分销订单号',
- 'type' => 'string',
- 'example' => '12131234',
+ 'LowGuideRetailPriceScope' => ['type' => 'string', 'description' => ''],
],
],
],
@@ -7422,42 +2781,42 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"E090F1A0-7454-5F36-933C-E6332CE2****\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DistributionMallId\\": \\"19e690e*****07a29c8\\",\\n \\"LmItemId\\": \\"1000****-630292****\\",\\n \\"ItemId\\": 0,\\n \\"ItemTitle\\": \\"****酸菜\\",\\n \\"ReservedPrice\\": 2000,\\n \\"ReservedPriceScope\\": \\"1000~2000\\",\\n \\"GuideRetailPriceScope\\": \\"1000~2000\\",\\n \\"SkuModels\\": [\\n {\\n \\"DistributionMallId\\": \\"39cc1****5c7211005187c\\",\\n \\"LmItemId\\": \\"10***642-6831****869\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": 0,\\n \\"SkuTitle\\": \\"美味****原味2盒\\",\\n \\"ReservedPrice\\": 8000,\\n \\"GuideRetailPrice\\": 7960,\\n \\"PriceCent\\": 7960,\\n \\"Status\\": 1,\\n \\"LowGuideRetailPrice\\": 0\\n }\\n ],\\n \\"LowGuideRetailPriceScope\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '商品建议售价查询接口',
+ 'summary' => '商品建议售价查询接口。',
+ 'description' => '查询指定商品的建议售价。',
+ 'requestParamsDescription' => '查询指定商品的建议售价,一次查询商品建议不超过20个。',
+ 'changeSet' => [
+ ['createdAt' => '2022-12-08T10:11:47.000Z', 'description' => '响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryItemGuideRetailPrice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"64ACF32E-5B78-5DDD-89D0-ACFA0B4BFF38\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"ApplyDisputeDesc\\": \\"拍多不想要\\",\\n \\"ApplyReason\\": {\\n \\"ReasonTextId\\": 0,\\n \\"ReasonTips\\": \\"\\"\\n },\\n \\"BizClaimType\\": 1,\\n \\"DisputeCreateTime\\": \\"\\",\\n \\"DisputeDesc\\": \\"\\",\\n \\"DisputeEndTime\\": \\"\\",\\n \\"DisputeId\\": 155816643598654050,\\n \\"DisputeStatus\\": 1,\\n \\"DisputeType\\": 0,\\n \\"DistributionOrderId\\": \\"123498124\\",\\n \\"RefundFeeData\\": {\\n \\"MaxRefundFee\\": 0,\\n \\"MinRefundFee\\": 0\\n },\\n \\"OrderLogisticsStatus\\": 1,\\n \\"RealRefundFee\\": 2900,\\n \\"RefundFee\\": 2900,\\n \\"RefunderAddress\\": \\"\\",\\n \\"RefunderName\\": \\"\\",\\n \\"RefunderTel\\": \\"\\",\\n \\"RefunderZipCode\\": \\"\\",\\n \\"ReturnGoodCount\\": 1,\\n \\"ReturnGoodLogisticsStatus\\": 1,\\n \\"SellerAgreeMsg\\": \\"同意退款\\",\\n \\"SellerRefuseAgreementMessage\\": \\"商品没问题,买家举证无效\\",\\n \\"SellerRefuseReason\\": \\"商品没问题,买家举证无效\\",\\n \\"SubDistributionOrderId\\": \\"12131234\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询分销采购订单退款申请',
- 'summary' => '基于子分销订单号查询逆向申请的详情。',
- 'description' => '基于子分销订单号查询逆向申请的详情。'."\n"
- ."\n"
- .'注意:一般申请退款成功之后通过此接口确认逆向的状态(disputeStatus)以及纠纷id(disputeId)等 '."\n"
- .'特别说明:退货信息请优先参考sellerAgreeMsg字段,如果该字段为空、null、或者不包含退货地址、手机号等信息时,再参考refunderAddress、refunderName、refunderTel等字段 ',
],
'QueryLogistics4Distribution' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -7469,45 +2828,22 @@
[
'name' => 'RequestId',
'in' => 'formData',
- 'schema' => [
- 'title' => '请求ID',
- 'description' => '请求ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'E090F1A0-7454-5F36-933C-E6332CE2****',
- ],
+ 'schema' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'required' => false, 'example' => 'E090F1A0-7454-5F36-933C-E6332CE2****'],
],
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'MainDistributionOrderId',
'in' => 'formData',
- 'schema' => [
- 'title' => '主分销订单号',
- 'description' => '主分销订单号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123498124',
- ],
+ 'schema' => ['title' => '主分销订单号', 'description' => '主分销订单号', 'type' => 'string', 'required' => false, 'example' => '123498124'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -7517,69 +2853,16 @@
'description' => 'PopResponse<List<DataItem>>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
@@ -7588,16 +2871,8 @@
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'DataProvider' => [
- 'description' => '数据来源:如:菜鸟裹裹',
- 'type' => 'string',
- 'example' => '菜鸟裹裹',
- ],
- 'DataProviderTitle' => [
- 'description' => '数据来源说明,如:本数据由菜⻦裹裹提供',
- 'type' => 'string',
- 'example' => '本数据由菜鸟裹裹提供',
- ],
+ 'DataProvider' => ['description' => '数据来源:如:菜鸟裹裹', 'type' => 'string', 'example' => '菜鸟裹裹'],
+ 'DataProviderTitle' => ['description' => '数据来源说明,如:本数据由菜⻦裹裹提供', 'type' => 'string', 'example' => '本数据由菜鸟裹裹提供'],
'Goods' => [
'description' => '货物信息列表',
'type' => 'array',
@@ -7605,37 +2880,16 @@
'description' => '货物信息',
'type' => 'object',
'properties' => [
- 'GoodName' => [
- 'description' => '货物名字,不保证有,⼀个主单只有⼀个商品可能没有该值,物流未获取物流'."\n"
- .'公司物流号之前也没有该值',
- 'type' => 'string',
- 'example' => '货物名称',
- ],
- 'ItemId' => [
- 'type' => 'string',
- ],
- 'Quantity' => [
- 'description' => '下单数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SkuId' => [
- 'type' => 'string',
- ],
+ 'GoodName' => ['description' => '货物名字,不保证有,⼀个主单只有⼀个商品可能没有该值,物流未获取物流'."\n"
+ .'公司物流号之前也没有该值', 'type' => 'string', 'example' => '货物名称'],
+ 'ItemId' => ['type' => 'string', 'description' => ''],
+ 'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SkuId' => ['type' => 'string', 'description' => ''],
],
],
],
- 'LogisticsCompanyCode' => [
- 'description' => '本单物流公司code',
- 'type' => 'string',
- 'example' => 'SF',
- ],
- 'LogisticsCompanyName' => [
- 'description' => '本单物流公司名称',
- 'type' => 'string',
- 'example' => '顺丰',
- ],
+ 'LogisticsCompanyCode' => ['description' => '本单物流公司code', 'type' => 'string', 'example' => 'SF'],
+ 'LogisticsCompanyName' => ['description' => '本单物流公司名称', 'type' => 'string', 'example' => '顺丰'],
'LogisticsDetailList' => [
'description' => '物流信息列表',
'type' => 'array',
@@ -7643,24 +2897,12 @@
'description' => '物流信息',
'type' => 'object',
'properties' => [
- 'OcurrTimeStr' => [
- 'description' => '发生时间',
- 'type' => 'string',
- 'example' => '2022-02-21 08:23:21',
- ],
- 'StanderdDesc' => [
- 'description' => '物流信息',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'OcurrTimeStr' => ['description' => '发生时间', 'type' => 'string', 'example' => '2022-02-21 08:23:21'],
+ 'StanderdDesc' => ['description' => '物流信息', 'type' => 'string', 'example' => '""'],
],
],
],
- 'MailNo' => [
- 'description' => '运单号',
- 'type' => 'string',
- 'example' => 'SF124142********',
- ],
+ 'MailNo' => ['description' => '运单号', 'type' => 'string', 'example' => 'SF124142********'],
],
],
],
@@ -7670,39 +2912,44 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"A7BE4356-7F92-533E-A31B-2EBF2D67****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DataProvider\\": \\"菜鸟裹裹\\",\\n \\"DataProviderTitle\\": \\"本数据由菜鸟裹裹提供\\",\\n \\"Goods\\": [\\n {\\n \\"GoodName\\": \\"货物名称\\",\\n \\"ItemId\\": \\"\\",\\n \\"Quantity\\": 1,\\n \\"SkuId\\": \\"\\"\\n }\\n ],\\n \\"LogisticsCompanyCode\\": \\"SF\\",\\n \\"LogisticsCompanyName\\": \\"顺丰\\",\\n \\"LogisticsDetailList\\": [\\n {\\n \\"OcurrTimeStr\\": \\"2022-02-21 08:23:21\\",\\n \\"StanderdDesc\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"MailNo\\": \\"SF124142********\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '分销采购订单物流查询',
'summary' => '分销订单物流查询。',
'description' => '分销订单物流查询',
- ],
- 'QueryChildDivisionCodeById' => [
- 'methods' => [
- 'post',
+ 'changeSet' => [
+ ['createdAt' => '2023-09-12T10:13:52.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'https',
- 'http',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryLogistics4Distribution'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryLogistics4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'QueryMallCategoryList' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -7714,105 +2961,50 @@
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'type' => 'string',
- ],
+ 'schema' => ['title' => '分销商id', 'description' => '分销商id', 'type' => 'string', 'required' => false, 'example' => '75547******9212928'],
],
[
- 'name' => 'DivisionCode',
+ 'name' => 'DistributionMallId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['title' => '分销商商城id', 'description' => '分销商商城id', 'type' => 'string', 'required' => false, 'example' => '122889******114694'],
+ ],
+ [
+ 'name' => 'CategoryId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '类目ID', 'description' => '类目ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5001****'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'type' => 'string',
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '18******263'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'PopResponse<QueryDivisionResponse>',
+ 'title' => 'PopResponse<List<DistributionCategoryModel>>',
+ 'description' => '响应数据',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'type' => 'string',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号', 'type' => 'string', 'example' => '7152F15C-7298-5531-9A76-2ED2C331****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
- 'type' => 'object',
- 'properties' => [
- 'DivisionList' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ParentId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'DivisionCode' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'DivisionName' => [
- 'type' => 'string',
- ],
- 'DivisionLevel' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Pinyin' => [
- 'type' => 'string',
- ],
- ],
- ],
+ 'description' => '商品类目信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '商品类目信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'CategoryId' => ['title' => '后台类目ID', 'description' => '后台类目ID', 'type' => 'integer', 'format' => 'int64', 'example' => '5001****'],
+ 'Name' => ['title' => '类目名称', 'description' => '类目名称', 'type' => 'string', 'example' => '***电子产品'],
+ 'ParentId' => ['title' => '父类目ID', 'description' => '父类目ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1041577**'],
+ 'Leaf' => ['title' => '是否是叶子类目', 'description' => '是否是叶子类目', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -7822,36 +3014,40 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"7152F15C-7298-5531-9A76-2ED2C331****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"CategoryId\\": 0,\\n \\"Name\\": \\"***电子产品\\",\\n \\"ParentId\\": 0,\\n \\"Leaf\\": true\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '查询商品类目信息',
+ 'summary' => '商品类目查询接口。',
+ 'description' => '该接口使用在查询分销商城商品类目信息场景。',
+ 'requestParamsDescription' => '当传入类目ID为0时,表示查询一级类目;当传入类目ID非0时,返回当前类目的下级类目列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryMallCategoryList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '',
],
'QueryOrderDetail4Distribution' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -7863,32 +3059,17 @@
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'MainDistributionOrderId',
'in' => 'formData',
- 'schema' => [
- 'title' => '主分销订单号',
- 'description' => '主分销订单号',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '主分销订单号', 'description' => '主分销订单号', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -7898,98 +3079,27 @@
'description' => 'PopResponse<DistributionOrderInfo>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => 'BA157565-3358-5D80-9330-************',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'BA157565-3358-5D80-9330-************'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'description' => '下单时间,格式化(yyyy-MM-dd HH:mm:ss)',
- 'type' => 'string',
- ],
- 'DistributorId' => [
- 'description' => '分销商ID',
- 'type' => 'string',
- ],
- 'LogisticsStatus' => [
- 'description' => '物流状态(由于此字段为定时从主站同步的,会存在延迟,最⻓可能⼏天才同步)',
- 'type' => 'string',
- ],
- 'DistributionOrderId' => [
- 'description' => '分销订单号',
- 'type' => 'string',
- ],
- 'OrderAmount' => [
- 'description' => '订单总金额',
- 'type' => 'string',
- ],
- 'OrderStatus' => [
- 'description' => '订单状态,6=交易成功',
- 'type' => 'string',
- 'example' => '6',
- ],
+ 'CreateDate' => ['description' => '下单时间,格式化(yyyy-MM-dd HH:mm:ss)', 'type' => 'string'],
+ 'DistributorId' => ['description' => '分销商ID', 'type' => 'string'],
+ 'LogisticsStatus' => ['description' => '物流状态(由于此字段为定时从主站同步的,会存在延迟,最⻓可能⼏天才同步)', 'type' => 'string'],
+ 'DistributionOrderId' => ['description' => '分销订单号', 'type' => 'string'],
+ 'OrderAmount' => ['description' => '订单总金额', 'type' => 'string'],
+ 'OrderStatus' => ['description' => '订单状态,6=交易成功', 'type' => 'string', 'example' => '6'],
'SubOrderList' => [
'description' => '分销子订单列表',
'type' => 'array',
@@ -7997,60 +3107,27 @@
'description' => '分销子订单',
'type' => 'object',
'properties' => [
- 'ItemPic' => [
- 'description' => '商品图片',
- 'type' => 'string',
- ],
+ 'ItemPic' => ['description' => '商品图片', 'type' => 'string'],
'ItemPrice' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'FundAmountMoney' => [
- 'type' => 'string',
- ],
+ 'FundAmountMoney' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
+ 'description' => '',
],
- 'ItemTitle' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '芝麻小饼',
- ],
- 'ItemId' => [
- 'type' => 'string',
- ],
- 'Number' => [
- 'description' => '下单数量',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'OrderStatus' => [
- 'description' => '订单状态',
- 'type' => 'string',
- 'example' => '6',
- ],
- 'LogisticsStatus' => [
- 'type' => 'string',
- ],
- 'SkuId' => [
- 'description' => '商品SkuId',
- 'type' => 'string',
- 'example' => '4771634532960',
- ],
- 'SkuName' => [
- 'description' => '下单的商品sku显示的名称',
- 'type' => 'string',
- 'example' => '500g',
- ],
- 'SubDistributionOrderId' => [
- 'description' => '子分销订单号',
- 'type' => 'string',
- ],
- 'MainDistributionOrderId' => [
- 'description' => '主分销订单号',
- 'type' => 'string',
- ],
+ 'ItemTitle' => ['description' => '商品名称', 'type' => 'string', 'example' => '芝麻小饼'],
+ 'ItemId' => ['type' => 'string', 'description' => ''],
+ 'Number' => ['description' => '下单数量', 'type' => 'string', 'example' => '1'],
+ 'OrderStatus' => ['description' => '订单状态', 'type' => 'string', 'example' => '6'],
+ 'LogisticsStatus' => ['type' => 'string', 'description' => ''],
+ 'SkuId' => ['description' => '商品SkuId', 'type' => 'string', 'example' => '4771634532960'],
+ 'SkuName' => ['description' => '下单的商品sku显示的名称', 'type' => 'string', 'example' => '500g'],
+ 'SubDistributionOrderId' => ['description' => '子分销订单号', 'type' => 'string'],
+ 'MainDistributionOrderId' => ['description' => '主分销订单号', 'type' => 'string'],
],
],
],
@@ -8062,39 +3139,43 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"BA157565-3358-5D80-9330-************\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 10,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"CreateDate\\": \\"\\",\\n \\"DistributorId\\": \\"\\",\\n \\"LogisticsStatus\\": \\"\\",\\n \\"DistributionOrderId\\": \\"\\",\\n \\"OrderAmount\\": \\"\\",\\n \\"OrderStatus\\": \\"6\\",\\n \\"SubOrderList\\": [\\n {\\n \\"ItemPic\\": \\"\\",\\n \\"ItemPrice\\": [\\n {\\n \\"FundAmountMoney\\": \\"\\"\\n }\\n ],\\n \\"ItemTitle\\": \\"芝麻小饼\\",\\n \\"ItemId\\": \\"\\",\\n \\"Number\\": \\"1\\",\\n \\"OrderStatus\\": \\"6\\",\\n \\"LogisticsStatus\\": \\"\\",\\n \\"SkuId\\": \\"4771634532960\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"MainDistributionOrderId\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询分销采购订单详情',
'summary' => '查询分销订单详情。',
'description' => '查询分销订单详情',
- ],
- 'QueryOrderList4Distribution' => [
- 'methods' => [
- 'post',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'https',
- 'http',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryOrderDetail4Distribution'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryOrderDetail4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'QueryOrderList4Distribution' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -8106,56 +3187,27 @@
[
'name' => 'DistributorId',
'in' => 'formData',
- 'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'FilterOption',
'in' => 'formData',
- 'schema' => [
- 'title' => '订单过滤条件',
- 'description' => '订单过滤条件',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '订单过滤条件', 'description' => '订单过滤条件', 'type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'title' => '页码',
- 'description' => '页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'title' => '每页行数',
- 'description' => '每页行数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['title' => '每页行数', 'description' => '每页行数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'TenantId',
'in' => 'formData',
- 'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -8165,68 +3217,16 @@
'description' => 'PopResponse<List<DistributionOrderInfo>>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '1267088B-4695-50DC-97B9-9E4F89D1****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '1267088B-4695-50DC-97B9-9E4F89D1****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
@@ -8235,31 +3235,12 @@
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'CreateDate' => [
- 'description' => '下单时间,格式化(yyyy-MM-dd HH:mm:ss)',
- 'type' => 'string',
- ],
- 'DistributorId' => [
- 'description' => '分销商ID',
- 'type' => 'string',
- ],
- 'LogisticsStatus' => [
- 'description' => '物流状态',
- 'type' => 'string',
- ],
- 'DistributionOrderId' => [
- 'description' => '分销订单号',
- 'type' => 'string',
- ],
- 'OrderAmount' => [
- 'description' => '订单总金额',
- 'type' => 'string',
- ],
- 'OrderStatus' => [
- 'description' => '订单状态,6=交易成功',
- 'type' => 'string',
- 'example' => '6',
- ],
+ 'CreateDate' => ['description' => '下单时间,格式化(yyyy-MM-dd HH:mm:ss)', 'type' => 'string'],
+ 'DistributorId' => ['description' => '分销商ID', 'type' => 'string'],
+ 'LogisticsStatus' => ['description' => '物流状态', 'type' => 'string'],
+ 'DistributionOrderId' => ['description' => '分销订单号', 'type' => 'string'],
+ 'OrderAmount' => ['description' => '订单总金额', 'type' => 'string'],
+ 'OrderStatus' => ['description' => '订单状态,6=交易成功', 'type' => 'string', 'example' => '6'],
'SubOrderList' => [
'description' => '子分销订单列表',
'type' => 'array',
@@ -8267,60 +3248,27 @@
'description' => '子分销订单',
'type' => 'object',
'properties' => [
- 'ItemPic' => [
- 'description' => '商品图片',
- 'type' => 'string',
- ],
+ 'ItemPic' => ['description' => '商品图片', 'type' => 'string'],
'ItemPrice' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'FundAmountMoney' => [
- 'type' => 'string',
- ],
+ 'FundAmountMoney' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
+ 'description' => '',
],
- 'ItemTitle' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '冰鲜去皮鸭颈',
- ],
- 'ItemId' => [
- 'type' => 'string',
- ],
- 'Number' => [
- 'description' => '下单数量',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'OrderStatus' => [
- 'description' => '订单状态,6=交易成功',
- 'type' => 'string',
- 'example' => '6',
- ],
- 'LogisticsStatus' => [
- 'type' => 'string',
- ],
- 'SkuId' => [
- 'description' => '商品的SkuId',
- 'type' => 'string',
- 'example' => '4961467806350',
- ],
- 'SkuName' => [
- 'description' => '下单的商品sku显示的名称',
- 'type' => 'string',
- 'example' => '500g',
- ],
- 'SubDistributionOrderId' => [
- 'description' => '子分销订单编号',
- 'type' => 'string',
- ],
- 'MainDistributionOrderId' => [
- 'description' => '主分销订单编号',
- 'type' => 'string',
- ],
+ 'ItemTitle' => ['description' => '商品名称', 'type' => 'string', 'example' => '冰鲜去皮鸭颈'],
+ 'ItemId' => ['type' => 'string', 'description' => ''],
+ 'Number' => ['description' => '下单数量', 'type' => 'string', 'example' => '1'],
+ 'OrderStatus' => ['description' => '订单状态,6=交易成功', 'type' => 'string', 'example' => '6'],
+ 'LogisticsStatus' => ['type' => 'string', 'description' => ''],
+ 'SkuId' => ['description' => '商品的SkuId', 'type' => 'string', 'example' => '4961467806350'],
+ 'SkuName' => ['description' => '下单的商品sku显示的名称', 'type' => 'string', 'example' => '500g'],
+ 'SubDistributionOrderId' => ['description' => '子分销订单编号', 'type' => 'string'],
+ 'MainDistributionOrderId' => ['description' => '主分销订单编号', 'type' => 'string'],
],
],
],
@@ -8333,24 +3281,12 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
- ],
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"1267088B-4695-50DC-97B9-9E4F89D1****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 16,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"CreateDate\\": \\"\\",\\n \\"DistributorId\\": \\"\\",\\n \\"LogisticsStatus\\": \\"\\",\\n \\"DistributionOrderId\\": \\"\\",\\n \\"OrderAmount\\": \\"\\",\\n \\"OrderStatus\\": \\"6\\",\\n \\"SubOrderList\\": [\\n {\\n \\"ItemPic\\": \\"\\",\\n \\"ItemPrice\\": [\\n {\\n \\"FundAmountMoney\\": \\"\\"\\n }\\n ],\\n \\"ItemTitle\\": \\"冰鲜去皮鸭颈\\",\\n \\"ItemId\\": \\"\\",\\n \\"Number\\": \\"1\\",\\n \\"OrderStatus\\": \\"6\\",\\n \\"LogisticsStatus\\": \\"\\",\\n \\"SkuId\\": \\"4961467806350\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"MainDistributionOrderId\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
@@ -8365,15 +3301,31 @@
.' "filter": "createTime>12323 AND createTime<45454" //过滤条件,目前只支持创单时间, 传单时间的值为unix时间戳, 支持<,>,>=,<=, !=,=, AND,OR'."\n"
.'}'."\n"
.'```',
- ],
- 'CancelDistributionTrade' => [
- 'methods' => [
- 'post',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'https',
- 'http',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryOrderList4Distribution'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryOrderList4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'QueryRefundApplicationDetail4Distribution' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -8385,36 +3337,672 @@
[
'name' => 'DistributorId',
'in' => 'formData',
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'SubDistributionOrderId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'TenantId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
+ 'title' => 'PopResponse<RefundApplicationDetail>',
+ 'description' => 'PopResponse<RefundApplicationDetail>',
+ 'type' => 'object',
+ 'properties' => [
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '64ACF32E-5B78-5DDD-89D0-ACFA0B4BFF38'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Model' => [
+ 'title' => '请求结果数据',
+ 'description' => '请求结果数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApplyDisputeDesc' => ['description' => '当前买家申请退款说明', 'type' => 'string', 'example' => '拍多不想要'],
+ 'ApplyReason' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ReasonTextId' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ 'ReasonTips' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'BizClaimType' => ['description' => '退款类型。1 仅退款, 3 退货退款', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DisputeCreateTime' => ['description' => '逆向发起时间', 'type' => 'string'],
+ 'DisputeDesc' => ['description' => '申请逆向描述', 'type' => 'string'],
+ 'DisputeEndTime' => ['description' => '逆向结束时间', 'type' => 'string'],
+ 'DisputeId' => ['description' => '纠纷ID,通过查询订单逆向申请详情接⼝获取', 'type' => 'integer', 'format' => 'int64', 'example' => '155816643598654055'],
+ 'DisputeStatus' => ['description' => '逆向退款的状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DisputeType' => ['description' => '逆向发生的类型', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'DistributionOrderId' => ['description' => '对应主分销订单号', 'type' => 'string', 'example' => '123498124'],
+ 'RefundFeeData' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MaxRefundFee' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ 'MinRefundFee' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'OrderLogisticsStatus' => ['description' => ' 当前的订单的物流状态,1,标识未发货', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RealRefundFee' => ['description' => '实际买家收到的⾦额', 'type' => 'integer', 'format' => 'int64', 'example' => '2900'],
+ 'RefundFee' => ['description' => '退款⾦额(含退平台补贴的⾦额)', 'type' => 'integer', 'format' => 'int64', 'example' => '2900'],
+ 'RefunderAddress' => ['description' => '商家退货地址,卖家同意退货后才会显示', 'type' => 'string'],
+ 'RefunderName' => ['description' => '退货收货人,卖家同意退货后才会显示', 'type' => 'string'],
+ 'RefunderTel' => ['description' => '退货联系方式,卖家同意退货后才会显示', 'type' => 'string'],
+ 'RefunderZipCode' => ['description' => '退货地址邮编,卖家同意退货后才会显示', 'type' => 'string'],
+ 'ReturnGoodCount' => ['description' => '退货数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReturnGoodLogisticsStatus' => ['description' => '退货物流状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SellerAgreeMsg' => ['description' => '卖家同意退货说明,真实的退货地址会在这个字段进⾏返回', 'type' => 'string', 'example' => '同意退款'],
+ 'SellerRefuseAgreementMessage' => ['description' => '卖家拒绝的留⾔说明', 'type' => 'string', 'example' => '商品没问题,买家举证无效'],
+ 'SellerRefuseReason' => ['description' => '卖家拒绝原因', 'type' => 'string', 'example' => '商品没问题,买家举证无效'],
+ 'SubDistributionOrderId' => ['description' => '子分销订单号', 'type' => 'string', 'example' => '12131234'],
+ ],
+ ],
+ ],
],
],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
+ ],
+ 404 => [
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"64ACF32E-5B78-5DDD-89D0-ACFA0B4BFF38\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"ApplyDisputeDesc\\": \\"拍多不想要\\",\\n \\"ApplyReason\\": {\\n \\"ReasonTextId\\": 0,\\n \\"ReasonTips\\": \\"\\"\\n },\\n \\"BizClaimType\\": 1,\\n \\"DisputeCreateTime\\": \\"\\",\\n \\"DisputeDesc\\": \\"\\",\\n \\"DisputeEndTime\\": \\"\\",\\n \\"DisputeId\\": 155816643598654050,\\n \\"DisputeStatus\\": 1,\\n \\"DisputeType\\": 0,\\n \\"DistributionOrderId\\": \\"123498124\\",\\n \\"RefundFeeData\\": {\\n \\"MaxRefundFee\\": 0,\\n \\"MinRefundFee\\": 0\\n },\\n \\"OrderLogisticsStatus\\": 1,\\n \\"RealRefundFee\\": 2900,\\n \\"RefundFee\\": 2900,\\n \\"RefunderAddress\\": \\"\\",\\n \\"RefunderName\\": \\"\\",\\n \\"RefunderTel\\": \\"\\",\\n \\"RefunderZipCode\\": \\"\\",\\n \\"ReturnGoodCount\\": 1,\\n \\"ReturnGoodLogisticsStatus\\": 1,\\n \\"SellerAgreeMsg\\": \\"同意退款\\",\\n \\"SellerRefuseAgreementMessage\\": \\"商品没问题,买家举证无效\\",\\n \\"SellerRefuseReason\\": \\"商品没问题,买家举证无效\\",\\n \\"SubDistributionOrderId\\": \\"12131234\\"\\n }\\n}","type":"json"}]',
+ 'title' => '查询分销采购订单退款申请',
+ 'summary' => '基于子分销订单号查询逆向申请的详情。',
+ 'description' => '基于子分销订单号查询逆向申请的详情。'."\n"
+ ."\n"
+ .'注意:一般申请退款成功之后通过此接口确认逆向的状态(disputeStatus)以及纠纷id(disputeId)等 '."\n"
+ .'特别说明:退货信息请优先参考sellerAgreeMsg字段,如果该字段为空、null、或者不包含退货地址、手机号等信息时,再参考refunderAddress、refunderName、refunderTel等字段 ',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryRefundApplicationDetail4Distribution'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'DistributionTradeId',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryRefundApplicationDetail4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RenderDistributionOrder' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'ItemInfoLists',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '分销交易号',
- 'description' => '分销交易号,可能包含多笔主单',
- 'type' => 'string',
+ 'title' => '商品信息',
+ 'description' => '商品信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '商品信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'DistributionMallId' => ['description' => '分销商城的ID', 'type' => 'string', 'required' => false, 'example' => '465879694***e84794d70934'],
+ 'LmItemId' => ['description' => 'LM侧商品Id', 'type' => 'string', 'required' => false, 'example' => '100***31-324***311'],
+ 'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'SkuId' => ['description' => '商品SkuId', 'type' => 'string', 'required' => false, 'example' => '4354***213'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => '15303515*******',
],
],
[
+ 'name' => 'DeliveryAddress',
+ 'in' => 'formData',
+ 'schema' => ['title' => '收货地址', 'description' => '收货地址', 'type' => 'string', 'required' => false, 'example' => '{\\"addressDetail\\":\\"湖南省**市**区**街道**7栋\\",\\"divisionCode\\":\\"43***03\\",\\"fullName\\":\\"欧**\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"430***08\\"}'],
+ ],
+ [
+ 'name' => 'ExtInfo',
+ 'in' => 'formData',
+ 'schema' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
+ ],
+ [
+ 'name' => 'DistributorId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '761***123'],
+ ],
+ [
+ 'name' => 'DistributionSupplierId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '渠道供应商ID', 'description' => '渠道供应商ID', 'type' => 'string', 'required' => false, 'example' => '668***3234'],
+ ],
+ [
+ 'name' => 'BuyerId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '分销真实买家ID', 'description' => '分销真实买家ID', 'type' => 'string', 'required' => false, 'example' => 'u***01'],
+ ],
+ [
'name' => 'TenantId',
'in' => 'formData',
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '213***123'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '租户Id',
- 'description' => '租户Id',
- 'type' => 'string',
- 'required' => false,
+ 'title' => 'PopResponse<DistributionRenderOrderResponse>',
+ 'description' => 'PopResponse<List<RenderOrderInfosItem>>',
+ 'type' => 'object',
+ 'properties' => [
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '1267088B-4695-5****7B9-9E4F89D1'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '""'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => '""'],
+ 'Model' => [
+ 'title' => '请求结果数据',
+ 'description' => '请求结果数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'RenderOrderInfos' => [
+ 'description' => '渲染订单信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'ItemInfos' => [
+ 'description' => '商品详情',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'ItemId' => ['description' => '商品id', 'type' => 'string', 'example' => '100***31-324***311'],
+ 'ItemName' => ['description' => '商品名', 'type' => 'string', 'example' => '**饼干'],
+ 'SkuName' => ['description' => '规格名', 'type' => 'string', 'example' => '500g'],
+ 'SkuId' => ['description' => '商品规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '213***313'],
+ 'DistributionMallId' => ['description' => '分销商城id', 'type' => 'string', 'example' => '465879694***e84794d70934'],
+ 'DistributionSupplierId' => ['description' => '渠道供应商id', 'type' => 'string', 'example' => '653***557'],
+ 'DistributorId' => ['description' => '分销商id', 'type' => 'string', 'example' => '761***123'],
+ 'PromotionFee' => ['description' => '促销费', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Quantity' => ['description' => '库存', 'type' => 'integer', 'format' => 'int32', 'example' => '99'],
+ 'ItemUrl' => ['description' => '商品链接地址', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
+ 'ItemPicUrl' => ['description' => '商品图片链接地址', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
+ 'Price' => ['description' => '商品价格', 'type' => 'integer', 'format' => 'int64', 'example' => '99'],
+ 'CanSell' => ['description' => '商品是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'Message' => ['description' => '商品备注,例如不可售时的原因', 'type' => 'string', 'example' => '""'],
+ 'VirtualItemType' => ['description' => '虚拟商品类型', 'type' => 'string', 'example' => '""'],
+ 'ItemPromInstVOS' => [
+ 'description' => '商品权益信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100***35-582***661'],
+ 'SkuIds' => [
+ 'description' => '规格ID',
+ 'type' => 'array',
+ 'items' => ['description' => '规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '343***432'],
+ ],
+ 'AvailableItems' => [
+ 'description' => '可用商品列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '582***661'],
+ 'LmItemId' => ['description' => 'Lm侧商品id', 'type' => 'string', 'example' => '100***35-582***661'],
+ 'SkuId' => ['description' => '商品规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '343***432'],
+ 'LmShopId' => ['description' => 'lm店铺id', 'type' => 'integer', 'format' => 'int64', 'example' => '100***35'],
+ 'TbSellerId' => ['description' => '淘宝卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '213***433'],
+ 'Number' => ['description' => '数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'PriceCent' => ['description' => '供货价', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'Points' => ['description' => '积分', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'PointsAmount' => ['description' => '积分金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UserPayFee' => ['description' => '用户支付金额', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'Removed' => ['description' => '是否被移除', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ ],
+ 'TbSellerId' => ['description' => '淘宝卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '213***433'],
+ 'InstanceId' => ['description' => '优惠实例id', 'type' => 'string', 'example' => '""'],
+ 'PromotionName' => ['description' => '促销名', 'type' => 'string', 'example' => '""'],
+ 'PromotionType' => ['description' => '促销类型', 'type' => 'string', 'example' => '""'],
+ 'Level' => ['description' => '等级', 'type' => 'string', 'example' => '""'],
+ 'DiscountPrice' => ['description' => '折扣价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ThresholdPrice' => ['description' => '门槛价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SpecialPrice' => ['description' => '特价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UseStartTime' => ['description' => '使用开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1659612158'],
+ 'ExpireTime' => ['description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1659612158'],
+ 'Selected' => ['description' => '是否可选', 'type' => 'boolean', 'example' => 'false'],
+ 'CanUse' => ['description' => '是否可用', 'type' => 'boolean', 'example' => 'false'],
+ 'Reason' => ['description' => '原因', 'type' => 'string', 'example' => '""'],
+ 'SubBizCode' => ['description' => 'subBizCode', 'type' => 'string', 'example' => '""'],
+ ],
+ ],
+ ],
+ 'Features' => [
+ 'description' => '特征',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'example' => '""', 'description' => '""'],
+ ],
+ 'ReservePrice' => ['description' => '保留价格', 'type' => 'integer', 'format' => 'int64', 'example' => '""'],
+ ],
+ ],
+ ],
+ 'DeliveryInfos' => [
+ 'description' => '配送信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '配送方式ID', 'type' => 'string', 'example' => '10'],
+ 'DisplayName' => ['description' => '邮费前端展示文字', 'type' => 'string', 'example' => '包邮'],
+ 'PostFee' => ['description' => '邮费单位分', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceType' => ['description' => '配送方式类型', 'type' => 'integer', 'format' => 'int64', 'example' => '-4'],
+ ],
+ ],
+ ],
+ 'InvoiceInfo' => [
+ 'description' => '发票信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => '""'],
+ 'Desc' => ['description' => '描述', 'type' => 'string', 'example' => '""'],
+ ],
+ ],
+ 'ExtInfo' => [
+ 'description' => '拓展信息',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '""', 'example' => '""'],
+ ],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'Message' => ['description' => '商品备注,例如不可售时的原因', 'type' => 'string', 'example' => '""'],
+ 'ShopPromInstVOS' => [
+ 'description' => '店铺权益信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100***42-568***99'],
+ 'SkuIds' => [
+ 'description' => '商品规格id',
+ 'type' => 'array',
+ 'items' => ['description' => '商品规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '324***42'],
+ ],
+ 'AvailableItems' => [
+ 'description' => '可用的商品列表'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '668***630'],
+ 'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100***88-52***337'],
+ 'SkuId' => ['description' => '商品规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '502***91'],
+ 'LmShopId' => ['description' => 'lm店铺id', 'type' => 'integer', 'format' => 'int64', 'example' => '100***88'],
+ 'TbSellerId' => ['description' => 'tb卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '32***32'],
+ 'Number' => ['description' => '数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PriceCent' => ['description' => '供货价', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Points' => ['description' => '积分', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'PointsAmount' => ['description' => '积分金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UserPayFee' => ['description' => '用户支付金额', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Removed' => ['description' => '是否移除', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ 'TbSellerId' => ['description' => 'tb卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '2131***345'],
+ 'InstanceId' => ['description' => '优惠实例id', 'type' => 'string', 'example' => '""'],
+ 'PromotionName' => ['description' => '促销名称', 'type' => 'string', 'example' => '""'],
+ 'PromotionType' => ['description' => '促销类型', 'type' => 'string', 'example' => '""'],
+ 'Level' => ['description' => '等级', 'type' => 'string', 'example' => '""'],
+ 'DiscountPrice' => ['description' => '折扣价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ThresholdPrice' => ['description' => '门槛价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SpecialPrice' => ['description' => '特价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UseStartTime' => ['description' => '使用开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ExpireTime' => ['description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Selected' => ['description' => '是否可选', 'type' => 'boolean', 'example' => 'false'],
+ 'CanUse' => ['description' => '是否可用', 'type' => 'boolean', 'example' => 'false'],
+ 'Reason' => ['description' => '原因', 'type' => 'string', 'example' => '""'],
+ 'SubBizCode' => ['description' => 'subBizCode', 'type' => 'string', 'example' => '""'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UnsellableRenderOrderInfos' => [
+ 'description' => '不可售商品列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'ItemInfos' => [
+ 'description' => '商品列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'ItemId' => ['description' => '商品id', 'type' => 'string', 'example' => '651***245'],
+ 'ItemName' => ['description' => '商品名称', 'type' => 'string', 'example' => '饼干'],
+ 'SkuName' => ['description' => '规格名称', 'type' => 'string', 'example' => '500g'],
+ 'SkuId' => ['description' => '商品规格ID', 'type' => 'integer', 'format' => 'int64', 'example' => '213***345'],
+ 'DistributionMallId' => ['description' => '分销商城id', 'type' => 'string', 'example' => '34fds***32423'],
+ 'DistributionSupplierId' => ['description' => '渠道供应商id', 'type' => 'string', 'example' => '3242***32455'],
+ 'DistributorId' => ['description' => '分销商id', 'type' => 'string', 'example' => '3245***3243'],
+ 'PromotionFee' => ['description' => '促销价格', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Quantity' => ['description' => '库存', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'ItemUrl' => ['description' => '商品链接地址', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
+ 'ItemPicUrl' => ['description' => '商品图片链接地址', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
+ 'Price' => ['description' => '价格', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'false'],
+ 'Message' => ['description' => '商品备注,例如不可售时的原因', 'type' => 'string', 'example' => '""'],
+ 'VirtualItemType' => ['description' => '虚拟商品类型', 'type' => 'string', 'example' => '""'],
+ 'ItemPromInstVOS' => [
+ 'description' => '商品权益信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100***87-644***2078'],
+ 'SkuIds' => [
+ 'description' => '规格ID',
+ 'type' => 'array',
+ 'items' => ['description' => '规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '23432***3242'],
+ ],
+ 'AvailableItems' => [
+ 'description' => '可用商品列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '644***2078'],
+ 'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100***87-644***2078'],
+ 'SkuId' => ['description' => '商品规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '32432**324'],
+ 'LmShopId' => ['description' => 'lm店铺id', 'type' => 'integer', 'format' => 'int64', 'example' => '100***87'],
+ 'TbSellerId' => ['description' => 'tb卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '32432***4334'],
+ 'Number' => ['description' => '数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PriceCent' => ['description' => '供货价', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Points' => ['description' => '积分', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'PointsAmount' => ['description' => '积分金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UserPayFee' => ['description' => '用户支付金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Removed' => ['description' => '是否可移除', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ 'TbSellerId' => ['description' => 'tb卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '322***231'],
+ 'InstanceId' => ['description' => '优惠实例id'."\n", 'type' => 'string', 'example' => '""'],
+ 'PromotionName' => ['description' => '促销名称', 'type' => 'string', 'example' => '""'],
+ 'PromotionType' => ['description' => '促销类型', 'type' => 'string', 'example' => '""'],
+ 'Level' => ['description' => '等级', 'type' => 'string', 'example' => '""'],
+ 'DiscountPrice' => ['description' => '折扣价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ThresholdPrice' => ['description' => '门槛价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SpecialPrice' => ['description' => '特价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UseStartTime' => ['description' => '使用开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-12-11 21:22:11'],
+ 'ExpireTime' => ['description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-12-11 21:22:11'],
+ 'Selected' => ['description' => '是否可选', 'type' => 'boolean', 'example' => 'false'],
+ 'CanUse' => ['description' => '是否可用', 'type' => 'boolean', 'example' => 'false'],
+ 'Reason' => ['description' => '原因', 'type' => 'string', 'example' => '""'],
+ 'SubBizCode' => ['description' => 'SubBizCode', 'type' => 'string', 'example' => '""'],
+ ],
+ ],
+ ],
+ 'Features' => [
+ 'description' => '特征',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '-', 'example' => '""'],
+ ],
+ 'ReservePrice' => ['description' => '保留价格', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ ],
+ ],
+ ],
+ 'DeliveryInfos' => [
+ 'description' => '配送信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '配送方式ID', 'type' => 'string', 'example' => '4'],
+ 'DisplayName' => ['description' => '邮费前端展示文字', 'type' => 'string', 'example' => '包邮'],
+ 'PostFee' => ['description' => '邮费单位分', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ServiceType' => ['description' => '配送方式类型', 'type' => 'integer', 'format' => 'int64', 'example' => '-4'],
+ ],
+ ],
+ ],
+ 'InvoiceInfo' => [
+ 'description' => '发票信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => '""'],
+ 'Desc' => ['description' => '描述', 'type' => 'string', 'example' => '""'],
+ ],
+ ],
+ 'ExtInfo' => [
+ 'description' => '拓展信息',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'example' => '""', 'description' => 'xxx'],
+ ],
+ 'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'false'],
+ 'Message' => ['description' => '商品备注,例如不可售时的原因', 'type' => 'string', 'example' => '""'],
+ 'ShopPromInstVOS' => [
+ 'description' => '店铺权益信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100**75-2342***213'],
+ 'SkuIds' => [
+ 'description' => '商品规格',
+ 'type' => 'array',
+ 'items' => ['description' => '商品规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '213**231'],
+ ],
+ 'AvailableItems' => [
+ 'description' => '可用的商品列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '2342***213'],
+ 'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100**75-2342***213'],
+ 'SkuId' => ['description' => '规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '2131***344'],
+ 'LmShopId' => ['description' => 'lm店铺id', 'type' => 'integer', 'format' => 'int64', 'example' => '100**75'],
+ 'TbSellerId' => ['description' => 'tb卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '123***343'],
+ 'Number' => ['description' => '数量', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'PriceCent' => ['description' => '供货价', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Points' => ['description' => '积分', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'PointsAmount' => ['description' => '积分金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UserPayFee' => ['description' => '用户支付金额', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Removed' => ['description' => '是否可移除', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ 'TbSellerId' => ['description' => '淘宝卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '2132***321'],
+ 'InstanceId' => ['description' => '优惠实例id', 'type' => 'string', 'example' => '""'],
+ 'PromotionName' => ['description' => '促销名称', 'type' => 'string', 'example' => '""'],
+ 'PromotionType' => ['description' => '促销方式', 'type' => 'string', 'example' => '""'],
+ 'Level' => ['description' => '等级', 'type' => 'string', 'example' => '""'],
+ 'DiscountPrice' => ['description' => '折扣价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ThresholdPrice' => ['description' => '门槛价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SpecialPrice' => ['description' => '特价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UseStartTime' => ['description' => '使用开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-12-11 21:22:11'],
+ 'ExpireTime' => ['description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-12-11 21:22:11'],
+ 'Selected' => ['description' => '是否可选', 'type' => 'boolean', 'example' => 'true'],
+ 'CanUse' => ['description' => '是否可用', 'type' => 'boolean', 'example' => 'true'],
+ 'Reason' => ['description' => '原因', 'type' => 'string', 'example' => '""'],
+ 'SubBizCode' => ['description' => 'SubBizCode'."\n", 'type' => 'string', 'example' => '""xxx'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'AddressInfos' => [
+ 'description' => '收货地址信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '-',
+ 'type' => 'object',
+ 'properties' => [
+ 'AddressId' => ['description' => '返回的地址区划码', 'type' => 'integer', 'format' => 'int64', 'example' => '1223**3432'],
+ 'Receiver' => ['description' => '收货人', 'type' => 'string', 'example' => '陈**'],
+ 'ReceiverPhone' => ['description' => '手机号', 'type' => 'string', 'example' => '182***344'],
+ 'AddressDetail' => ['description' => '详细地址', 'type' => 'string', 'example' => '{\\"addressDetail\\":\\"湖*省**市**区**街道**7栋\\",\\"divisionCode\\":\\"4***03\\",\\"fullName\\":\\"欧**\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"43***08\\"}'],
+ 'DivisionCode' => ['description' => '区划码', 'type' => 'string', 'example' => '43***03'],
+ 'TownDivisionCode' => ['description' => '乡镇区划码', 'type' => 'string', 'example' => '430***008'],
+ 'IsDefault' => ['description' => '是否正常', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ ],
+ 'ExtInfo' => [
+ 'description' => '拓展信息',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '-', 'example' => '""'],
+ ],
+ 'CanSell' => ['description' => '商品是否可售', 'type' => 'boolean', 'example' => 'true'],
+ 'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => '""'],
+ ],
+ ],
+ ],
],
],
],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
+ ],
+ 404 => [
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"1267088B-4695-5****7B9-9E4F89D1\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Model\\": {\\n \\"RenderOrderInfos\\": [\\n {\\n \\"ItemInfos\\": [\\n {\\n \\"ItemId\\": \\"100***31-324***311\\",\\n \\"ItemName\\": \\"**饼干\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"SkuId\\": 0,\\n \\"DistributionMallId\\": \\"465879694***e84794d70934\\",\\n \\"DistributionSupplierId\\": \\"653***557\\",\\n \\"DistributorId\\": \\"761***123\\",\\n \\"PromotionFee\\": 0,\\n \\"Quantity\\": 99,\\n \\"ItemUrl\\": \\"https://aliyundoc.com\\",\\n \\"ItemPicUrl\\": \\"https://aliyundoc.com\\",\\n \\"Price\\": 99,\\n \\"CanSell\\": true,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"VirtualItemType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ItemPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***35-582***661\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***35-582***661\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 2,\\n \\"PriceCent\\": 100,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 100,\\n \\"Removed\\": false\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Level\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 1659612158,\\n \\"ExpireTime\\": 1659612158,\\n \\"Selected\\": false,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"Features\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ReservePrice\\": 0\\n }\\n ],\\n \\"DeliveryInfos\\": [\\n {\\n \\"Id\\": \\"10\\",\\n \\"DisplayName\\": \\"包邮\\",\\n \\"PostFee\\": 0,\\n \\"ServiceType\\": -4\\n }\\n ],\\n \\"InvoiceInfo\\": {\\n \\"Type\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Desc\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ExtInfo\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"CanSell\\": true,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ShopPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***42-568***99\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***88-52***337\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 1,\\n \\"PriceCent\\": 200,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 200,\\n \\"Removed\\": true\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Level\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 0,\\n \\"ExpireTime\\": 0,\\n \\"Selected\\": false,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ]\\n }\\n ],\\n \\"UnsellableRenderOrderInfos\\": [\\n {\\n \\"ItemInfos\\": [\\n {\\n \\"ItemId\\": \\"651***245\\",\\n \\"ItemName\\": \\"饼干\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"SkuId\\": 0,\\n \\"DistributionMallId\\": \\"34fds***32423\\",\\n \\"DistributionSupplierId\\": \\"3242***32455\\",\\n \\"DistributorId\\": \\"3245***3243\\",\\n \\"PromotionFee\\": 0,\\n \\"Quantity\\": 10,\\n \\"ItemUrl\\": \\"https://aliyundoc.com\\",\\n \\"ItemPicUrl\\": \\"https://aliyundoc.com\\",\\n \\"Price\\": 200,\\n \\"CanSell\\": false,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"VirtualItemType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ItemPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***87-644***2078\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***87-644***2078\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 1,\\n \\"PriceCent\\": 200,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 0,\\n \\"Removed\\": true\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Level\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 0,\\n \\"ExpireTime\\": 0,\\n \\"Selected\\": false,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"Features\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ReservePrice\\": 0\\n }\\n ],\\n \\"DeliveryInfos\\": [\\n {\\n \\"Id\\": \\"4\\",\\n \\"DisplayName\\": \\"包邮\\",\\n \\"PostFee\\": 0,\\n \\"ServiceType\\": -4\\n }\\n ],\\n \\"InvoiceInfo\\": {\\n \\"Type\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Desc\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ExtInfo\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"CanSell\\": false,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ShopPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100**75-2342***213\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100**75-2342***213\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 0,\\n \\"PriceCent\\": 200,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 200,\\n \\"Removed\\": true\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Level\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 0,\\n \\"ExpireTime\\": 0,\\n \\"Selected\\": true,\\n \\"CanUse\\": true,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"\\\\\\"\\\\\\"xxx\\"\\n }\\n ]\\n }\\n ],\\n \\"AddressInfos\\": [\\n {\\n \\"AddressId\\": 0,\\n \\"Receiver\\": \\"陈**\\",\\n \\"ReceiverPhone\\": \\"182***344\\",\\n \\"AddressDetail\\": \\"{\\\\\\\\\\\\\\"addressDetail\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"湖*省**市**区**街道**7栋\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"divisionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"4***03\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fullName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"欧**\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mobile\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1557***502\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"townDivisionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"43***08\\\\\\\\\\\\\\"}\\",\\n \\"DivisionCode\\": \\"43***03\\",\\n \\"TownDivisionCode\\": \\"430***008\\",\\n \\"IsDefault\\": false\\n }\\n ],\\n \\"ExtInfo\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"CanSell\\": true,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RenderDistributionOrderResponse>\\n <LogsId>1</LogsId>\\n <RequestId>1267088B-4695-5****7B9-9E4F89D1</RequestId>\\n <SubCode>200</SubCode>\\n <SubMessage>\\"\\"</SubMessage>\\n <PageSize>1</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1</TotalCount>\\n <Success>true</Success>\\n <Code>0000</Code>\\n <Message>\\"\\"</Message>\\n <Model>\\n <RenderOrderInfos>\\n <ItemInfos>\\n <ItemId>100***31-324***311</ItemId>\\n <ItemName>**饼干</ItemName>\\n <SkuName>500g</SkuName>\\n <DistributionMallId>465879694***e84794d70934</DistributionMallId>\\n <DistributionSupplierId>653***557</DistributionSupplierId>\\n <DistributorId>761***123</DistributorId>\\n <PromotionFee>0</PromotionFee>\\n <Quantity>99</Quantity>\\n <ItemUrl>https://aliyundoc.com</ItemUrl>\\n <ItemPicUrl>https://aliyundoc.com</ItemPicUrl>\\n <Price>99</Price>\\n <CanSell>true</CanSell>\\n <Message>\\"\\"</Message>\\n <VirtualItemType>\\"\\"</VirtualItemType>\\n <ItemPromInstVOS>\\n <LmItemId>100***35-582***661</LmItemId>\\n <AvailableItems>\\n <LmItemId>100***35-582***661</LmItemId>\\n <Number>2</Number>\\n <PriceCent>100</PriceCent>\\n <Points>0</Points>\\n <PointsAmount>0</PointsAmount>\\n <UserPayFee>100</UserPayFee>\\n <Removed>false</Removed>\\n </AvailableItems>\\n <InstanceId>\\"\\"</InstanceId>\\n <PromotionName>\\"\\"</PromotionName>\\n <PromotionType>\\"\\"</PromotionType>\\n <Level>\\"\\"</Level>\\n <DiscountPrice>0</DiscountPrice>\\n <ThresholdPrice>0</ThresholdPrice>\\n <SpecialPrice>0</SpecialPrice>\\n <UseStartTime>1659612158</UseStartTime>\\n <ExpireTime>1659612158</ExpireTime>\\n <Selected>false</Selected>\\n <CanUse>false</CanUse>\\n <Reason>\\"\\"</Reason>\\n <SubBizCode>\\"\\"</SubBizCode>\\n </ItemPromInstVOS>\\n <Features>\\n <key>\\"\\"</key>\\n </Features>\\n </ItemInfos>\\n <DeliveryInfos>\\n <Id>10</Id>\\n <DisplayName>包邮</DisplayName>\\n <PostFee>0</PostFee>\\n <ServiceType>-4</ServiceType>\\n </DeliveryInfos>\\n <InvoiceInfo>\\n <Type>\\"\\"</Type>\\n <Desc>\\"\\"</Desc>\\n </InvoiceInfo>\\n <ExtInfo>\\n <key>\\"\\"</key>\\n </ExtInfo>\\n <CanSell>true</CanSell>\\n <Message>\\"\\"</Message>\\n <ShopPromInstVOS>\\n <LmItemId>100***42-568***99</LmItemId>\\n <AvailableItems>\\n <LmItemId>100***88-52***337</LmItemId>\\n <Number>1</Number>\\n <PriceCent>200</PriceCent>\\n <Points>0</Points>\\n <PointsAmount>0</PointsAmount>\\n <UserPayFee>200</UserPayFee>\\n <Removed>true</Removed>\\n </AvailableItems>\\n <InstanceId>\\"\\"</InstanceId>\\n <PromotionName>\\"\\"</PromotionName>\\n <PromotionType>\\"\\"</PromotionType>\\n <Level>\\"\\"</Level>\\n <DiscountPrice>0</DiscountPrice>\\n <ThresholdPrice>0</ThresholdPrice>\\n <SpecialPrice>0</SpecialPrice>\\n <UseStartTime>0</UseStartTime>\\n <ExpireTime>0</ExpireTime>\\n <Selected>false</Selected>\\n <CanUse>false</CanUse>\\n <Reason>\\"\\"</Reason>\\n <SubBizCode>\\"\\"</SubBizCode>\\n </ShopPromInstVOS>\\n </RenderOrderInfos>\\n <UnsellableRenderOrderInfos>\\n <ItemInfos>\\n <ItemId>651***245</ItemId>\\n <ItemName>饼干</ItemName>\\n <SkuName>500g</SkuName>\\n <DistributionMallId>34fds***32423</DistributionMallId>\\n <DistributionSupplierId>3242***32455</DistributionSupplierId>\\n <DistributorId>3245***3243</DistributorId>\\n <PromotionFee>0</PromotionFee>\\n <Quantity>10</Quantity>\\n <ItemUrl>https://aliyundoc.com</ItemUrl>\\n <ItemPicUrl>https://aliyundoc.com</ItemPicUrl>\\n <Price>200</Price>\\n <CanSell>false</CanSell>\\n <Message>\\"\\"</Message>\\n <VirtualItemType>\\"\\"</VirtualItemType>\\n <ItemPromInstVOS>\\n <LmItemId>100***87-644***2078</LmItemId>\\n <AvailableItems>\\n <LmItemId>100***87-644***2078</LmItemId>\\n <Number>1</Number>\\n <PriceCent>200</PriceCent>\\n <Points>0</Points>\\n <PointsAmount>0</PointsAmount>\\n <UserPayFee>0</UserPayFee>\\n <Removed>true</Removed>\\n </AvailableItems>\\n <InstanceId>\\"\\"</InstanceId>\\n <PromotionName>\\"\\"</PromotionName>\\n <PromotionType>\\"\\"</PromotionType>\\n <Level>\\"\\"</Level>\\n <DiscountPrice>0</DiscountPrice>\\n <ThresholdPrice>0</ThresholdPrice>\\n <SpecialPrice>0</SpecialPrice>\\n <Selected>false</Selected>\\n <CanUse>false</CanUse>\\n <Reason>\\"\\"</Reason>\\n <SubBizCode>\\"\\"</SubBizCode>\\n </ItemPromInstVOS>\\n <Features>\\n <key>\\"\\"</key>\\n </Features>\\n <ReservePrice>0</ReservePrice>\\n </ItemInfos>\\n <DeliveryInfos>\\n <Id>4</Id>\\n <DisplayName>包邮</DisplayName>\\n <PostFee>0</PostFee>\\n <ServiceType>-4</ServiceType>\\n </DeliveryInfos>\\n <InvoiceInfo>\\n <Type>\\"\\"</Type>\\n <Desc>\\"\\"</Desc>\\n </InvoiceInfo>\\n <ExtInfo>\\n <key>\\"\\"</key>\\n </ExtInfo>\\n <CanSell>false</CanSell>\\n <Message>\\"\\"</Message>\\n <ShopPromInstVOS>\\n <LmItemId>100**75-2342***213</LmItemId>\\n <AvailableItems>\\n <LmItemId>100**75-2342***213</LmItemId>\\n <Number>0</Number>\\n <PriceCent>200</PriceCent>\\n <Points>0</Points>\\n <PointsAmount>0</PointsAmount>\\n <UserPayFee>200</UserPayFee>\\n <Removed>true</Removed>\\n </AvailableItems>\\n <InstanceId>\\"\\"</InstanceId>\\n <PromotionName>\\"\\"</PromotionName>\\n <PromotionType>\\"\\"</PromotionType>\\n <Level>\\"\\"</Level>\\n <DiscountPrice>0</DiscountPrice>\\n <ThresholdPrice>0</ThresholdPrice>\\n <SpecialPrice>0</SpecialPrice>\\n <Selected>true</Selected>\\n <CanUse>true</CanUse>\\n <Reason>\\"\\"</Reason>\\n <SubBizCode>\\"\\"xxx</SubBizCode>\\n </ShopPromInstVOS>\\n </UnsellableRenderOrderInfos>\\n <AddressInfos>\\n <Receiver>陈**</Receiver>\\n <ReceiverPhone>182***344</ReceiverPhone>\\n <AddressDetail>{\\\\\\"addressDetail\\\\\\":\\\\\\"湖*省**市**区**街道**7栋\\\\\\",\\\\\\"divisionCode\\\\\\":\\\\\\"4***03\\\\\\",\\\\\\"fullName\\\\\\":\\\\\\"欧**\\\\\\",\\\\\\"mobile\\\\\\":\\\\\\"1557***502\\\\\\",\\\\\\"townDivisionCode\\\\\\":\\\\\\"43***08\\\\\\"}</AddressDetail>\\n <DivisionCode>43***03</DivisionCode>\\n <TownDivisionCode>430***008</TownDivisionCode>\\n <IsDefault>false</IsDefault>\\n </AddressInfos>\\n <ExtInfo>\\n <key>\\"\\"</key>\\n </ExtInfo>\\n <CanSell>true</CanSell>\\n <Message>\\"\\"</Message>\\n </Model>\\n</RenderDistributionOrderResponse>","errorExample":""}]',
+ 'title' => '分销采购订单渲染',
+ 'summary' => '分销订单渲染。',
+ 'description' => '分销订单渲染',
+ 'requestParamsDescription' => '```'."\n"
+ .'{ '."\n"
+ .' "divisionCode": "区/县的4级divisionCode(街道/镇的上一级地址)", //该字段通过queryChildDivisionCodeById接口获取'."\n"
+ .' "townDivisionCode":"街道/镇的5级divisionCode", //该字段通过queryChildDivisionCodeById接口获取'."\n"
+ .' "fullName": "收货人姓名", '."\n"
+ .' "mobile": "收货人电话", '."\n"
+ .' "addressDetail": "收货人地址" '."\n"
+ .'}'."\n"
+ .'```',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenderDistributionOrder'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:renderDistributionOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SubmitReturnGoodLogistics4Distribution' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none'],
+ 'parameters' => [
+ [
+ 'name' => 'DistributorId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'SubDistributionOrderId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'DisputeId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '纠纷ID', 'description' => '纠纷ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14244******33071'],
+ ],
+ [
+ 'name' => 'LogisticsNo',
+ 'in' => 'formData',
+ 'schema' => ['title' => '物流单号', 'description' => '物流单号', 'type' => 'string', 'required' => false, 'example' => ' SF131*****7061'],
+ ],
+ [
+ 'name' => 'CpCode',
+ 'in' => 'formData',
+ 'schema' => ['title' => '公司代码', 'description' => '公司代码', 'type' => 'string', 'required' => false, 'example' => 'SF'],
+ ],
+ [
+ 'name' => 'TenantId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
@@ -8422,232 +4010,542 @@
'description' => 'PopResponse<Void>',
'type' => 'object',
'properties' => [
- 'LogsId' => [
- 'title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便',
- 'type' => 'string',
- 'example' => '5127621C-56B0-5DCA-9745-2936B31D****',
- ],
- 'SubCode' => [
- 'title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'SubMessage' => [
- 'title' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'description' => '业务处理相关的错误信息,一般建议关注此类错误',
- 'type' => 'string',
- 'example' => '1004',
- ],
- 'PageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'title' => '当前页',
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '19',
- ],
- 'Success' => [
- 'title' => '本次执行的结果成功与否',
- 'description' => '本次执行的结果成功与否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '返回的执行结果码, 正确为字符串 0000',
- 'description' => '返回的执行结果码, 正确为字符串 0000',
- 'type' => 'string',
- 'example' => '0000',
- ],
- 'Message' => [
- 'title' => '错误消息',
- 'description' => '错误消息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED****'],
+ 'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
+ 'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
+ 'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
+ 'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidTag.Mismatch',
- 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.',
- ],
- [
- 'errorCode' => 'InvalidTagCount',
- 'errorMessage' => 'The specified tags are beyond the permitted range.',
- ],
+ ['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
+ ['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'InvalidInstanceChargeType.NotFound',
- 'errorMessage' => 'The InstanceChargeType does not exist in our records',
- ],
- [
- 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported',
- 'errorMessage' => 'The specified InternetChargeType is not valid',
+ ['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
+ ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"79C01D47-3C44-57D9-BC99-1B33F7ED****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 16,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
+ 'title' => ' 提交分销采购订单退货物流信息',
+ 'summary' => '如果提交了退货申请,通过该接口提交退货的物流信息。',
+ 'description' => '注意: '."\n"
+ .'1.只有在卖家同意退款(通过queryRefundApplicationDetail4DistributionOrder接口查询到disputeStatus为2时)且需要退回货物时,才能调此接口 '."\n"
+ .'2.DisputeId字段需要通过查询订单逆向申请详情(queryRefundApplicationDetail4DistributionOrder)接口获取',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitReturnGoodLogistics4Distribution'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'linkedmall:submitReturnGoodLogistics4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"5127621C-56B0-5DCA-9745-2936B31D****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
- 'summary' => '取消/关闭分销交易。',
- 'description' => '分销域给上游通知成功走退款,分销域未通知交易成功前走取消',
],
],
'endpoints' => [
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkedmall.aliyuncs.com', 'endpoint' => 'linkedmall.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'linkedmall-distributor-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkedmall.cn-hangzhou.aliyuncs.com', 'endpoint' => 'linkedmall.cn-hangzhou.aliyuncs.com', 'vpc' => 'linkedmall.vpc-proxy.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'linkedmall.aliyuncs.com', 'endpoint' => 'linkedmall.aliyuncs.com', 'vpc' => ''],
+ ],
+ 'errorCodes' => [
+ ['code' => 'ApplyReasonTextIdInvalid', 'message' => '无效的退款原因id', 'http_code' => 400, 'description' => '无效的退款原因id'],
+ ['code' => 'AuthCompanyNotFind', 'message' => 'AK对应的主体不存在', 'http_code' => 404, 'description' => 'AK对应的主体不存在'],
+ ['code' => 'CpCodeInvalid', 'message' => '无法识别的快递公司代号 {}', 'http_code' => 400, 'description' => '无法识别的快递公司代号'],
+ ['code' => 'DisputeInSelleFundOnlyCanReturnAll', 'message' => '售中只能全部退', 'http_code' => 400, 'description' => '售中只能全部退'],
+ ['code' => 'DisputePolicyInvalid', 'message' => '无效的退款类型', 'http_code' => 400, 'description' => '无效的退款类型'],
+ ['code' => 'GoodStatusInvalid', 'message' => '无效的货品状态', 'http_code' => 400, 'description' => '无效的货品状态'],
+ ['code' => 'HasNoPrivilege', 'message' => 'NoPrivilege.', 'http_code' => 403, 'description' => '没有权限'],
+ ['code' => 'linkedmall.errorcode.InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => '未知原因导致请求失败.'],
+ ['code' => 'MissingParameter', 'message' => 'You must specify the parameter.', 'http_code' => 500, 'description' => '缺少参数'],
+ ['code' => 'MissingParameter', 'message' => 'Required parameter \'{}\' is not found.', 'http_code' => 400, 'description' => '参数缺失'],
+ ['code' => 'OnlyRefundAndReturnCanSubmitShipping', 'message' => '只有退货退款才能提交退货物流信息', 'http_code' => 400, 'description' => '只有退货退款才能提交退货物流信息'],
+ ['code' => 'OrderForbidden', 'message' => '{} 订单无访问权限', 'http_code' => 403, 'description' => '订单无访问权限'],
+ ['code' => 'OrderLineForbidden', 'message' => '{} 子订单无访问权限', 'http_code' => 403, 'description' => '子订单无访问权限'],
+ ['code' => 'OrderLineNotFound', 'message' => '{} 子订单不存在', 'http_code' => 404, 'description' => '子订单不存在'],
+ ['code' => 'OrderNotFound', 'message' => '订单不存在', 'http_code' => 404, 'description' => '主订单不存在'],
+ ['code' => 'OuterPurchaseOrderIdExist', 'message' => '{} 外部采购单已经存在', 'http_code' => 500, 'description' => '外部采购单已经存在'],
+ ['code' => 'ParameterInvalid', 'message' => 'parameter {} invalid', 'http_code' => 400, 'description' => '参数格式错误'],
+ ['code' => 'PurchaseOrderForbidden', 'message' => '采购单不存在或无访问权限', 'http_code' => 403, 'description' => '采购单不存在或无访问权限'],
+ ['code' => 'PurchaseOrderIdOrOrderIdInvalid', 'message' => '分销交易号或者主订单号不正确', 'http_code' => 400, 'description' => '分销交易号或者主订单号不正确'],
+ ['code' => 'PurchaseOrderNotFound', 'message' => '{} 采购单不存在', 'http_code' => 400, 'description' => '采购单不存在'],
+ ['code' => 'RefundAmountMustLessThanOrder', 'message' => '退款金额不能大于订单金额', 'http_code' => 400, 'description' => '退款金额不能大于订单金额'],
+ ['code' => 'RefundNotFound', 'message' => '退款单不存在', 'http_code' => 400, 'description' => '退款单不存在'],
+ ['code' => 'RefundNumberMustLessThanOrder', 'message' => '退款数量不能大于订单数量', 'http_code' => 400, 'description' => '退款数量不能大于订单数量'],
+ ['code' => 'SavePurchaseOrderError', 'message' => '保存采购单失败', 'http_code' => 500, 'description' => '保存采购单失败'],
+ ['code' => 'ShopForbidden', 'message' => '{} 店铺无访问权限', 'http_code' => 403, 'description' => '店铺无访问权限'],
+ ['code' => 'ShopIdUnique', 'message' => '存在多个不同的shopId', 'http_code' => 404, 'description' => '存在多个不同的shopId'],
+ ['code' => 'ShopNotFind', 'message' => '{} 店铺不存在', 'http_code' => 404, 'description' => '店铺不存在'],
+ ['code' => 'ShopTypeInvalid', 'message' => 'skuId:{} 是经销集采的店铺商品无法下单', 'http_code' => 400, 'description' => '经销集采店铺的商品无法下单'],
+ ['code' => 'SkuNotFind', 'message' => '{} sku不存在', 'http_code' => 404, 'description' => 'sku不存在'],
+ ['code' => 'SkuPriceUnique', 'message' => 'skuId:{} sku价格不是最新的', 'http_code' => 400, 'description' => 'sku价格不是最新的'],
+ ],
+ 'changeSet' => [
[
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'linkedmall.aliyuncs.com',
+ 'apis' => [
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'QueryLogistics4Distribution'],
+ ],
+ 'createdAt' => '2023-09-12T10:14:00.000Z',
+ 'description' => '',
],
[
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'ApplyCreateDistributionOrder'],
+ ],
+ 'createdAt' => '2023-06-06T11:51:13.000Z',
+ 'description' => '',
],
[
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'ListDistributionItem'],
+ ],
+ 'createdAt' => '2022-12-30T12:19:56.000Z',
+ 'description' => '分销商品列表接口更新,支持返回商家税率税码信息。',
],
[
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'linkedmall.aliyuncs.com',
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'QueryItemGuideRetailPrice'],
+ ],
+ 'createdAt' => '2022-12-08T09:52:05.000Z',
+ 'description' => '商品建议售价接口增加最低建议售价字段',
],
[
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'linkedmall.aliyuncs.com',
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'ApplyCreateDistributionOrder'],
+ ],
+ 'createdAt' => '2022-11-29T10:08:47.000Z',
+ 'description' => '分销交易支持指定外部单号',
],
[
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
+ 'apis' => [
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListDistributionItem'],
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'QueryItemDetail'],
+ ],
+ 'createdAt' => '2022-09-23T10:56:18.000Z',
+ 'description' => '商品接口、商品列表接口调整',
],
[
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
+ 'apis' => [
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'QueryDistributionMall'],
+ ],
+ 'createdAt' => '2022-07-21T09:11:52.000Z',
+ 'description' => '分销业务商详接口和分销商城接口变更',
],
[
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'QueryChildDivisionCodeById'],
+ ],
+ 'createdAt' => '2022-07-21T01:58:27.000Z',
+ 'description' => '添加区域码查询接口',
],
[
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'linkedmall.aliyuncs.com',
+ 'apis' => [
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListDistributionMall'],
+ ],
+ 'createdAt' => '2022-07-19T03:02:52.000Z',
+ 'description' => '分销商入驻对接接口发布',
],
[
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'ListDistributionItem'],
+ ['description' => 'OpenAPI 下线', 'api' => 'QueryItemDetail'],
+ ],
+ 'createdAt' => '2022-05-31T09:47:54.000Z',
+ 'description' => '分销相关接口上线',
],
[
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com',
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'AddDistributionItem'],
+ ['description' => 'OpenAPI 下线', 'api' => 'ApplyCreateDistributionOrder'],
+ ['description' => 'OpenAPI 下线', 'api' => 'ApplyDistributionMall'],
+ ['description' => 'OpenAPI 下线', 'api' => 'ApplyDistributor'],
+ ['description' => 'OpenAPI 下线', 'api' => 'ApplyRefund4Distribution'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CancelDistributionTrade'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CancelRefund4Distribution'],
+ ['description' => 'OpenAPI 下线', 'api' => 'ChangeDistributorSubjectInfo'],
+ ['description' => 'OpenAPI 下线', 'api' => 'ConfirmDisburse4Distribution'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateDistribution'],
+ ],
+ 'createdAt' => '2022-05-31T08:03:08.000Z',
+ 'description' => '项目初始化,提供基本的分销功能。',
],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'linkedmall.cn-hangzhou.aliyuncs.com',
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryOrderList4Distribution'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenderDistributionOrder'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApplyRefund4Distribution'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InitApplyRefund4Distribution'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDistributionBillDetail'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryOrderDetail4Distribution'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelDistributionTrade'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitReturnGoodLogistics4Distribution'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InitModifyRefund4Distribution'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelRefund4Distribution'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfirmDisburse4Distribution'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDistributionTradeStatus'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRefund4Distribution'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryRefundApplicationDetail4Distribution'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApplyCreateDistributionOrder'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryLogistics4Distribution'],
+ ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDistributionItem'],
],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'linkedmall.aliyuncs.com',
+ ],
+ 'ram' => [
+ 'productCode' => 'Linkedmall',
+ 'productName' => '企业商城 LinkedMall',
+ 'ramCodes' => ['linkedmall', 'neuron'],
+ 'ramLevel' => '操作级',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'InitApplyRefund4Distribution',
+ 'description' => '分销采购订单退款申请初始化',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:initApplyRefund4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryOrderList4Distribution',
+ 'description' => '查询分销采购订单列表',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryOrderList4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryMallCategoryList',
+ 'description' => '查询商品类目信息',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryMallCategoryList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyRefund4Distribution',
+ 'description' => '分销采购订单退款申请修改',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:modifyRefund4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListDistributionItem',
+ 'description' => '查询商品列表',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:listDistributionItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryDistributionBillDetail',
+ 'description' => '账单明细查询',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:getDistributionBillByDistributor',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ApplyCreateDistributionOrder',
+ 'description' => '提交分销采购订单创建请求',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:applyCreateDistributionOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryItemDetailWithDivision',
+ 'description' => '查询商品详情接口(支持区域库存)',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryItemDetailWithDivision',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'InitModifyRefund4Distribution',
+ 'description' => '分销采购订单退款申请修改初始化',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:initModifyRefund4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryRefundApplicationDetail4Distribution',
+ 'description' => '查询分销采购订单退款申请',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryRefundApplicationDetail4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ApplyRefund4Distribution',
+ 'description' => '分销采购订单退款申请',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:applyRefund4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RenderDistributionOrder',
+ 'description' => '分销采购订单渲染',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:renderDistributionOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListDistributionMall',
+ 'description' => '分销商城列表查询',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:listDistributionMall',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryDistributionMall',
+ 'description' => '分销商城查询',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryDistributionMall',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryOrderDetail4Distribution',
+ 'description' => '查询分销采购订单详情',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryOrderDetail4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListDistributionItemWithoutCache',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:listDistributionItemWithoutCache',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ConfirmDisburse4Distribution',
+ 'description' => ' 分销采购订单确认收货',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:confirmDisburse4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryChildDivisionCodeById',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryChildDivisionCodeById',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CancelRefund4Distribution',
+ 'description' => '取消分销采购订单退款申请',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:cancelRefund4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryItemDetail',
+ 'description' => '查询商品详情接口',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryItemDetail',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryDistributionTradeStatus',
+ 'description' => '查询分销交易状态',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryDistributionTradeStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitReturnGoodLogistics4Distribution',
+ 'description' => ' 提交分销采购订单退货物流信息',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'linkedmall:submitReturnGoodLogistics4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryLogistics4Distribution',
+ 'description' => '分销采购订单物流查询',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryLogistics4Distribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryItemGuideRetailPrice',
+ 'description' => '商品建议售价查询接口',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:queryItemGuideRetailPrice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CancelDistributionTrade',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'linkedmall:cancelDistributionTrade',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'resourceTypes' => [],
],
];
diff --git a/data/zh_cn/linkedmall/2023-09-30/api-docs.php b/data/zh_cn/linkedmall/2023-09-30/api-docs.php
index 03c88bc..5fc3873 100644
--- a/data/zh_cn/linkedmall/2023-09-30/api-docs.php
+++ b/data/zh_cn/linkedmall/2023-09-30/api-docs.php
@@ -1,77 +1,42 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'linkedmall',
- 'version' => '2023-09-30',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'linkedmall', 'version' => '2023-09-30'],
'directories' => [
[
- 'id' => 185821,
- 'title' => '采购店铺',
+ 'children' => ['ListPurchaserShops', 'GetPurchaserShop'],
'type' => 'directory',
- 'children' => [
- 'ListPurchaserShops',
- 'GetPurchaserShop',
- ],
+ 'title' => '采购店铺',
+ 'id' => 303558,
],
[
- 'id' => 185824,
- 'title' => '商品',
+ 'children' => ['GetSelectionProduct', 'ListSelectionProducts', 'GetSelectionProductSaleInfo', 'ListSelectionProductSaleInfos', 'ListSelectionSkuSaleInfos', 'ListCategories', 'SearchProducts', 'SelectionGroupAddProduct', 'SelectionGroupRemoveProduct'],
'type' => 'directory',
- 'children' => [
- 'GetSelectionProduct',
- 'ListSelectionProducts',
- 'GetSelectionProductSaleInfo',
- 'ListSelectionProductSaleInfos',
- 'ListSelectionSkuSaleInfos',
- 'ListCategories',
- 'SearchProducts',
- 'SelectionGroupAddProduct',
- 'SelectionGroupRemoveProduct',
- ],
+ 'title' => '商品',
+ 'id' => 303561,
],
[
- 'id' => 185829,
- 'title' => '采购单',
+ 'children' => ['SplitPurchaseOrder', 'RenderPurchaseOrder', 'CreatePurchaseOrder', 'GetPurchaseOrderStatus'],
'type' => 'directory',
- 'children' => [
- 'SplitPurchaseOrder',
- 'RenderPurchaseOrder',
- 'CreatePurchaseOrder',
- 'GetPurchaseOrderStatus',
- ],
+ 'title' => '采购单',
+ 'id' => 303621,
],
[
- 'id' => 185833,
- 'title' => '订单',
+ 'children' => ['GetOrder', 'QueryOrders', 'ListLogisticsOrders', 'ConfirmDisburse'],
'type' => 'directory',
- 'children' => [
- 'GetOrder',
- 'QueryOrders',
- 'ListLogisticsOrders',
- 'ConfirmDisburse',
- ],
+ 'title' => '订单',
+ 'id' => 303646,
],
[
- 'id' => 185838,
- 'title' => '售后单',
+ 'children' => ['RenderRefundOrder', 'CreateRefundOrder', 'CancelRefundOrder', 'GetRefundOrder', 'CreateGoodsShippingNotice'],
'type' => 'directory',
- 'children' => [
- 'RenderRefundOrder',
- 'CreateRefundOrder',
- 'CancelRefundOrder',
- 'GetRefundOrder',
- 'CreateGoodsShippingNotice',
- ],
+ 'title' => '售后单',
+ 'id' => 303664,
],
[
- 'id' => 185844,
- 'title' => '区域编码',
+ 'children' => ['QueryChildDivisionCode'],
'type' => 'directory',
- 'children' => [
- 'QueryChildDivisionCode',
- ],
+ 'title' => '区域编码',
+ 'id' => 303678,
],
],
'components' => [
@@ -81,49 +46,12 @@
'description' => '收货地址',
'type' => 'object',
'properties' => [
- 'divisionCode' => [
- 'title' => '三级地址code(建议必填)',
- 'description' => '四级地址code(区/县级,建议必填)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '330106',
- ],
- 'addressDetail' => [
- 'title' => '收货地址详细地址',
- 'description' => '收货地址详细地址(建议以省/市/区县/街道/小区的格式填写完整地址信息)',
- 'type' => 'string',
- 'required' => true,
- 'example' => '陕西省西安市新城区xx街道xxx大厦xx室',
- ],
- 'receiverPhone' => [
- 'title' => '收货人电话',
- 'description' => '收货人电话',
- 'type' => 'string',
- 'required' => true,
- 'example' => '182***5674',
- ],
- 'townDivisionCode' => [
- 'title' => '四级地址code(建议必填)',
- 'description' => '五级地址code(乡镇/街道级,必填)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '330106109',
- ],
- 'receiver' => [
- 'title' => '收货人',
- 'description' => '收货人',
- 'type' => 'string',
- 'required' => true,
- 'example' => '任先生',
- ],
- 'addressId' => [
- 'title' => '地址ID',
- 'description' => '地址ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
+ 'divisionCode' => ['title' => '三级地址code(建议必填)', 'description' => '四级地址code(区/县级,建议必填)', 'type' => 'string', 'required' => false, 'example' => '330106'],
+ 'addressDetail' => ['title' => '收货地址详细地址', 'description' => '收货地址详细地址(建议以省/市/区县/街道/小区的格式填写完整地址信息)', 'type' => 'string', 'required' => true, 'example' => '陕西省西安市新城区xx街道xxx大厦xx室'],
+ 'receiverPhone' => ['title' => '收货人电话', 'description' => '收货人电话', 'type' => 'string', 'required' => true, 'example' => '182***5674'],
+ 'townDivisionCode' => ['title' => '四级地址code(建议必填)', 'description' => '五级地址code(乡镇/街道级,必填)', 'type' => 'string', 'required' => false, 'example' => '330106109'],
+ 'receiver' => ['title' => '收货人', 'description' => '收货人', 'type' => 'string', 'required' => true, 'example' => '任先生'],
+ 'addressId' => ['title' => '地址ID', 'description' => '地址ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
],
'ApplyReason' => [
@@ -131,65 +59,19 @@
'description' => '申请退款原因',
'type' => 'object',
'properties' => [
- 'reasonTextId' => [
- 'title' => '理由ID',
- 'description' => '理由ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '403769',
- ],
- 'reasonTips' => [
- 'title' => '理由文本',
- 'description' => '理由文本',
- 'type' => 'string',
- 'required' => false,
- 'example' => '不想要了',
- ],
+ 'reasonTextId' => ['title' => '理由ID', 'description' => '理由ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '403769'],
+ 'reasonTips' => ['title' => '理由文本', 'description' => '理由文本', 'type' => 'string', 'required' => false, 'example' => '不想要了'],
],
],
'Category' => [
'description' => '类目链',
'type' => 'object',
'properties' => [
- 'name' => [
- 'title' => '类目名称',
- 'description' => '类目名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '名称测试',
- ],
- 'isLeaf' => [
- 'title' => '是否叶子类目',
- 'description' => '是否叶子类目',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
- 'level' => [
- 'title' => '层级',
- 'description' => '层级',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
- 'categoryId' => [
- 'title' => '类目id',
- 'description' => '类目id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '201792301',
- ],
- 'parentId' => [
- 'title' => '父类id',
- 'description' => '父类id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
+ 'name' => ['title' => '类目名称', 'description' => '类目名称', 'type' => 'string', 'required' => false, 'example' => '名称测试'],
+ 'isLeaf' => ['title' => '是否叶子类目', 'description' => '是否叶子类目', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ 'level' => ['title' => '层级', 'description' => '层级', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
+ 'categoryId' => ['title' => '类目id', 'description' => '类目id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '201792301'],
+ 'parentId' => ['title' => '父类id', 'description' => '父类id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
],
'CategoryListQuery' => [
@@ -197,24 +79,13 @@
'description' => '类目查询参数',
'type' => 'object',
'properties' => [
- 'parentCategoryId' => [
- 'title' => '父类目id',
- 'description' => '父类目id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5200001',
- ],
+ 'parentCategoryId' => ['title' => '父类目id', 'description' => '父类目id', 'type' => 'integer', 'format' => 'int64', 'example' => '5200001'],
'categoryIds' => [
'title' => '类目id集合',
'description' => '类目id集合',
'type' => 'array',
- 'items' => [
- 'description' => '类目ID'."\n"
- .'> 单次查询类目ID数量上限为50个',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5200067',
- ],
+ 'items' => ['description' => '类目ID'."\n"
+ .'> 单次查询类目ID数量上限为50个', 'type' => 'integer', 'format' => 'int64', 'example' => '5200067'],
],
],
],
@@ -223,18 +94,12 @@
'description' => '类目',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => '请求id',
- 'description' => '请求id',
- 'type' => 'string',
- ],
+ 'requestId' => ['title' => '请求id', 'description' => '请求id', 'type' => 'string'],
'categories' => [
'title' => '类目集合',
'description' => '类目集合',
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Category',
- ],
+ 'items' => ['$ref' => '#/components/schemas/Category', 'description' => ''],
],
],
],
@@ -245,20 +110,9 @@
.'> - 当purchaseOrderId字段与orderId字段均传入时,系统以purchaseOrderId字段为准,即确收该采购单下所有订单。',
'type' => 'object',
'properties' => [
- 'orderId' => [
- 'title' => '主分销订单号',
- 'description' => '主分销订单号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6692****5457',
- ],
- 'purchaseOrderId' => [
- 'title' => '分销交易号',
- 'description' => '分销交易号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6692****5696',
- ],
+ 'orderId' => ['title' => '主分销订单号', 'description' => '主分销订单号', 'type' => 'string', 'required' => false, 'example' => '6692****5457'],
+ 'purchaseOrderId' => ['title' => '分销交易号', 'description' => '分销交易号', 'type' => 'string', 'required' => false, 'example' => '6692****5696'],
+ 'disputeId' => ['type' => 'string'],
],
],
'ConfirmDisburseResult' => [
@@ -266,20 +120,8 @@
'description' => '确认收货结果',
'type' => 'object',
'properties' => [
- 'result' => [
- 'title' => '确认收货返回结果',
- 'description' => '确认收货返回结果',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'success',
- ],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '841471F6-5D61-1331-8C38-2****B55',
- ],
+ 'result' => ['title' => '确认收货返回结果', 'description' => '确认收货返回结果', 'type' => 'string', 'required' => false, 'example' => 'success'],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'],
],
],
'CooperationShop' => [
@@ -287,54 +129,9 @@
'description' => '合作方店铺',
'type' => 'object',
'properties' => [
- 'shopId' => [
- 'title' => '店铺id',
- 'description' => '店铺id',
- 'type' => 'string',
- ],
- 'cooperationCompanyId' => [
- 'title' => '合作企业id',
- 'description' => '合作企业id',
- 'type' => 'string',
- ],
- 'cooperationShopId' => [
- 'title' => '合作店铺id',
- 'description' => '合作店铺id',
- 'type' => 'string',
- ],
- ],
- ],
- 'CreateAliPayUrlRequest' => [
- 'title' => '入参',
- 'type' => 'object',
- 'properties' => [
- 'shopId' => [
- 'title' => '申请的店铺id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123',
- 'minLength' => 1,
- ],
- ],
- ],
- 'CreateAliPayUrlResult' => [
- 'type' => 'object',
- 'properties' => [
- 'zftWithholdSignUrl' => [
- 'title' => '支付宝代扣签约url',
- 'type' => 'string',
- 'required' => false,
- ],
- 'accountId' => [
- 'title' => 'LM账号id',
- 'type' => 'string',
- 'required' => false,
- ],
- 'memberId' => [
- 'title' => 'LM会员id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'shopId' => ['title' => '店铺id', 'description' => '店铺id', 'type' => 'string'],
+ 'cooperationCompanyId' => ['title' => '合作企业id', 'description' => '合作企业id', 'type' => 'string'],
+ 'cooperationShopId' => ['title' => '合作店铺id', 'description' => '合作店铺id', 'type' => 'string'],
],
],
'DeliveryInfo' => [
@@ -342,86 +139,10 @@
'description' => '履约信息',
'type' => 'object',
'properties' => [
- 'postFee' => [
- 'title' => '运费金额',
- 'description' => '运费金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'serviceType' => [
- 'title' => 'serviceType',
- 'description' => '邮递服务类型',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '-4',
- ],
- 'id' => [
- 'title' => '唯一ID',
- 'description' => '唯一ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- ],
- 'displayName' => [
- 'title' => '显示名称',
- 'description' => '显示名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '快递 免邮',
- ],
- ],
- ],
- 'DistributeProductCommand' => [
- 'title' => '铺货请求',
- 'description' => '铺货请求',
- 'type' => 'object',
- 'properties' => [
- 'requestId' => [
- 'title' => '请求ID',
- 'type' => 'string',
- ],
- 'requestUser' => [
- 'title' => '提交人',
- 'type' => 'string',
- ],
- 'requestTime' => [
- 'title' => '提交时间',
- 'type' => 'string',
- 'example' => '2024-12-01 10:01:00',
- ],
- 'lmShopId' => [
- 'title' => 'LM店铺ID',
- 'type' => 'string',
- ],
- 'products' => [
- 'title' => '铺货商品',
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/DistributionProduct',
- ],
- ],
- ],
- ],
- 'DistributeProductResult' => [
- 'title' => 'A short description of struct',
- 'description' => '铺货结果',
- 'type' => 'object',
- 'properties' => [
- 'requestId' => [
- 'title' => '请求ID',
- 'type' => 'string',
- ],
- 'code' => [
- 'title' => '返回码',
- 'type' => 'string',
- ],
- 'message' => [
- 'title' => '返回消息',
- 'type' => 'string',
- ],
+ 'postFee' => ['title' => '运费金额', 'description' => '运费金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'serviceType' => ['title' => 'serviceType', 'description' => '邮递服务类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-4'],
+ 'id' => ['title' => '唯一ID', 'description' => '唯一ID', 'type' => 'string', 'required' => false, 'example' => '20'],
+ 'displayName' => ['title' => '显示名称', 'description' => '显示名称', 'type' => 'string', 'required' => false, 'example' => '快递 免邮'],
],
],
'DistributionMaxRefundFee' => [
@@ -429,149 +150,8 @@
'description' => '退款费用',
'type' => 'object',
'properties' => [
- 'minRefundFee' => [
- 'title' => '本单最小可退款金额',
- 'description' => '本单最小可退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
- 'maxRefundFee' => [
- 'title' => '本单最大可退款金额',
- 'description' => '本单最大可退款金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100',
- ],
- ],
- ],
- 'DistributionProduct' => [
- 'title' => 'A short description of struct',
- 'description' => '铺货商品',
- 'type' => 'object',
- 'properties' => [
- 'productId' => [
- 'title' => '商品ID',
- 'type' => 'string',
- ],
- 'channelCode' => [
- 'title' => '渠道ID',
- 'type' => 'string',
- ],
- 'sellerId' => [
- 'title' => '卖家ID',
- 'type' => 'string',
- ],
- 'categoryLeafId' => [
- 'title' => '叶子类目ID',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'categoryLeafName' => [
- 'title' => '叶子类目名称',
- 'type' => 'string',
- ],
- 'categoryChain' => [
- 'title' => '类目链名称',
- 'type' => 'string',
- ],
- 'title' => [
- 'title' => '商品长标题',
- 'type' => 'string',
- ],
- 'shortTitle' => [
- 'title' => '商品短标题',
- 'type' => 'string',
- ],
- 'picUrl' => [
- 'title' => '主图',
- 'type' => 'string',
- ],
- 'whiteBackgroundPicUrl' => [
- 'title' => '白底图',
- 'type' => 'string',
- ],
- 'distributeStatus' => [
- 'title' => '铺货状态',
- 'type' => 'string',
- ],
- 'skus' => [
- 'title' => 'sku集合',
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/DistributionSku',
- ],
- ],
- ],
- ],
- 'DistributionSku' => [
- 'title' => 'A short description of struct',
- 'description' => '铺货SKU',
- 'type' => 'object',
- 'properties' => [
- 'skuId' => [
- 'title' => 'sku id',
- 'type' => 'string',
- ],
- 'title' => [
- 'title' => '名称',
- 'type' => 'string',
- ],
- 'aliasTitle' => [
- 'title' => '别名',
- 'type' => 'string',
- ],
- 'picUrl' => [
- 'title' => '图片',
- 'type' => 'string',
- ],
- 'jxPrice' => [
- 'title' => '经销供货价',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'dxPrice' => [
- 'title' => '代销供货价',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'taxCode' => [
- 'title' => '税码',
- 'type' => 'string',
- ],
- 'taxRate' => [
- 'title' => '税率',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'barCode' => [
- 'title' => '条形码',
- 'type' => 'string',
- ],
- 'skuStatus' => [
- 'title' => '状态',
- 'type' => 'string',
- ],
- 'quantity' => [
- 'title' => '库存',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'hasInvoice' => [
- 'title' => '是否可开发票',
- 'type' => 'boolean',
- ],
- 'hasCredit' => [
- 'title' => '是否支持帐期',
- 'type' => 'boolean',
- ],
- 'creditPeriod' => [
- 'title' => '可接受的最长账期时长',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'minRefundFee' => ['title' => '本单最小可退款金额', 'description' => '本单最小可退款金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ 'maxRefundFee' => ['title' => '本单最大可退款金额', 'description' => '本单最大可退款金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
],
],
'Division' => [
@@ -579,44 +159,11 @@
'description' => 'divisionList',
'type' => 'object',
'properties' => [
- 'divisionName' => [
- 'title' => '地址名称',
- 'description' => '地址名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '上海',
- ],
- 'divisionCode' => [
- 'title' => '地址编码',
- 'description' => '地址编码',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '310000',
- ],
- 'divisionLevel' => [
- 'title' => '地址等级',
- 'description' => '地址等级',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2',
- ],
- 'pinyin' => [
- 'title' => '地址拼音',
- 'description' => '地址拼音',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'shang hai',
- ],
- 'parentId' => [
- 'title' => '父级ID',
- 'description' => '父级ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'divisionName' => ['title' => '地址名称', 'description' => '地址名称', 'type' => 'string', 'required' => false, 'example' => '上海'],
+ 'divisionCode' => ['title' => '地址编码', 'description' => '地址编码', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '310000'],
+ 'divisionLevel' => ['title' => '地址等级', 'description' => '地址等级', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'],
+ 'pinyin' => ['title' => '地址拼音', 'description' => '地址拼音', 'type' => 'string', 'required' => false, 'example' => 'shang hai'],
+ 'parentId' => ['title' => '父级ID', 'description' => '父级ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
],
'DivisionPageResult' => [
@@ -628,19 +175,10 @@
'title' => '区域集合',
'description' => '区域集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/Division',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/Division', 'description' => ''],
'required' => false,
],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '841471F6-5D61-1331-8C38-2****B55',
- ],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'],
],
],
'DivisionQuery' => [
@@ -648,84 +186,60 @@
'description' => '区域查询',
'type' => 'object',
'properties' => [
- 'divisionCode' => [
- 'title' => 'divisionCode',
- 'description' => '区域码',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1',
- 'default' => '1',
+ 'divisionCode' => ['title' => 'divisionCode', 'description' => '区域码', 'type' => 'string', 'required' => true, 'example' => '1', 'default' => '1'],
+ ],
+ ],
+ 'EticketInfo' => [
+ 'description' => '卡券电子凭证',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['description' => '卡券电子凭证Code', 'type' => 'string', 'example' => 'taobao******tpg'],
+ 'qrcodeUrl' => ['description' => '卡券电子凭证二维码图片链接'."\n"
+ .'> 目前该字段没有值,分销商需要根据`code`字段自行生成二维码', 'type' => 'string', 'example' => 'http://qrcode.alicdn.com/img.jpg'],
+ 'codeStatus' => [
+ 'description' => '卡券电子凭证状态'."\n"
+ .'> 枚举值:'."\n"
+ .'> - 1(有效)'."\n"
+ .'> - -1(已核销)'."\n"
+ .'> - -2(已失效)'."\n"
+ .'> - -5(已失效)'."\n"
+ .'> - -8(已失效)',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'enumValueTitles' => [1 => '有效', -1 => '已核销', -2 => '已失效', -5 => '已失效', -8 => '已失效'],
+ 'example' => "\n"
+ .'-1',
],
+ 'startTime' => ['description' => '卡券电子凭证有效期起始时间', 'type' => 'string', 'example' => "\n"
+ .'2026-02-04T00:00:00.000+08:00'],
+ 'endTime' => ['description' => '卡券电子凭证有效期结束时间', 'type' => 'string', 'example' => '2026-08-02T23:59:59.000+08:00'],
+ 'usedNum' => ['description' => '卡券电子凭证已核销份数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'useTime' => ['description' => '卡券电子凭证核销时间', 'type' => 'string', 'example' => "\n"
+ .'2026-02-04T15:07:59.000+08:00'],
+ 'lockNum' => ['description' => '锁定状态的卡券电子凭证份数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'availableNum' => ['description' => '未核销卡券电子凭证数量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
'GeneralBill' => [
'description' => '账单',
'type' => 'object',
'properties' => [
- 'totalAmount' => [
- 'required' => false,
- '$ref' => '#/components/schemas/Money',
- ],
- 'gmtModified' => [
- 'title' => '账单修改时间',
- 'description' => '账单修改时间',
- 'type' => 'string',
- 'required' => false,
- ],
- 'billId' => [
- 'title' => '账单id',
- 'description' => '账单id',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'totalAmount' => ['required' => false, '$ref' => '#/components/schemas/Money', 'description' => ''],
+ 'gmtModified' => ['title' => '账单修改时间', 'description' => '账单修改时间', 'type' => 'string', 'required' => false],
+ 'billId' => ['title' => '账单id', 'description' => '账单id', 'type' => 'string', 'required' => false],
'downloadUrl' => [
'title' => '明细下载地址',
'description' => '明细下载地址',
'type' => 'array',
- 'items' => [
- 'title' => '明细下载地址',
- 'description' => '明细下载地址',
- 'type' => 'string',
- 'required' => false,
- ],
- 'required' => false,
- ],
- 'shopName' => [
- 'title' => '店铺名称',
- 'description' => '店铺名称',
- 'type' => 'string',
- 'required' => false,
- ],
- 'startTime' => [
- 'title' => '账期开始时间',
- 'description' => '账期开始时间',
- 'type' => 'string',
- 'required' => false,
- ],
- 'endTime' => [
- 'title' => '账期结束时间',
- 'description' => '账期结束时间',
- 'type' => 'string',
- 'required' => false,
- ],
- 'shopId' => [
- 'title' => '店铺id',
- 'description' => '店铺id',
- 'type' => 'string',
- 'required' => false,
- ],
- 'gmtCreate' => [
- 'title' => '账单创建时间',
- 'description' => '账单创建时间',
- 'type' => 'string',
- 'required' => false,
- ],
- 'billPeriod' => [
- 'title' => '账期',
- 'description' => '账期',
- 'type' => 'string',
+ 'items' => ['title' => '明细下载地址', 'description' => '明细下载地址', 'type' => 'string', 'required' => false],
'required' => false,
],
+ 'shopName' => ['title' => '店铺名称', 'description' => '店铺名称', 'type' => 'string', 'required' => false],
+ 'startTime' => ['title' => '账期开始时间', 'description' => '账期开始时间', 'type' => 'string', 'required' => false],
+ 'endTime' => ['title' => '账期结束时间', 'description' => '账期结束时间', 'type' => 'string', 'required' => false],
+ 'shopId' => ['title' => '店铺id', 'description' => '店铺id', 'type' => 'string', 'required' => false],
+ 'gmtCreate' => ['title' => '账单创建时间', 'description' => '账单创建时间', 'type' => 'string', 'required' => false],
+ 'billPeriod' => ['title' => '账期', 'description' => '账期', 'type' => 'string', 'required' => false],
],
],
'GeneralBillPageQuery' => [
@@ -733,70 +247,16 @@
'description' => '账单查询入参',
'type' => 'object',
'properties' => [
- 'asc' => [
- 'title' => 'asc',
- 'description' => 'asc',
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'pageNumber' => [
- 'title' => 'pageNumber',
- 'description' => 'pageNumber',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'billId' => [
- 'title' => 'billId',
- 'description' => 'billId',
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'title' => 'limit',
- 'description' => 'limit',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'start' => [
- 'title' => 'start',
- 'description' => 'start',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'orderBy' => [
- 'title' => 'orderBy',
- 'description' => 'orderBy',
- 'type' => 'string',
- 'required' => false,
- ],
- 'orderDirection' => [
- 'title' => 'orderDirection',
- 'description' => 'orderDirection',
- 'type' => 'string',
- 'required' => false,
- ],
- 'pageSize' => [
- 'title' => 'pageSize',
- 'description' => 'pageSize',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'shopId' => [
- 'title' => 'shopId',
- 'description' => 'shopId',
- 'type' => 'string',
- 'required' => false,
- ],
- 'billPeriod' => [
- 'title' => 'billPeriod',
- 'description' => 'billPeriod',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'asc' => ['title' => 'asc', 'description' => 'asc', 'type' => 'boolean', 'required' => false],
+ 'pageNumber' => ['title' => 'pageNumber', 'description' => 'pageNumber', 'type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'billId' => ['title' => 'billId', 'description' => 'billId', 'type' => 'string', 'required' => false],
+ 'limit' => ['title' => 'limit', 'description' => 'limit', 'type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'start' => ['title' => 'start', 'description' => 'start', 'type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'orderBy' => ['title' => 'orderBy', 'description' => 'orderBy', 'type' => 'string', 'required' => false],
+ 'orderDirection' => ['title' => 'orderDirection', 'description' => 'orderDirection', 'type' => 'string', 'required' => false],
+ 'pageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'shopId' => ['title' => 'shopId', 'description' => 'shopId', 'type' => 'string', 'required' => false],
+ 'billPeriod' => ['title' => 'billPeriod', 'description' => 'billPeriod', 'type' => 'string', 'required' => false],
],
],
'GeneralBillPageResult' => [
@@ -804,111 +264,28 @@
'description' => '账单查询结果',
'type' => 'object',
'properties' => [
- 'pageSize' => [
- 'title' => '页大小',
- 'description' => '页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'total' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '24',
- ],
- 'pageNumber' => [
- 'title' => '当前页码',
- 'description' => '当前页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3239281273464326823',
- ],
+ 'pageSize' => ['title' => '页大小', 'description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'total' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '24'],
+ 'pageNumber' => ['title' => '当前页码', 'description' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273464326823'],
'generalBills' => [
'title' => '账单集合',
'description' => '账单集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/GeneralBill',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/GeneralBill', 'description' => ''],
'required' => false,
],
],
],
- 'GetDistributionProductResult' => [
- 'title' => 'A short description of struct',
- 'description' => '获取铺货商品结果',
- 'type' => 'object',
- 'properties' => [
- 'requestId' => [
- 'title' => '请求ID',
- 'type' => 'string',
- ],
- 'code' => [
- 'title' => '返回码',
- 'type' => 'string',
- ],
- 'message' => [
- 'title' => '返回消息',
- 'type' => 'string',
- ],
- 'products' => [
- 'title' => '商品信息',
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/DistributionProduct',
- ],
- ],
- ],
- ],
'Good' => [
'description' => '货品集合',
'type' => 'object',
'properties' => [
- 'goodName' => [
- 'title' => '货品名称',
- 'description' => '货品名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '儿童学习桌',
- ],
- 'productId' => [
- 'title' => '商品ID',
- 'description' => '商品ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6600****6736',
- ],
- 'quantity' => [
- 'title' => '数量',
- 'description' => '数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'skuId' => [
- 'title' => 'skuId',
- 'description' => 'skuId',
- 'type' => 'string',
- 'example' => '7232****2321',
- ],
- 'skuTitle' => [
- 'title' => 'sku标题',
- 'description' => 'sku标题',
- 'type' => 'string',
- 'example' => '白色',
- ],
+ 'goodName' => ['title' => '货品名称', 'description' => '货品名称', 'type' => 'string', 'required' => false, 'example' => '儿童学习桌'],
+ 'productId' => ['title' => '商品ID', 'description' => '商品ID', 'type' => 'string', 'required' => false, 'example' => '6600****6736'],
+ 'quantity' => ['title' => '数量', 'description' => '数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'skuId' => ['title' => 'skuId', 'description' => 'skuId', 'type' => 'string', 'example' => '7232****2321'],
+ 'skuTitle' => ['title' => 'sku标题', 'description' => 'sku标题', 'type' => 'string', 'example' => '白色'],
],
],
'GoodsShippingNoticeCreateCmd' => [
@@ -922,47 +299,14 @@
'type' => 'string',
'required' => true,
'enumValueTitles' => [
- 'TAOBAO' => '淘宝物流',
- 'YUNDA' => '韵达快递',
- 'ZJS' => '宅急送',
- 'FEDEX' => '联邦快递',
- 'ZTKY' => '中铁物流',
- 'POST' => '中国邮政',
- 'DBKD' => '德邦物流',
- 'EMS' => 'EMS',
- 'JT' => '极兔物流',
- 'QFKD' => '全峰快递',
- 'POSTB' => '邮政快递包裹',
- 'EYB' => '邮政电商标快EYB',
- 'STO' => '申通快递',
- 'OTHER' => '其他',
- 'SF' => '顺丰速运',
- 'ZTO' => '中通快递',
- 'YTO' => '圆通快递',
- 'TTKDEX' => '天天快递',
- 'JDLEx' => '京东快递',
- 'CNDJWL' => '菜鸟大件物流',
- 'TN' => '特能',
- 'HTKY' => '百世快递',
- 'SHQ' => '华强物流',
- 'ZMKM' => '菜鸟速递',
+ 'TAOBAO' => '淘宝物流', 'YUNDA' => '韵达快递', 'ZJS' => '宅急送', 'FEDEX' => '联邦快递', 'ZTKY' => '中铁物流', 'POST' => '中国邮政', 'DBKD' => '德邦物流', 'EMS' => 'EMS', 'JT' => '极兔物流', 'QFKD' => '全峰快递',
+ 'POSTB' => '邮政快递包裹', 'EYB' => '邮政电商标快EYB', 'STO' => '申通快递', 'OTHER' => '其他', 'SF' => '顺丰速运', 'ZTO' => '中通快递', 'YTO' => '圆通快递', 'TTKDEX' => '天天快递', 'JDLEx' => '京东快递', 'CNDJWL' => '菜鸟大件物流',
+ 'TN' => '特能', 'HTKY' => '百世快递', 'SHQ' => '华强物流', 'ZMKM' => '菜鸟速递',
],
'example' => 'SF',
],
- 'logisticsNo' => [
- 'title' => '物流单号',
- 'description' => '物流单号',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SF145****4353',
- ],
- 'disputeId' => [
- 'title' => '纠纷ID',
- 'description' => '纠纷ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '6693****4352',
- ],
+ 'logisticsNo' => ['title' => '物流单号', 'description' => '物流单号', 'type' => 'string', 'required' => true, 'example' => 'SF145****4353'],
+ 'disputeId' => ['title' => '纠纷ID', 'description' => '纠纷ID', 'type' => 'string', 'required' => true, 'example' => '6693****4352'],
],
],
'GoodsShippingNoticeCreateResult' => [
@@ -970,20 +314,8 @@
'description' => '提交物流结果',
'type' => 'object',
'properties' => [
- 'result' => [
- 'title' => '提交物流信息返回结果',
- 'description' => '提交物流信息返回结果',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'success',
- ],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '841471F6-5D61-1331-8C38-2****B55',
- ],
+ 'result' => ['title' => '提交物流信息返回结果', 'description' => '提交物流信息返回结果', 'type' => 'string', 'required' => false, 'example' => 'success'],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'],
],
],
'LeavePictureList' => [
@@ -991,20 +323,8 @@
'description' => '凭证',
'type' => 'object',
'properties' => [
- 'picture' => [
- 'title' => '图片地址',
- 'description' => '售后凭证图片><notice>如售后单渲染接口返回必传售后图片,则为必传></notice>',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://img.alicdn.com/imgextra/i3/221428******/O1CN01w4vomR1QYYE*******_!!221428*******.jpg',
- ],
- 'desc' => [
- 'title' => '描述',
- 'description' => '描述><notice>如售后单渲染接口返回必传留言描述,则为必传></notice>',
- 'type' => 'string',
- 'required' => false,
- 'example' => '外观破损了。',
- ],
+ 'picture' => ['title' => '图片地址', 'description' => '售后凭证图片><notice>如售后单渲染接口返回必传售后图片,则为必传></notice>', 'type' => 'string', 'required' => false, 'example' => 'https://img.alicdn.com/imgextra/i3/221428******/O1CN01w4vomR1QYYE*******_!!221428*******.jpg'],
+ 'desc' => ['title' => '描述', 'description' => '描述><notice>如售后单渲染接口返回必传留言描述,则为必传></notice>', 'type' => 'string', 'required' => false, 'example' => '外观破损了。'],
],
],
'LimitRule' => [
@@ -1016,49 +336,21 @@
'title' => '限购类型',
'description' => '限购类型',
'type' => 'string',
- 'enumValueTitles' => [
- 'UpperNumberPerUserPeriod' => '周期总量限购',
- 'LowerNumberPerBuy' => '单次限购最低购买数量',
- 'UpperNumberPerBuy' => '单次限购',
- 'UpperNumberPerUser' => '总量限购',
- ],
+ 'enumValueTitles' => ['UpperNumberPerUserPeriod' => '周期总量限购', 'LowerNumberPerBuy' => '单次限购最低购买数量', 'UpperNumberPerBuy' => '单次限购', 'UpperNumberPerUser' => '总量限购'],
'example' => 'UpperNumberPerUser',
],
- 'limitNum' => [
- 'title' => '限购数量',
- 'description' => '限购数量'."\n"
- .'> 同一时间,如有多条限购有效时,最终限购数量为最小值',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'beginTime' => [
- 'title' => '生效开始时间',
- 'description' => '生效开始时间'."\n"
- .'> 时间戳:毫秒',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1724947200000',
- ],
- 'endTime' => [
- 'title' => '生效截止时间',
- 'description' => '生效截止时间'."\n"
- .'> 时间戳:毫秒',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1724947200000',
- ],
+ 'limitNum' => ['title' => '限购数量', 'description' => '限购数量'."\n"
+ .'> 同一时间,如有多条限购有效时,最终限购数量为最小值', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'beginTime' => ['title' => '生效开始时间', 'description' => '生效开始时间'."\n"
+ .'> 时间戳:毫秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1724947200000'],
+ 'endTime' => ['title' => '生效截止时间', 'description' => '生效截止时间'."\n"
+ .'> 时间戳:毫秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1724947200000'],
'condcase' => [
'title' => '周期条件',
'description' => '周期条件'."\n"
.'> ruleType值为UpperNumberPerUserPeriod时,该字段有效',
'type' => 'string',
- 'enumValueTitles' => [
- 'Null' => 'Null',
- 'week' => '每周',
- 'month' => '每月',
- 'day' => '每天',
- ],
+ 'enumValueTitles' => ['Null' => 'Null', 'week' => '每周', 'month' => '每月', 'day' => '每天'],
'example' => 'day',
],
],
@@ -1068,20 +360,8 @@
'description' => '物流详情集合',
'type' => 'object',
'properties' => [
- 'ocurrTimeStr' => [
- 'title' => '物流发生时间',
- 'description' => '物流发生时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-09-11T12:22:24.000+08:00',
- ],
- 'standerdDesc' => [
- 'title' => '物流描述信息',
- 'description' => '物流描述信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '已签收',
- ],
+ 'ocurrTimeStr' => ['title' => '物流发生时间', 'description' => '物流发生时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-11T12:22:24.000+08:00'],
+ 'standerdDesc' => ['title' => '物流描述信息', 'description' => '物流描述信息', 'type' => 'string', 'required' => false, 'example' => '已签收'],
],
],
'LogisticsInformationData' => [
@@ -1089,60 +369,15 @@
'description' => '物流信息',
'type' => 'object',
'properties' => [
- 'purchaserId' => [
- 'title' => '采购方id',
- 'description' => '采购方id',
- 'type' => 'string',
- 'example' => 'PID22000009',
- ],
- 'trackingCompanyCode' => [
- 'title' => '快递公司代码',
- 'description' => '快递公司代码',
- 'type' => 'string',
- 'example' => 'SF',
- ],
- 'trackingCompanyName' => [
- 'title' => '快递公司名称',
- 'description' => '快递公司名称',
- 'type' => 'string',
- 'example' => '顺丰快递',
- ],
- 'modifiedTime' => [
- 'title' => '更新时间 yyyy-MM-dd HH:mm:ss',
- 'description' => '更新时间 yyyy-MM-dd HH:mm:ss',
- 'type' => 'string',
- 'example' => '1713407100321',
- ],
- 'orderLineId' => [
- 'title' => '子单id',
- 'description' => '子单id',
- 'type' => 'string',
- 'example' => '6692****5458',
- ],
- 'trackingNumber' => [
- 'title' => '快递单号',
- 'description' => '快递单号',
- 'type' => 'string',
- 'example' => 'SF198913131',
- ],
- 'outerPurchaseOrderId' => [
- 'title' => '创建采购单传入的外部采购单号',
- 'description' => '创建采购单传入的外部采购单号',
- 'type' => 'string',
- 'example' => '233111',
- ],
- 'logisticsStatus' => [
- 'title' => '物流状态 2=已发货 -> 等待买家确认收货',
- 'description' => '物流状态 2=已发货 -> 等待买家确认收货',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'orderId' => [
- 'title' => '订单id',
- 'description' => '订单id',
- 'type' => 'string',
- 'example' => '6696070566****8593',
- ],
+ 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'example' => 'PID22000009'],
+ 'trackingCompanyCode' => ['title' => '快递公司代码', 'description' => '快递公司代码', 'type' => 'string', 'example' => 'SF'],
+ 'trackingCompanyName' => ['title' => '快递公司名称', 'description' => '快递公司名称', 'type' => 'string', 'example' => '顺丰快递'],
+ 'modifiedTime' => ['title' => '更新时间 yyyy-MM-dd HH:mm:ss', 'description' => '更新时间 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '1713407100321'],
+ 'orderLineId' => ['title' => '子单id', 'description' => '子单id', 'type' => 'string', 'example' => '6692****5458'],
+ 'trackingNumber' => ['title' => '快递单号', 'description' => '快递单号', 'type' => 'string', 'example' => 'SF198913131'],
+ 'outerPurchaseOrderId' => ['title' => '创建采购单传入的外部采购单号', 'description' => '创建采购单传入的外部采购单号', 'type' => 'string', 'example' => '233111'],
+ 'logisticsStatus' => ['title' => '物流状态 2=已发货 -> 等待买家确认收货', 'description' => '物流状态 2=已发货 -> 等待买家确认收货', 'type' => 'string', 'example' => '1'],
+ 'orderId' => ['title' => '订单id', 'description' => '订单id', 'type' => 'string', 'example' => '6696070566****8593'],
],
],
'LogisticsOrderListResult' => [
@@ -1154,226 +389,98 @@
'title' => '物流集合',
'description' => '物流集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/LogisticsOrderResult',
- ],
- 'required' => false,
- ],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/LogisticsOrderResult', 'description' => ''],
'required' => false,
- 'example' => '841471F6-5D61-1331-8C38-2****B55',
],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'],
],
],
'LogisticsOrderResult' => [
'description' => '履约单',
'type' => 'object',
'properties' => [
- 'mailNo' => [
- 'title' => '物流单号',
- 'description' => '物流单号',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SF234***2345',
- ],
- 'dataProviderTitle' => [
- 'title' => '数据文本',
- 'description' => '数据文本',
- 'type' => 'string',
- 'required' => false,
- 'example' => '菜鸟裹裹',
- ],
- 'logisticsCompanyName' => [
- 'title' => '物流公司名称',
- 'description' => '物流公司名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '顺丰',
- ],
+ 'mailNo' => ['title' => '物流单号', 'description' => '物流单号'."\n"
+ .'> 电子卡券的物流单号为固定值:*', 'type' => 'string', 'required' => false, 'example' => 'SF234***2345'],
+ 'dataProviderTitle' => ['title' => '数据文本', 'description' => '数据文本', 'type' => 'string', 'required' => false, 'example' => '菜鸟裹裹'],
+ 'logisticsCompanyName' => ['title' => '物流公司名称', 'description' => '物流公司名称', 'type' => 'string', 'required' => false, 'example' => '顺丰'],
'logisticsDetailList' => [
'title' => '物流详情',
'description' => '物流详情',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/LogisticsDetail',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/LogisticsDetail', 'description' => ''],
'required' => false,
],
'goods' => [
'title' => '货品详情',
'description' => '货品详情',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/Good',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/Good', 'description' => ''],
'required' => false,
],
- 'dataProvider' => [
- 'title' => '数据来源',
- 'description' => '数据来源',
- 'type' => 'string',
- 'required' => false,
- 'example' => '菜鸟',
- ],
+ 'dataProvider' => ['title' => '数据来源', 'description' => '数据来源', 'type' => 'string', 'required' => false, 'example' => '菜鸟'],
'logisticsCompanyCode' => [
'title' => '物流公司代码',
- 'description' => '物流公司代码',
+ 'description' => '物流公司代码'."\n"
+ .'>枚举值:'."\n"
+ .'> - ZTKY(中铁物流)'."\n"
+ .'> - POST(中国邮政)'."\n"
+ .'> - DBKD(德邦物流)'."\n"
+ .'> - JT(极兔物流)'."\n"
+ .'> - QFKD(全峰快递)'."\n"
+ .'> - EYB(邮政电商标快EYB)'."\n"
+ .'> - STO(申通快递)'."\n"
+ .'> - SF(顺丰速运)'."\n"
+ .'> - ZTO(中通快递)'."\n"
+ .'> - YTO(圆通快递)'."\n"
+ .'> - TTKDEX(天天快递)'."\n"
+ .'> - JDLEx(京东快递)'."\n"
+ .'> - ETICKET(电子卡券)'."\n"
+ .'> - HTKY(百世快递)'."\n"
+ .'> - SHQ(华强物流)'."\n"
+ .'> - TAOBAO(淘宝物流)'."\n"
+ .'> - YUNDA(韵达快递)'."\n"
+ .'> - ZJS(宅急送)'."\n"
+ .'> - FEDEX(联邦快递)'."\n"
+ .'> - EMS'."\n"
+ .'> - POSTB(邮政快递包裹)'."\n"
+ .'> - OTHER(其他)'."\n"
+ .'> - CNDJWL(菜鸟大件物流)'."\n"
+ .'> - TN(特能)'."\n"
+ .'> - ZMKM(菜鸟速递)',
'type' => 'string',
'required' => false,
'enumValueTitles' => [
- 'TAOBAO' => '淘宝物流',
- 'YUNDA' => '韵达快递',
- 'ZJS' => '宅急送',
- 'FEDEX' => '联邦快递',
- 'ZTKY' => '中铁物流',
- 'POST' => '中国邮政',
- 'DBKD' => '德邦物流',
- 'EMS' => 'EMS',
- 'JT' => '极兔物流',
- 'QFKD' => '全峰快递',
- 'POSTB' => '邮政快递包裹',
- 'EYB' => '邮政电商标快EYB',
- 'STO' => '申通快递',
- 'OTHER' => '其他',
- 'SF' => '顺丰速运',
- 'ZTO' => '中通快递',
- 'YTO' => '圆通快递',
- 'TTKDEX' => '天天快递',
- 'JDLEx' => '京东快递',
- 'CNDJWL' => '菜鸟大件物流',
- 'TN' => '特能',
- 'HTKY' => '百世快递',
- 'SHQ' => '华强物流',
- 'ZMKM' => '菜鸟速递',
+ 'ZTKY' => '中铁物流', 'POST' => '中国邮政', 'DBKD' => '德邦物流', 'JT' => '极兔物流', 'QFKD' => '全峰快递', 'EYB' => '邮政电商标快EYB', 'STO' => '申通快递', 'SF' => '顺丰速运', 'ZTO' => '中通快递', 'YTO' => '圆通快递',
+ 'TTKDEX' => '天天快递', 'JDLEx' => '京东快递', 'ETICKET' => '电子卡券', 'HTKY' => '百世快递', 'SHQ' => '华强物流', 'TAOBAO' => '淘宝物流', 'YUNDA' => '韵达快递', 'ZJS' => '宅急送', 'FEDEX' => '联邦快递', 'EMS' => 'EMS',
+ 'POSTB' => '邮政快递包裹', 'OTHER' => '其他', 'CNDJWL' => '菜鸟大件物流', 'TN' => '特能', 'ZMKM' => '菜鸟速递',
],
'example' => 'SF',
],
],
],
- 'MemberAccountRequest' => [
- 'title' => '会员账号请求',
- 'description' => '会员账号请求',
- 'type' => 'object',
- 'properties' => [
- 'shopId' => [
- 'title' => '店铺id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123',
- ],
- ],
- ],
- 'MemberAccountResult' => [
- 'type' => 'object',
- 'properties' => [
- 'accountNo' => [
- 'title' => '已签约并绑定的支付宝代扣账号(脱敏)',
- 'type' => 'array',
- 'items' => [
- 'title' => '已签约并绑定的支付宝代扣账号(脱敏)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'yue***@newburn.cn',
- ],
- 'required' => false,
- 'example' => '"yue***@newburn.cn"',
- ],
- 'shopId' => [
- 'title' => '店铺id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123',
- ],
- ],
- ],
'Money' => [
'description' => '账单金额',
'type' => 'object',
'properties' => [
- 'amount' => [
- 'title' => 'amount',
- 'description' => 'amount',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'amountString' => [
- 'title' => 'amountString',
- 'description' => 'amountString',
- 'type' => 'string',
- 'required' => false,
- ],
- 'cent' => [
- 'title' => 'cent',
- 'description' => 'cent',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'amountAsString' => [
- 'title' => 'amountAsString',
- 'description' => 'amountAsString',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'amount' => ['title' => 'amount', 'description' => 'amount', 'type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'amountString' => ['title' => 'amountString', 'description' => 'amountString', 'type' => 'string', 'required' => false],
+ 'cent' => ['title' => 'cent', 'description' => 'cent', 'type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'amountAsString' => ['title' => 'amountAsString', 'description' => 'amountAsString', 'type' => 'string', 'required' => false],
'currency' => [
'title' => 'currency',
'description' => 'currency',
'type' => 'object',
'properties' => [
- 'symbol' => [
- 'title' => 'symbol',
- 'description' => 'symbol',
- 'type' => 'string',
- 'required' => false,
- ],
- 'displayName' => [
- 'title' => 'displayName',
- 'description' => 'displayName',
- 'type' => 'string',
- 'required' => false,
- ],
- 'currencyCode' => [
- 'title' => 'currencyCode',
- 'description' => 'currencyCode',
- 'type' => 'string',
- 'required' => false,
- ],
- 'defaultFractionDigits' => [
- 'title' => 'defaultFractionDigits',
- 'description' => 'defaultFractionDigits',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'numericCode' => [
- 'title' => 'numericCode',
- 'description' => 'numericCode',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'symbol' => ['title' => 'symbol', 'description' => 'symbol', 'type' => 'string', 'required' => false],
+ 'displayName' => ['title' => 'displayName', 'description' => 'displayName', 'type' => 'string', 'required' => false],
+ 'currencyCode' => ['title' => 'currencyCode', 'description' => 'currencyCode', 'type' => 'string', 'required' => false],
+ 'defaultFractionDigits' => ['title' => 'defaultFractionDigits', 'description' => 'defaultFractionDigits', 'type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'numericCode' => ['title' => 'numericCode', 'description' => 'numericCode', 'type' => 'integer', 'format' => 'int32', 'required' => false],
],
'required' => false,
],
- 'positive' => [
- 'title' => 'positive',
- 'description' => 'positive',
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'currencyCode' => [
- 'title' => 'currencyCode',
- 'description' => 'currencyCode',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'positive' => ['title' => 'positive', 'description' => 'positive', 'type' => 'boolean', 'required' => false],
+ 'currencyCode' => ['title' => 'currencyCode', 'description' => 'currencyCode', 'type' => 'string', 'required' => false],
],
],
'OrderLineResult' => [
@@ -1381,98 +488,36 @@
'description' => '子订单集合',
'type' => 'object',
'properties' => [
- 'productTitle' => [
- 'title' => '商品名称',
- 'description' => '商品名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '儿童学习桌',
- ],
- 'number' => [
- 'title' => '数量',
- 'description' => '数量',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- 'skuTitle' => [
- 'title' => 'sku名称',
- 'description' => 'sku名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '浅绿色',
- ],
- 'productId' => [
- 'title' => '商品ID',
- 'description' => '商品ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6600****6736',
- ],
- 'orderId' => [
- 'title' => '订单id(主订单id)',
- 'description' => '订单id(主订单id)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6692****5457',
- ],
- 'productPic' => [
- 'title' => '商品图片',
- 'description' => '商品图片',
- 'type' => 'string',
- 'required' => false,
- 'example' => '//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0',
- ],
- 'orderLineId' => [
- 'title' => '子订单id',
- 'description' => '子订单id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6692****5458',
- ],
+ 'productTitle' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string', 'required' => false, 'example' => '儿童学习桌'],
+ 'number' => ['title' => '数量', 'description' => '数量', 'type' => 'string', 'required' => false, 'example' => '1'],
+ 'skuTitle' => ['title' => 'sku名称', 'description' => 'sku名称', 'type' => 'string', 'required' => false, 'example' => '浅绿色'],
+ 'productId' => ['title' => '商品ID', 'description' => '商品ID', 'type' => 'string', 'required' => false, 'example' => '6600****6736'],
+ 'orderId' => ['title' => '订单id(主订单id)', 'description' => '订单id(主订单id)', 'type' => 'string', 'required' => false, 'example' => '6692****5457'],
+ 'productPic' => ['title' => '商品图片', 'description' => '商品图片', 'type' => 'string', 'required' => false, 'example' => '//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0'],
+ 'orderLineId' => ['title' => '子订单id', 'description' => '子订单id', 'type' => 'string', 'required' => false, 'example' => '6692****5458'],
'logisticsStatus' => [
'title' => '物流状态',
'description' => '物流状态',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 1 => '未发货>待卖家发货',
- '已发货>待买家收货',
- '已收货>确认收货',
- 6 => '部分发货',
- 8 => '未创建物流订单',
- ],
+ 'enumValueTitles' => [1 => '未发货>待卖家发货', '已发货>待买家收货', '已收货>确认收货', 6 => '部分发货', 8 => '未创建物流订单'],
'example' => '1',
],
- 'payFee' => [
- 'title' => '子订单应付金额',
- 'description' => '子订单应付金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100',
- ],
- 'skuId' => [
- 'title' => 'skuId',
- 'description' => 'skuId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6600****6737',
- ],
+ 'payFee' => ['title' => '子订单应付金额', 'description' => '子订单应付金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
+ 'skuId' => ['title' => 'skuId', 'description' => 'skuId', 'type' => 'string', 'required' => false, 'example' => '6600****6737'],
'orderLineStatus' => [
'title' => '子订单状态',
'description' => '子订单状态',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 1 => '待付款',
- '已付款',
- 4 => '退款成功',
- 6 => '交易成功',
- 8 => '交易关闭',
- ],
+ 'enumValueTitles' => [1 => '待付款', '已付款', 4 => '退款成功', 6 => '交易成功', 8 => '交易关闭'],
'example' => '1',
],
+ 'eticketInfos' => [
+ 'description' => '卡券电子凭证',
+ 'type' => 'array',
+ 'items' => ['description' => '卡券电子凭证', '$ref' => '#/components/schemas/EticketInfo'],
+ ],
],
],
'OrderListResult' => [
@@ -1484,27 +529,11 @@
'title' => '订单集合',
'description' => '订单集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/OrderResult',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/OrderResult', 'description' => ''],
'required' => false,
],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '841471F6-5D61-1331-8C38-2****B55',
- ],
- 'total' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '24',
- ],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'],
+ 'total' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '24'],
],
],
'OrderPageQuery' => [
@@ -1512,41 +541,17 @@
'description' => '订单分页查询入参',
'type' => 'object',
'properties' => [
- 'pageSize' => [
- 'title' => '每页数量',
- 'description' => '每页数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'pageSize' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
'orderIdList' => [
'title' => '主单ID集合',
'description' => '主单ID集合',
'type' => 'array',
- 'items' => [
- 'description' => '主单ID(oderId)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8234****1234',
- ],
+ 'items' => ['description' => '主单ID(oderId)', 'type' => 'string', 'required' => false, 'example' => '8234****1234'],
'required' => false,
],
- 'pageNumber' => [
- 'title' => '页码',
- 'description' => '页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'purchaseOrderId' => [
- 'title' => '采购单ID',
- 'description' => '采购单ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6692****5696',
- ],
+ 'pageNumber' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'purchaseOrderId' => ['title' => '采购单ID', 'description' => '采购单ID', 'type' => 'string', 'required' => false, 'example' => '6692****5696'],
+ 'outPurchaseOrderId' => ['type' => 'string'],
],
],
'OrderProductResult' => [
@@ -1554,84 +559,17 @@
'description' => '商品信息',
'type' => 'object',
'properties' => [
- 'productTitle' => [
- 'title' => '商品标题',
- 'description' => '商品标题',
- 'type' => 'string',
- 'required' => false,
- 'example' => '儿童学习桌',
- ],
- 'features' => [
- 'title' => '商品额外信息',
- 'description' => '商品额外信息',
- 'type' => 'object',
- 'required' => false,
- ],
- 'skuTitle' => [
- 'title' => 'sku标题',
- 'description' => 'sku标题',
- 'type' => 'string',
- 'required' => false,
- 'example' => '浅绿色',
- ],
- 'quantity' => [
- 'title' => '购买数量',
- 'description' => '购买数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'productId' => [
- 'title' => '商品id',
- 'description' => '商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6600****6736',
- ],
- 'canSell' => [
- 'title' => '商品是否可售卖',
- 'description' => '商品是否可售卖',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'price' => [
- 'title' => '商品价格(单位:分)',
- 'description' => '商品价格(单位:分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100',
- ],
- 'productPicUrl' => [
- 'title' => '商品图片链接',
- 'description' => '商品图片链接',
- 'type' => 'string',
- 'required' => false,
- 'example' => '//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0',
- ],
- 'purchaserId' => [
- 'title' => '采购方id',
- 'description' => '采购方id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PID56****2304',
- ],
- 'message' => [
- 'title' => '不可售原因',
- 'description' => '不可售原因',
- 'type' => 'string',
- 'required' => false,
- 'example' => '库存为0',
- ],
- 'skuId' => [
- 'title' => 'SKUID',
- 'description' => 'SKUID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6600****6737',
- ],
+ 'productTitle' => ['title' => '商品标题', 'description' => '商品标题', 'type' => 'string', 'required' => false, 'example' => '儿童学习桌'],
+ 'features' => ['title' => '商品额外信息', 'description' => '商品额外信息', 'type' => 'object', 'required' => false],
+ 'skuTitle' => ['title' => 'sku标题', 'description' => 'sku标题', 'type' => 'string', 'required' => false, 'example' => '浅绿色'],
+ 'quantity' => ['title' => '购买数量', 'description' => '购买数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'productId' => ['title' => '商品id', 'description' => '商品id', 'type' => 'string', 'required' => false, 'example' => '6600****6736'],
+ 'canSell' => ['title' => '商品是否可售卖', 'description' => '商品是否可售卖', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'price' => ['title' => '商品价格(单位:分)', 'description' => '商品价格(单位:分)', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
+ 'productPicUrl' => ['title' => '商品图片链接', 'description' => '商品图片链接', 'type' => 'string', 'required' => false, 'example' => '//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0'],
+ 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => false, 'example' => 'PID56****2304'],
+ 'message' => ['title' => '不可售原因', 'description' => '不可售原因', 'type' => 'string', 'required' => false, 'example' => '库存为0'],
+ 'skuId' => ['title' => 'SKUID', 'description' => 'SKUID', 'type' => 'string', 'required' => false, 'example' => '6600****6737'],
],
],
'OrderRenderProductDTO' => [
@@ -1639,35 +577,10 @@
'description' => '商品集合',
'type' => 'object',
'properties' => [
- 'quantity' => [
- 'title' => '购买数量',
- 'description' => '购买数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'purchaserId' => [
- 'title' => '采购方id',
- 'description' => '采购方id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PID56****2304',
- ],
- 'productId' => [
- 'title' => '商品ID',
- 'description' => '商品ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '6600****6736',
- ],
- 'skuId' => [
- 'title' => 'skuID',
- 'description' => 'skuID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '6600****6737',
- ],
+ 'quantity' => ['title' => '购买数量', 'description' => '购买数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PID56****2304'],
+ 'productId' => ['title' => '商品ID', 'description' => '商品ID', 'type' => 'string', 'required' => true, 'example' => '6600****6736'],
+ 'skuId' => ['title' => 'skuID', 'description' => 'skuID', 'type' => 'string', 'required' => true, 'example' => '6600****6737'],
],
],
'OrderRenderResult' => [
@@ -1675,46 +588,23 @@
'description' => '订单不可售列表',
'type' => 'object',
'properties' => [
- 'message' => [
- 'title' => '不可售原因',
- 'description' => '不可售原因',
- 'type' => 'string',
- 'required' => false,
- 'example' => '库存为0',
- ],
+ 'message' => ['title' => '不可售原因', 'description' => '不可售原因', 'type' => 'string', 'required' => false, 'example' => '库存为0'],
'deliveryInfoList' => [
'title' => '履约信息',
'description' => '履约信息',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/DeliveryInfo',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/DeliveryInfo', 'description' => ''],
'required' => false,
],
- 'canSell' => [
- 'title' => '是否可售',
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'canSell' => ['title' => '是否可售', 'description' => '是否可售', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
'productList' => [
'title' => '商品集合',
'description' => '商品集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/OrderProductResult',
- ],
- 'required' => false,
- ],
- 'extInfo' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/OrderProductResult', 'description' => ''],
'required' => false,
],
+ 'extInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false],
],
],
'OrderResult' => [
@@ -1722,71 +612,21 @@
'description' => '主单列表',
'type' => 'object',
'properties' => [
- 'orderAmount' => [
- 'title' => '订单金额(分)',
- 'description' => '订单金额(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100',
- ],
+ 'orderAmount' => ['title' => '订单金额(分)', 'description' => '订单金额(分)', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
'orderLineList' => [
'title' => '子订单集合',
'description' => '子订单集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/OrderLineResult',
- ],
+ 'items' => ['description' => '子订单集合', 'required' => false, '$ref' => '#/components/schemas/OrderLineResult'],
'required' => false,
],
- 'orderId' => [
- 'title' => '订单id(主订单id)',
- 'description' => '订单id(主订单id)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6692****5457',
- ],
- 'distributorId' => [
- 'title' => '分销商ID',
- 'description' => '分销商ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '12****01',
- ],
- 'orderStatus' => [
- 'title' => '订单状态1=待支付,2=已支付,4=已退款关闭,6=交易成功,8=已关闭',
- 'description' => '订单状态 1=待支付,2=已支付,4=已退款关闭,6=交易成功,8=已关闭',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- 'logisticsStatus' => [
- 'title' => '物流状态 1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单',
- 'description' => '物流状态 1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- 'createDate' => [
- 'title' => '创建时间',
- 'description' => '创建时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-09-11T12:22:24.000+08:00',
- ],
- 'requestId' => [
- 'title' => '请求ID',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '841471F6-5D61-1331-8C38-2****B55',
- ],
- 'orderClosedReason' => [
- 'title' => '订单关单原因',
- 'description' => '订单关单原因',
- 'type' => 'string',
- 'example' => '系统关单',
- ],
+ 'orderId' => ['title' => '订单id(主订单id)', 'description' => '订单id(主订单id)', 'type' => 'string', 'required' => false, 'example' => '6692****5457'],
+ 'distributorId' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '12****01'],
+ 'orderStatus' => ['title' => '订单状态1=待支付,2=已支付,4=已退款关闭,6=交易成功,8=已关闭', 'description' => '订单状态 1=待支付,2=已支付,4=已退款关闭,6=交易成功,8=已关闭', 'type' => 'string', 'required' => false, 'example' => '1'],
+ 'logisticsStatus' => ['title' => '物流状态 1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单', 'description' => '物流状态 1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单', 'type' => 'string', 'required' => false, 'example' => '1'],
+ 'createDate' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-11T12:22:24.000+08:00'],
+ 'requestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '841471F6-5D61-1331-8C38-2****B55'],
+ 'orderClosedReason' => ['title' => '订单关单原因', 'description' => '订单关单原因', 'type' => 'string', 'example' => '系统关单'],
],
],
'Product' => [
@@ -1798,39 +638,23 @@
'title' => '类目链',
'description' => '类目链',
'type' => 'array',
- 'items' => [
- 'description' => '类目',
- 'required' => false,
- '$ref' => '#/components/schemas/Category',
- ],
+ 'items' => ['description' => '类目', 'required' => false, '$ref' => '#/components/schemas/Category'],
'required' => false,
],
'skus' => [
'title' => 'skus',
'description' => 'skus',
'type' => 'array',
- 'items' => [
- 'description' => '商品SKU',
- 'required' => false,
- '$ref' => '#/components/schemas/Sku',
- ],
+ 'items' => ['description' => '商品SKU', 'required' => false, '$ref' => '#/components/schemas/Sku'],
'required' => false,
],
- 'lmItemId' => [
- 'title' => 'LM商品id',
- 'description' => 'LM商品id',
- 'type' => 'string',
- 'example' => '2100****7-458****812',
- ],
+ 'lmItemId' => ['title' => 'LM商品id', 'description' => 'LM商品id', 'type' => 'string', 'example' => '2100****7-458****812'],
'canSell' => [
'title' => '商品是否可售,计算值',
'description' => '商品是否可售,计算值',
'type' => 'boolean',
'required' => false,
- 'enumValueTitles' => [
- 'flase' => '不可售',
- 'true' => '可售',
- ],
+ 'enumValueTitles' => ['flase' => '不可售', 'true' => '可售'],
'example' => 'true',
],
'fuzzyQuantity' => [
@@ -1838,83 +662,32 @@
'description' => '模糊库存',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- '有货' => '有货',
- '库存紧张' => '库存紧张',
- '无货' => '无货',
- ],
+ 'enumValueTitles' => ['有货' => '有货', '库存紧张' => '库存紧张', '无货' => '无货'],
'example' => '有货',
],
- 'title' => [
- 'title' => '标题',
- 'description' => '标题',
- 'type' => 'string',
- 'required' => false,
- 'example' => '发财树',
- ],
+ 'title' => ['title' => '标题', 'description' => '标题', 'type' => 'string', 'required' => false, 'example' => '发财树'],
'extendProperties' => [
'title' => '商品扩展属性',
'description' => '商品扩展属性',
'type' => 'array',
- 'items' => [
- 'description' => '商品扩展属性',
- '$ref' => '#/components/schemas/ProductExtendProperty',
- ],
+ 'items' => ['description' => '商品扩展属性', '$ref' => '#/components/schemas/ProductExtendProperty'],
],
'servicePromises' => [
'title' => '服务承诺',
'description' => '服务承诺><notice>服务承诺均由供应商维护,如供应商维护、更新不及时,可能会造成部分商品服务承诺标不够准确,请分销商面向自己的客户群体时谨慎透出。></notice>',
'type' => 'array',
- 'items' => [
- 'title' => 'SEVEN_DAYS:7天无理由退货',
- 'description' => 'SEVEN_DAYS:7天无理由退货',
- 'type' => 'string',
- ],
- ],
- 'soldQuantity' => [
- 'title' => '销量',
- 'description' => '销量',
- 'type' => 'string',
- 'required' => false,
- 'example' => '100+',
- ],
- 'picUrl' => [
- 'title' => '商品主图',
- 'description' => '商品主图',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://img.alicdn.com/imgextra/i3/221*******988/O1CN01w4vomR1QYYEx6nyr5_!!221******988.jpg',
- ],
- 'categoryLeafId' => [
- 'title' => '类目id',
- 'description' => '类目id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '201****501',
- ],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3239281273******823',
- ],
- 'shopId' => [
- 'title' => '渠道店铺id',
- 'description' => '渠道店铺id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '210*****7',
+ 'items' => ['title' => 'SEVEN_DAYS:7天无理由退货', 'description' => 'SEVEN_DAYS:7天无理由退货', 'type' => 'string'],
],
+ 'soldQuantity' => ['title' => '销量', 'description' => '销量', 'type' => 'string', 'required' => false, 'example' => '100+'],
+ 'picUrl' => ['title' => '商品主图', 'description' => '商品主图', 'type' => 'string', 'required' => false, 'example' => 'https://img.alicdn.com/imgextra/i3/221*******988/O1CN01w4vomR1QYYEx6nyr5_!!221******988.jpg'],
+ 'categoryLeafId' => ['title' => '类目id', 'description' => '类目id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '201****501'],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273******823'],
+ 'shopId' => ['title' => '渠道店铺id', 'description' => '渠道店铺id', 'type' => 'string', 'required' => false, 'example' => '210*****7'],
'inGroup' => [
'title' => '是否入库',
'description' => '商品入库状态',
'type' => 'boolean',
- 'enumValueTitles' => [
- 'true' => '已入库',
- 'false' => '已出库',
- ],
+ 'enumValueTitles' => ['true' => '已入库', 'false' => '已出库'],
'example' => 'True',
],
'productType' => [
@@ -1922,56 +695,27 @@
'description' => '商品类型',
'type' => 'string',
'required' => false,
+ 'enumValueTitles' => ['Virtual' => '虚拟类型,如电子卡券。', 'Normal' => '普通商品'],
'example' => 'Normal',
- 'enum' => [
- 'Normal',
- 'Virtual',
- ],
+ 'enum' => ['Normal', 'Virtual'],
],
'images' => [
'title' => 'images',
'description' => 'images',
'type' => 'array',
- 'items' => [
- 'description' => '图片链接',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'items' => ['description' => '图片链接', 'type' => 'string', 'required' => false, 'example' => '[]'],
'required' => false,
],
- 'brandName' => [
- 'title' => '品牌名称',
- 'description' => '品牌名称',
- 'type' => 'string',
- 'example' => 'Apple/苹果',
- ],
- 'quantity' => [
- 'title' => '库存',
- 'description' => '库存'."\n"
- .'> '."\n"
- .'> - 该字段目前为固定值-1,可忽略',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '-1',
- ],
- 'productId' => [
- 'title' => '商品id',
- 'description' => '商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '660460842******080',
- ],
+ 'brandName' => ['title' => '品牌名称', 'description' => '品牌名称', 'type' => 'string', 'example' => 'Apple/苹果'],
+ 'quantity' => ['title' => '库存', 'description' => '库存'."\n"
+ .'> '."\n"
+ .'> - 该字段目前为固定值-1,可忽略', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-1'],
+ 'productId' => ['title' => '商品id', 'description' => '商品id', 'type' => 'string', 'required' => false, 'example' => '660460842******080'],
'productSpecs' => [
'title' => 'productSpecs',
'description' => '商品规格',
'type' => 'array',
- 'items' => [
- 'description' => '商品规格',
- 'required' => false,
- '$ref' => '#/components/schemas/ProductSpec',
- ],
+ 'items' => ['description' => '商品规格', 'required' => false, '$ref' => '#/components/schemas/ProductSpec'],
'required' => false,
],
'productStatus' => [
@@ -1979,59 +723,24 @@
'description' => '商品状态',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Offline' => '下架状态',
- 'Online' => '上架状态',
- ],
+ 'enumValueTitles' => ['Offline' => '下架状态', 'Online' => '上架状态'],
'example' => 'Online',
],
- 'taxCode' => [
- 'title' => '税码',
- 'description' => '税码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3040203000*******000',
- ],
- 'divisionCode' => [
- 'title' => '区域码',
- 'description' => '区域码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '110000',
- ],
- 'taxRate' => [
- 'title' => '税率',
- 'description' => '税率',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '600',
- ],
+ 'taxCode' => ['title' => '税码', 'description' => '税码', 'type' => 'string', 'required' => false, 'example' => '3040203000*******000'],
+ 'divisionCode' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '110000'],
+ 'taxRate' => ['title' => '税率', 'description' => '税率', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600'],
'limitRules' => [
'title' => '限购配置',
'description' => '限购规则',
'type' => 'array',
- 'items' => [
- 'description' => '限购规则',
- '$ref' => '#/components/schemas/LimitRule',
- ],
- ],
- 'descPath' => [
- 'title' => '商品详情链接',
- 'description' => '商品详情链接',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://img.alicdn.com/descpath/O1CN01wciRDp22AEU1*******f34',
+ 'items' => ['description' => '限购规则', '$ref' => '#/components/schemas/LimitRule'],
],
+ 'descPath' => ['title' => '商品详情链接', 'description' => '商品详情链接', 'type' => 'string', 'required' => false, 'example' => 'https://img.alicdn.com/descpath/O1CN01wciRDp22AEU1*******f34'],
'properties' => [
'title' => '商品属性',
'description' => '商品属性',
'type' => 'array',
- 'items' => [
- 'description' => '商品属性',
- 'required' => false,
- '$ref' => '#/components/schemas/ProductProperty',
- ],
+ 'items' => ['description' => '商品属性', 'required' => false, '$ref' => '#/components/schemas/ProductProperty'],
'required' => false,
],
],
@@ -2041,43 +750,11 @@
'description' => '商品集合',
'type' => 'object',
'properties' => [
- 'quantity' => [
- 'title' => '购买数量',
- 'description' => '购买数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'purchaserId' => [
- 'title' => '采购方id',
- 'description' => '采购方id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '56****2304',
- ],
- 'productId' => [
- 'title' => '商品ID',
- 'description' => '商品ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '6600****6736',
- ],
- 'price' => [
- 'title' => '商品价格(单位:分)',
- 'description' => '商品价格(单位:分)><notice>建议必传></notice>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100',
- ],
- 'skuId' => [
- 'title' => 'SKUID',
- 'description' => 'SKUID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '6600****6737',
- ],
+ 'quantity' => ['title' => '购买数量', 'description' => '购买数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => '56****2304'],
+ 'productId' => ['title' => '商品ID', 'description' => '商品ID', 'type' => 'string', 'required' => true, 'example' => '6600****6736'],
+ 'price' => ['title' => '商品价格(单位:分)', 'description' => '商品价格(单位:分)><notice>建议必传></notice>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
+ 'skuId' => ['title' => 'SKUID', 'description' => 'SKUID', 'type' => 'string', 'required' => true, 'example' => '6600****6737'],
],
],
'ProductExtendProperty' => [
@@ -2087,26 +764,32 @@
'properties' => [
'key' => [
'title' => '属性key',
- 'description' => '属性key',
+ 'description' => '属性key'."\n"
+ .'> 枚举值:'."\n"
+ .'> - - ss_picture_scene(氛围图)'."\n"
+ .'> - - ss_picture_white_background(白底图)'."\n"
+ .'> - - extraPeriod(保质期)'."\n"
+ .'> - - itemBoundaryInventoryZeroTag(保留字段,请忽略)'."\n"
+ .'> - - shoppingShowTitle(商品导购标题)'."\n"
+ .'> - - itemCCStatus(保留字段,请忽略)'."\n"
+ .'> - - brandLogo(品牌Logo图)'."\n"
+ .'> - - multipleBuyLimit(购买倍数)'."\n"
+ .'> - - eticket_type(电子卡券类型)'."\n"
+ .'> - - eticket_upper_buy_limit(电子卡券每单采购数量上限)'."\n"
+ .'> - - validity_type(电子卡券有效期类型)'."\n"
+ .'> - - etc_expiry_date(电子卡券有效期持续时间,validity_type=1时有效)'."\n"
+ .'> - - etc_duration_date(电子卡券有效期持续时间,validity_type=2/3/5时有效)'."\n"
+ .'> - - f_refund(电子卡券售中自动退款比例)'."\n"
+ .'> - - refund(电子卡券过期自动退比例)'."\n"
+ .'> - - writeoff(保留字段,请忽略)',
'type' => 'string',
'enumValueTitles' => [
- 'ss_picture_scene' => '氛围图',
- 'ss_picture_white_background' => '白底图',
- 'extraPeriod' => '保质期',
- 'itemBoundaryInventoryZeroTag' => '保留字段,请忽略',
- 'itemCCStatus' => '保留字段,请忽略',
- 'brandLogo' => '品牌Logo图',
- 'multipleBuyLimit' => '购买倍数',
- 'shoppingShowTitle' => '商品导购标题',
+ 'writeoff' => '保留字段,请忽略', 'ss_picture_scene' => '氛围图', 'ss_picture_white_background' => '白底图', 'validity_type' => '电子卡券有效期类型', 'extraPeriod' => '保质期', 'itemBoundaryInventoryZeroTag' => '保留字段,请忽略', 'etc_expiry_date' => '电子卡券有效期持续时间,validity_type=1时有效', 'eticket_type' => '电子卡券类型', 'eticket_upper_buy_limit' => '电子卡券每单采购数量上限', 'shoppingShowTitle' => '商品导购标题',
+ 'etc_duration_date' => '电子卡券有效期持续时间,validity_type=2/3/5时有效', 'itemCCStatus' => '保留字段,请忽略', 'brandLogo' => '品牌Logo图', 'f_refund' => '电子卡券售中自动退款比例', 'multipleBuyLimit' => '购买倍数', 'refund' => '电子卡券过期自动退比例',
],
'example' => 'ss_picture_scene',
],
- 'value' => [
- 'title' => '属性值',
- 'description' => '属性值',
- 'type' => 'string',
- 'example' => '场景图',
- ],
+ 'value' => ['title' => '属性值', 'description' => '属性值', 'type' => 'string', 'example' => '场景图'],
],
],
'ProductPageResult' => [
@@ -2114,45 +797,15 @@
'description' => '分页查询商品结果',
'type' => 'object',
'properties' => [
- 'pageSize' => [
- 'title' => '页大小',
- 'description' => '页大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'total' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '24',
- ],
- 'pageNumber' => [
- 'title' => '当前页码',
- 'description' => '当前页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3239281273464326823',
- ],
+ 'pageSize' => ['title' => '页大小', 'description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'total' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '24'],
+ 'pageNumber' => ['title' => '当前页码', 'description' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273464326823'],
'products' => [
'title' => '商品集合',
'description' => '商品集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/Product',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/Product', 'description' => ''],
'required' => false,
],
],
@@ -2162,13 +815,7 @@
'description' => '商品价格',
'type' => 'object',
'properties' => [
- 'fundAmountMoney' => [
- 'title' => '应付金额',
- 'description' => '应付金额',
- 'type' => 'string',
- 'required' => false,
- 'example' => '120',
- ],
+ 'fundAmountMoney' => ['title' => '应付金额', 'description' => '应付金额', 'type' => 'string', 'required' => false, 'example' => '120'],
],
],
'ProductProperty' => [
@@ -2176,22 +823,12 @@
'description' => '商品属性',
'type' => 'object',
'properties' => [
- 'text' => [
- 'title' => '属性文本',
- 'description' => '属性文本',
- 'type' => 'string',
- 'required' => false,
- 'example' => '颜色',
- ],
+ 'text' => ['title' => '属性文本', 'description' => '属性文本', 'type' => 'string', 'required' => false, 'example' => '颜色'],
'values' => [
'title' => '属性值集合',
'description' => '属性值集合',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => '白色',
- ],
+ 'items' => ['type' => 'string', 'required' => false, 'example' => '白色', 'description' => ''],
'required' => false,
],
],
@@ -2201,20 +838,8 @@
'description' => '商品查询参数',
'type' => 'object',
'properties' => [
- 'divisionCode' => [
- 'title' => '区域码',
- 'description' => '区域码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '110000',
- ],
- 'distributorShopId' => [
- 'title' => '分销店铺id',
- 'description' => '分销店铺id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22000009',
- ],
+ 'divisionCode' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '110000'],
+ 'distributorShopId' => ['title' => '分销店铺id', 'description' => '分销店铺id', 'type' => 'string', 'required' => true, 'example' => '22000009'],
],
],
'ProductSaleInfo' => [
@@ -2222,98 +847,35 @@
'description' => '商品',
'type' => 'object',
'properties' => [
- 'divisionCode' => [
- 'title' => '区域码',
- 'description' => '区域码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '330106109',
- ],
- 'quantity' => [
- 'title' => '库存',
- 'description' => '库存',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'divisionCode' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '330106109'],
+ 'quantity' => ['title' => '库存', 'description' => '库存', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
'skus' => [
'title' => 'sku集合',
'description' => 'sku集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/SkuSaleInfo',
- ],
- 'required' => false,
- ],
- 'productId' => [
- 'title' => '商品id',
- 'description' => '商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '660460842235822080',
- ],
- 'canSell' => [
- 'title' => '商品是否可售,计算值',
- 'description' => '商品是否可售,计算值',
- 'type' => 'boolean',
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/SkuSaleInfo', 'description' => ''],
'required' => false,
- 'example' => 'true',
- ],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3239281273464326823',
],
+ 'productId' => ['title' => '商品id', 'description' => '商品id', 'type' => 'string', 'required' => false, 'example' => '660460842235822080'],
+ 'canSell' => ['title' => '商品是否可售,计算值', 'description' => '商品是否可售,计算值', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273464326823'],
'fuzzyQuantity' => [
'title' => '模糊库存',
'description' => '模糊库存',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- '有货' => '有货',
- '库存紧张' => '库存紧张',
- '无货' => '无货',
- ],
+ 'enumValueTitles' => ['有货' => '有货', '库存紧张' => '库存紧张', '无货' => '无货'],
'example' => '有货',
],
- 'productStatus' => [
- 'title' => '商品状态',
- 'description' => '商品状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Online',
- ],
- 'shopId' => [
- 'title' => '渠道店铺id',
- 'description' => '渠道店铺id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '21000017',
- ],
- 'title' => [
- 'title' => '标题',
- 'description' => '标题',
- 'type' => 'string',
- 'required' => false,
- 'example' => '发财树',
- ],
- 'lmItemId' => [
- 'title' => 'LM商品id',
- 'description' => 'LM商品id',
- 'type' => 'string',
- 'example' => '21000017-4580902812',
- ],
+ 'productStatus' => ['title' => '商品状态', 'description' => '商品状态', 'type' => 'string', 'required' => false, 'example' => 'Online'],
+ 'shopId' => ['title' => '渠道店铺id', 'description' => '渠道店铺id', 'type' => 'string', 'required' => false, 'example' => '21000017'],
+ 'title' => ['title' => '标题', 'description' => '标题', 'type' => 'string', 'required' => false, 'example' => '发财树'],
+ 'lmItemId' => ['title' => 'LM商品id', 'description' => 'LM商品id', 'type' => 'string', 'example' => '21000017-4580902812'],
'limitRules' => [
'title' => '限购配置',
'description' => '限购配置',
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/LimitRule',
- ],
+ 'items' => ['$ref' => '#/components/schemas/LimitRule', 'description' => ''],
],
],
],
@@ -2322,33 +884,15 @@
'description' => '商品销售信息查询参数',
'type' => 'object',
'properties' => [
- 'divisionCode' => [
- 'title' => '区域码',
- 'description' => '区域码(建议为五级乡镇/街道级地址code)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '330106109',
- ],
+ 'divisionCode' => ['title' => '区域码', 'description' => '区域码(建议为五级乡镇/街道级地址code)', 'type' => 'string', 'required' => false, 'example' => '330106109'],
'productIds' => [
'title' => '查询商品id集合',
'description' => '查询商品id集合,支持[1,10]个批量查询',
'type' => 'array',
- 'items' => [
- 'title' => '查询商品id集合',
- 'description' => '查询商品id集合',
- 'type' => 'string',
- 'required' => true,
- 'example' => '660460842235822080',
- ],
- 'required' => true,
- ],
- 'purchaserId' => [
- 'title' => '采购方id',
- 'description' => '采购方id',
- 'type' => 'string',
+ 'items' => ['title' => '查询商品id集合', 'description' => '查询商品id集合', 'type' => 'string', 'required' => true, 'example' => '660460842235822080'],
'required' => true,
- 'example' => '22000009',
],
+ 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => '22000009'],
],
'required' => true,
],
@@ -2357,21 +901,12 @@
'description' => '商品销售信息查询结果',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3239281273464326823',
- ],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273464326823'],
'productSaleInfos' => [
'title' => '商品销售信息',
'description' => '商品销售信息',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/ProductSaleInfo',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/ProductSaleInfo', 'description' => ''],
'required' => false,
],
],
@@ -2381,20 +916,8 @@
'description' => '商品销售信息查询参数',
'type' => 'object',
'properties' => [
- 'divisionCode' => [
- 'title' => '区域码',
- 'description' => '区域码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '110000',
- ],
- 'distributorShopId' => [
- 'title' => '分销店铺id',
- 'description' => '分销店铺id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '22000009',
- ],
+ 'divisionCode' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '110000'],
+ 'distributorShopId' => ['title' => '分销店铺id', 'description' => '分销店铺id', 'type' => 'string', 'required' => true, 'example' => '22000009'],
],
],
'ProductSpec' => [
@@ -2402,29 +925,13 @@
'description' => '商品规格(销售属性)',
'type' => 'object',
'properties' => [
- 'keyId' => [
- 'title' => '规格',
- 'description' => '规格',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1000',
- ],
- 'key' => [
- 'title' => '规格key名称',
- 'description' => '规格key名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '颜色分类',
- ],
+ 'keyId' => ['title' => '规格', 'description' => '规格', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'],
+ 'key' => ['title' => '规格key名称', 'description' => '规格key名称', 'type' => 'string', 'required' => false, 'example' => '颜色分类'],
'values' => [
'title' => '规则key取值',
'description' => '规则key取值',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/ProductSpecValue',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/ProductSpecValue', 'description' => ''],
'required' => false,
],
],
@@ -2434,27 +941,9 @@
'description' => '商品规格值',
'type' => 'object',
'properties' => [
- 'value' => [
- 'title' => '规格值',
- 'description' => '规格值',
- 'type' => 'string',
- 'required' => false,
- 'example' => '白色',
- ],
- 'valueId' => [
- 'title' => '规则值id',
- 'description' => '规则值id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1000',
- ],
- 'valueAlias' => [
- 'title' => '规格值别名',
- 'description' => '规格值别名',
- 'type' => 'string',
- 'example' => '秘色',
- ],
+ 'value' => ['title' => '规格值', 'description' => '规格值', 'type' => 'string', 'required' => false, 'example' => '白色'],
+ 'valueId' => ['title' => '规则值id', 'description' => '规则值id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'],
+ 'valueAlias' => ['title' => '规格值别名', 'description' => '规格值别名', 'type' => 'string', 'example' => '秘色'],
],
],
'PurchaseOrderCreateCmd' => [
@@ -2462,46 +951,21 @@
'description' => '采购单创建入参',
'type' => 'object',
'properties' => [
- 'outerPurchaseOrderId' => [
- 'title' => '分销商业务中的订单ID,分销商自定义',
- 'description' => '分销商业务中的订单ID,分销商自定义。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'outer123456',
- ],
- 'buyerId' => [
- 'title' => '分销商业务中的用户ID,分销商自定义。',
- 'description' => '分销商业务中的用户ID,分销商自定义'."\n"
- ."\n"
- .'><notice>请为不同的买家分配不同的buyerId></notice>',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'buyer123456',
- ],
- 'deliveryAddress' => [
- 'title' => '地址信息',
- 'description' => '地址信息',
- 'required' => true,
- '$ref' => '#/components/schemas/AddressInfo',
- ],
+ 'outerPurchaseOrderId' => ['title' => '分销商业务中的订单ID,分销商自定义', 'description' => '分销商业务中的订单ID,分销商自定义。', 'type' => 'string', 'required' => true, 'example' => 'outer123456'],
+ 'buyerId' => ['title' => '分销商业务中的用户ID,分销商自定义。', 'description' => '分销商业务中的用户ID,分销商自定义'."\n"
+ ."\n"
+ .'><notice>请为不同的买家分配不同的buyerId></notice>', 'type' => 'string', 'required' => true, 'example' => 'buyer123456'],
+ 'deliveryAddress' => ['title' => '地址信息', 'description' => '地址信息', 'required' => true, '$ref' => '#/components/schemas/AddressInfo'],
'productList' => [
'title' => '商品集合',
'description' => '商品集合'."\n"
.'> 单个采购单最大采购SKU个数:20',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/ProductDTO',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/ProductDTO', 'description' => ''],
'required' => true,
'minItems' => 1,
],
- 'extInfo' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- ],
+ 'extInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false],
],
],
'PurchaseOrderCreateResult' => [
@@ -2509,20 +973,8 @@
'description' => '采购单创建返回',
'type' => 'object',
'properties' => [
- 'purchaseOrderId' => [
- 'title' => '采购单ID',
- 'description' => '采购单ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6692****5696',
- ],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '841471F6-5D61-1331-8C38-2****B55',
- ],
+ 'purchaseOrderId' => ['title' => '采购单ID', 'description' => '采购单ID', 'type' => 'string', 'required' => false, 'example' => '6692****5696'],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'],
],
],
'PurchaseOrderRenderQuery' => [
@@ -2530,38 +982,18 @@
'description' => '采购单渲染入参',
'type' => 'object',
'properties' => [
- 'buyerId' => [
- 'title' => '分销真实买家ID',
- 'description' => '分销真实买家ID><notice>请为不同的买家分配不同的ID,勿使用同一ID></notice>',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test1234567',
- ],
- 'deliveryAddress' => [
- 'title' => '地址信息',
- 'description' => '地址信息',
- 'required' => true,
- '$ref' => '#/components/schemas/AddressInfo',
- ],
+ 'buyerId' => ['title' => '分销真实买家ID', 'description' => '分销真实买家ID><notice>请为不同的买家分配不同的ID,勿使用同一ID></notice>', 'type' => 'string', 'required' => true, 'example' => 'test1234567'],
+ 'deliveryAddress' => ['title' => '地址信息', 'description' => '地址信息', 'required' => true, '$ref' => '#/components/schemas/AddressInfo'],
'productList' => [
'title' => '商品集合',
'description' => '商品集合'."\n"
.'> 单个采购单最大采购SKU个数:20',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/OrderRenderProductDTO',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/OrderRenderProductDTO', 'description' => ''],
'required' => true,
'minItems' => 1,
],
- 'extInfo' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'extInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{}'],
],
],
'PurchaseOrderRenderResult' => [
@@ -2573,59 +1005,27 @@
'title' => '地址集合',
'description' => '地址集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/AddressInfo',
- ],
- 'required' => false,
- ],
- 'canSell' => [
- 'title' => '是否可售',
- 'description' => '是否可售',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/AddressInfo', 'description' => ''],
'required' => false,
- 'example' => '841471F6-5D61-1331-8C38-2****B55',
],
+ 'canSell' => ['title' => '是否可售', 'description' => '是否可售', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'],
'orderList' => [
'title' => '可售主单集合',
'description' => '可售主单集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/OrderRenderResult',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/OrderRenderResult', 'description' => ''],
'required' => false,
],
'unsellableOrderList' => [
'title' => '不可售主单集合',
'description' => '不可售主单集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/OrderRenderResult',
- ],
- 'required' => false,
- ],
- 'message' => [
- 'title' => '不可售原因',
- 'description' => '不可售原因',
- 'type' => 'string',
- 'required' => false,
- 'example' => '库存为0',
- ],
- 'extInfo' => [
- 'title' => '扩展信息',
- 'description' => '扩展信息',
- 'type' => 'object',
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/OrderRenderResult', 'description' => ''],
'required' => false,
],
+ 'message' => ['title' => '不可售原因', 'description' => '不可售原因', 'type' => 'string', 'required' => false, 'example' => '库存为0'],
+ 'extInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false],
],
],
'PurchaseOrderStatusResult' => [
@@ -2633,30 +1033,13 @@
'description' => '采购单状态',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3239281273464326823',
- ],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273464326823'],
'status' => [
'title' => '采购单状态',
'description' => '采购单状态',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 1 => '采购单创建中',
- 10 => '采购中',
- 20 => '采购成功,待发货',
- '采购成功,部分发货',
- '采购成功,全部发货',
- 30 => '部分采购成功,待发货',
- '部分采购成功,部分发货',
- '部分采购成功,全部发货',
- 80 => '交易失败',
- 99 => '交易成功',
- ],
+ 'enumValueTitles' => [1 => '采购单创建中', 10 => '采购中', 20 => '采购成功,待发货', '采购成功,部分发货', '采购成功,全部发货', 30 => '部分采购成功,待发货', '部分采购成功,部分发货', '部分采购成功,全部发货', 80 => '交易失败', 99 => '交易成功'],
'example' => '10',
],
],
@@ -2666,22 +1049,8 @@
'description' => '退费区间',
'type' => 'object',
'properties' => [
- 'minRefundFee' => [
- 'title' => '最小金额(分)',
- 'description' => '最小金额(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
- 'maxRefundFee' => [
- 'title' => '最大金额(分)',
- 'description' => '最大金额(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100',
- ],
+ 'minRefundFee' => ['title' => '最小金额(分)', 'description' => '最小金额(分)', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ 'maxRefundFee' => ['title' => '最大金额(分)', 'description' => '最大金额(分)', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
],
],
'RefundOrderCmd' => [
@@ -2689,82 +1058,26 @@
'description' => '创建逆向',
'type' => 'object',
'properties' => [
- 'applyRefundCount' => [
- 'title' => '退货数量',
- 'description' => '退货数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'bizClaimType' => [
- 'title' => '退款类型',
- 'description' => '退款类型'."\n"
- .'1 仅退款 '."\n"
- .'3 退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'goodsStatus' => [
- 'title' => '货物状态',
- 'description' => '货物状态'."\n"
- .'4: 未发货 '."\n"
- .'1: 未收到货'."\n"
- .'2: 已收到货',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'leaveMessage' => [
- 'title' => '留言',
- 'description' => '留言',
- 'type' => 'string',
- 'required' => false,
- 'example' => '不想要了',
- ],
- 'applyReasonTextId' => [
- 'title' => '退款原因ID',
- 'description' => '退款原因ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '47821',
- ],
- 'applyReasonTips' => [
- 'title' => '退款原因文本',
- 'description' => '退款原因文本',
- 'type' => 'string',
- 'required' => false,
- 'example' => '不想要了',
- ],
- 'applyRefundFee' => [
- 'title' => '申请退款金额(分)',
- 'description' => '申请退款金额(分)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '100',
- ],
+ 'applyRefundCount' => ['title' => '退货数量', 'description' => '退货数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'bizClaimType' => ['title' => '退款类型', 'description' => '退款类型'."\n"
+ .'1 仅退款 '."\n"
+ .'3 退货退款', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'goodsStatus' => ['title' => '货物状态', 'description' => '货物状态'."\n"
+ .'4: 未发货 '."\n"
+ .'1: 未收到货'."\n"
+ .'2: 已收到货', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'leaveMessage' => ['title' => '留言', 'description' => '留言', 'type' => 'string', 'required' => false, 'example' => '不想要了'],
+ 'applyReasonTextId' => ['title' => '退款原因ID', 'description' => '退款原因ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '47821'],
+ 'applyReasonTips' => ['title' => '退款原因文本', 'description' => '退款原因文本', 'type' => 'string', 'required' => false, 'example' => '不想要了'],
+ 'applyRefundFee' => ['title' => '申请退款金额(分)', 'description' => '申请退款金额(分)', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '100'],
'leavePictureLists' => [
'title' => '图片集合',
'description' => '图片集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/LeavePictureList',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/LeavePictureList', 'description' => ''],
'required' => false,
],
- 'orderLineId' => [
- 'title' => '子分销订单ID',
- 'description' => '子分销订单ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '6692****5458',
- ],
+ 'orderLineId' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => true, 'example' => '6692****5458'],
],
],
'RefundOrderResult' => [
@@ -2772,42 +1085,17 @@
'description' => '逆向操作结果',
'type' => 'object',
'properties' => [
- 'orderLineId' => [
- 'title' => '当前发起逆向的子分销订单号',
- 'description' => '当前发起逆向的子分销订单号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6692****5458',
- ],
- 'disputeId' => [
- 'title' => '纠纷id',
- 'description' => '纠纷id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6693****4352',
- ],
- 'disputeStatus' => [
- 'title' => '逆向的状态',
- 'description' => '逆向的状态'."\n"
- .'1-退货待处理'."\n"
- .'2-待买家退货'."\n"
- .'3-待商家收货'."\n"
- .'4-退款关闭'."\n"
- .'5-退款成功'."\n"
- .'6-已拒绝退款'."\n"
- .'17-取消退款中',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '841471F6-5D61-1331-8C38-2****B55',
- ],
+ 'orderLineId' => ['title' => '当前发起逆向的子分销订单号', 'description' => '当前发起逆向的子分销订单号', 'type' => 'string', 'required' => false, 'example' => '6692****5458'],
+ 'disputeId' => ['title' => '纠纷id', 'description' => '纠纷id', 'type' => 'string', 'required' => false, 'example' => '6693****4352'],
+ 'disputeStatus' => ['title' => '逆向的状态', 'description' => '逆向的状态'."\n"
+ .'1-退货待处理'."\n"
+ .'2-待买家退货'."\n"
+ .'3-待商家收货'."\n"
+ .'4-退款关闭'."\n"
+ .'5-退款成功'."\n"
+ .'6-已拒绝退款'."\n"
+ .'17-取消退款中', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'],
],
],
'RefundReason' => [
@@ -2815,34 +1103,10 @@
'description' => '退款理由',
'type' => 'object',
'properties' => [
- 'reasonTextId' => [
- 'title' => '理由文本id',
- 'description' => '理由文本id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '47683',
- ],
- 'proofRequired' => [
- 'title' => '是否要求上传凭证',
- 'description' => '是否要求上传凭证',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'reasonTips' => [
- 'title' => '理由文本',
- 'description' => '理由文本',
- 'type' => 'string',
- 'required' => false,
- 'example' => '不想要了',
- ],
- 'refundDescRequired' => [
- 'title' => '是否要求留言',
- 'description' => '是否要求留言',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'reasonTextId' => ['title' => '理由文本id', 'description' => '理由文本id', 'type' => 'string', 'required' => false, 'example' => '47683'],
+ 'proofRequired' => ['title' => '是否要求上传凭证', 'description' => '是否要求上传凭证', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'reasonTips' => ['title' => '理由文本', 'description' => '理由文本', 'type' => 'string', 'required' => false, 'example' => '不想要了'],
+ 'refundDescRequired' => ['title' => '是否要求留言', 'description' => '是否要求留言', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'RefundRenderCmd' => [
@@ -2850,29 +1114,9 @@
'description' => '逆向创建入参',
'type' => 'object',
'properties' => [
- 'bizClaimType' => [
- 'title' => '退款类型 1 仅退款,3 退货退款',
- 'description' => '退款类型 1 仅退款,3 退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'goodsStatus' => [
- 'title' => '货物状态 4: 未发货, 1: 未收到货, 2: 已收到货',
- 'description' => '货物状态 4: 未发货, 1: 未收到货, 2: 已收到货',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '4',
- ],
- 'orderLineId' => [
- 'title' => '子分销订单ID',
- 'description' => '子分销订单ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '6692****5458',
- ],
+ 'bizClaimType' => ['title' => '退款类型 1 仅退款,3 退货退款', 'description' => '退款类型 1 仅退款,3 退货退款', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'goodsStatus' => ['title' => '货物状态 4: 未发货, 1: 未收到货, 2: 已收到货', 'description' => '货物状态 4: 未发货, 1: 未收到货, 2: 已收到货', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4'],
+ 'orderLineId' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => true, 'example' => '6692****5458'],
],
],
'RefundRenderResult' => [
@@ -2880,42 +1124,17 @@
'description' => '逆向渲染结果',
'type' => 'object',
'properties' => [
- 'maxRefundFeeData' => [
- 'required' => false,
- '$ref' => '#/components/schemas/DistributionMaxRefundFee',
- ],
+ 'maxRefundFeeData' => ['required' => false, '$ref' => '#/components/schemas/DistributionMaxRefundFee', 'description' => ''],
'refundReasonList' => [
'title' => '逆向理由集合',
'description' => '逆向理由集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/RefundReason',
- ],
- 'required' => false,
- ],
- 'bizClaimType' => [
- 'title' => '支持的订单退货方式',
- 'description' => '支持的订单退货方式',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'orderLineId' => [
- 'title' => '子分销订单号',
- 'description' => '子分销订单号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6692****5458',
- ],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/RefundReason', 'description' => ''],
'required' => false,
- 'example' => '841471F6-5D61-1331-8C38-2****B55',
],
+ 'bizClaimType' => ['title' => '支持的订单退货方式', 'description' => '支持的订单退货方式', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'orderLineId' => ['title' => '子分销订单号', 'description' => '子分销订单号', 'type' => 'string', 'required' => false, 'example' => '6692****5458'],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'],
],
],
'RefundResult' => [
@@ -2923,183 +1142,49 @@
'description' => '逆向信息',
'type' => 'object',
'properties' => [
- 'refundFee' => [
- 'title' => '退费金额',
- 'description' => '退费金额',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
- 'refundFeeData' => [
- 'title' => '退费区间',
- 'description' => '退费区间',
- 'required' => false,
- '$ref' => '#/components/schemas/RefundFeeData',
- ],
- 'applyDisputeDesc' => [
- 'title' => '当前买家申请退款说明',
- 'description' => '当前买家申请退款说明',
- 'type' => 'string',
- 'required' => false,
- 'example' => '多拍不想要',
- ],
- 'refunderTel' => [
- 'title' => '退货联系方式',
- 'description' => '退货联系方式',
- 'type' => 'string',
- 'required' => false,
- 'example' => '182****1334',
- ],
- 'bizClaimType' => [
- 'title' => '订单退货方式 1, 标识仅退款,3,标识退货退款',
- 'description' => '订单退货方式 '."\n"
- .'1-标识仅退款'."\n"
- .'3-标识退货退款',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'disputeDesc' => [
- 'title' => '申请逆向描述',
- 'description' => '申请逆向描述',
- 'type' => 'string',
- 'required' => false,
- 'example' => '多拍不想要',
- ],
- 'sellerRefuseReason' => [
- 'title' => '商家拒绝原因',
- 'description' => '商家拒绝原因',
- 'type' => 'string',
- 'required' => false,
- 'example' => '商品没问题,买家举证无效',
- ],
- 'orderId' => [
- 'title' => '主单ID',
- 'description' => '主单ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6692****5457',
- ],
- 'refunderName' => [
- 'title' => '退货收货人',
- 'description' => '退货收货人',
- 'type' => 'string',
- 'required' => false,
- 'example' => '赵先生',
- ],
- 'applyReason' => [
- 'title' => '申请理由',
- 'description' => '申请理由',
- 'required' => false,
- '$ref' => '#/components/schemas/ApplyReason',
- ],
- 'refunderAddress' => [
- 'title' => '商家退货地址',
- 'description' => '商家退货地址(disputeStatus=2,待买家退货状态时可获取退货地址,如需保存退货地址请在此状态时保存)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '阿里云云谷',
- ],
- 'refunderZipCode' => [
- 'title' => '退货地址邮编',
- 'description' => '退货地址邮编',
- 'type' => 'string',
- 'required' => false,
- 'example' => '331001',
- ],
- 'disputeEndTime' => [
- 'title' => '逆向结束时间',
- 'description' => '逆向结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-09-15T19:23:59.000+08:00',
- ],
- 'sellerRefuseAgreementMessage' => [
- 'title' => '卖家拒绝的留言说明',
- 'description' => '卖家拒绝的留言说明',
- 'type' => 'string',
- 'required' => false,
- 'example' => '不同意退款',
- ],
- 'disputeId' => [
- 'title' => '逆向单ID',
- 'description' => '逆向单ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6693****4352',
- ],
- 'disputeStatus' => [
- 'title' => '逆向单状态',
- 'description' => '逆向的状态 '."\n"
- .'1-退货待处理 '."\n"
- .'2-待买家退货 '."\n"
- .'3-待商家收货 '."\n"
- .'4-退款关闭 '."\n"
- .'5-退款成功 '."\n"
- .'6-已拒绝退款 '."\n"
- .'17-取消退款中',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'returnGoodLogisticsStatus' => [
- 'title' => '退货物流状态',
- 'description' => '退货物流状态'."\n"
- .'0-未退货'."\n"
- .'1-等待揽收'."\n"
- .'2-快件已揽收'."\n"
- .'3-物流走件中'."\n"
- .'4-派送中'."\n"
- .'5-已签收'."\n"
- .'6-签收失败',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
- 'orderLogisticsStatus' => [
- 'title' => '订单物流状态',
- 'description' => '订单物流状态'."\n"
- .'1-未发货 -> 等待卖家发货'."\n"
- .'2-已发货 -> 等待买家确认收货'."\n"
- .'3-已收货 -> 交易成功'."\n"
- .'6-部分发货中'."\n"
- .'8-还未创建物流订单',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'disputeCreateTime' => [
- 'title' => '逆向创建时间',
- 'description' => '逆向创建时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-09-15T19:23:59.000+08:00',
- ],
- 'orderLineId' => [
- 'title' => '子订单ID',
- 'description' => '子订单ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6692****5458',
- ],
- 'sellerAgreeMsg' => [
- 'title' => '卖家同意退货说明,真实的退货地址会在这个字段进行返回。',
- 'description' => '卖家同意退货说明',
- 'type' => 'string',
- 'required' => false,
- 'example' => '同意退款',
- ],
- 'requestId' => [
- 'title' => '请求ID',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '841471F6-5D61-1331-8C38-2****B55',
- ],
+ 'refundFee' => ['title' => '退费金额', 'description' => '退费金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ 'refundFeeData' => ['title' => '退费区间', 'description' => '退费区间', 'required' => false, '$ref' => '#/components/schemas/RefundFeeData'],
+ 'applyDisputeDesc' => ['title' => '当前买家申请退款说明', 'description' => '当前买家申请退款说明', 'type' => 'string', 'required' => false, 'example' => '多拍不想要'],
+ 'refunderTel' => ['title' => '退货联系方式', 'description' => '退货联系方式', 'type' => 'string', 'required' => false, 'example' => '182****1334'],
+ 'bizClaimType' => ['title' => '订单退货方式 1, 标识仅退款,3,标识退货退款', 'description' => '订单退货方式 '."\n"
+ .'1-标识仅退款'."\n"
+ .'3-标识退货退款', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'disputeDesc' => ['title' => '申请逆向描述', 'description' => '申请逆向描述', 'type' => 'string', 'required' => false, 'example' => '多拍不想要'],
+ 'sellerRefuseReason' => ['title' => '商家拒绝原因', 'description' => '商家拒绝原因', 'type' => 'string', 'required' => false, 'example' => '商品没问题,买家举证无效'],
+ 'orderId' => ['title' => '主单ID', 'description' => '主单ID', 'type' => 'string', 'required' => false, 'example' => '6692****5457'],
+ 'refunderName' => ['title' => '退货收货人', 'description' => '退货收货人', 'type' => 'string', 'required' => false, 'example' => '赵先生'],
+ 'applyReason' => ['title' => '申请理由', 'description' => '申请理由', 'required' => false, '$ref' => '#/components/schemas/ApplyReason'],
+ 'refunderAddress' => ['title' => '商家退货地址', 'description' => '商家退货地址(disputeStatus=2,待买家退货状态时可获取退货地址,如需保存退货地址请在此状态时保存)', 'type' => 'string', 'required' => false, 'example' => '阿里云云谷'],
+ 'refunderZipCode' => ['title' => '退货地址邮编', 'description' => '退货地址邮编', 'type' => 'string', 'required' => false, 'example' => '331001'],
+ 'disputeEndTime' => ['title' => '逆向结束时间', 'description' => '逆向结束时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-15T19:23:59.000+08:00'],
+ 'sellerRefuseAgreementMessage' => ['title' => '卖家拒绝的留言说明', 'description' => '卖家拒绝的留言说明', 'type' => 'string', 'required' => false, 'example' => '不同意退款'],
+ 'disputeId' => ['title' => '逆向单ID', 'description' => '逆向单ID', 'type' => 'string', 'required' => false, 'example' => '6693****4352'],
+ 'disputeStatus' => ['title' => '逆向单状态', 'description' => '逆向的状态 '."\n"
+ .'1-退货待处理 '."\n"
+ .'2-待买家退货 '."\n"
+ .'3-待商家收货 '."\n"
+ .'4-退款关闭 '."\n"
+ .'5-退款成功 '."\n"
+ .'6-已拒绝退款 '."\n"
+ .'17-取消退款中', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'returnGoodLogisticsStatus' => ['title' => '退货物流状态', 'description' => '退货物流状态'."\n"
+ .'0-未退货'."\n"
+ .'1-等待揽收'."\n"
+ .'2-快件已揽收'."\n"
+ .'3-物流走件中'."\n"
+ .'4-派送中'."\n"
+ .'5-已签收'."\n"
+ .'6-签收失败', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
+ 'orderLogisticsStatus' => ['title' => '订单物流状态', 'description' => '订单物流状态'."\n"
+ .'1-未发货 -> 等待卖家发货'."\n"
+ .'2-已发货 -> 等待买家确认收货'."\n"
+ .'3-已收货 -> 交易成功'."\n"
+ .'6-部分发货中'."\n"
+ .'8-还未创建物流订单', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'disputeCreateTime' => ['title' => '逆向创建时间', 'description' => '逆向创建时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-15T19:23:59.000+08:00'],
+ 'orderLineId' => ['title' => '子订单ID', 'description' => '子订单ID', 'type' => 'string', 'required' => false, 'example' => '6692****5458'],
+ 'sellerAgreeMsg' => ['title' => '卖家同意退货说明,真实的退货地址会在这个字段进行返回。', 'description' => '卖家同意退货说明', 'type' => 'string', 'required' => false, 'example' => '同意退款'],
+ 'requestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '841471F6-5D61-1331-8C38-2****B55'],
],
],
'Shop' => [
@@ -3107,131 +1192,23 @@
'description' => '店铺详情',
'type' => 'object',
'properties' => [
- 'endDate' => [
- 'title' => '结束时间',
- 'description' => '结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-09-11T12:22:24.000+08:00',
- ],
- 'distributorId' => [
- 'title' => '分销商id',
- 'description' => '分销商id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '12****09',
- ],
- 'shopName' => [
- 'title' => '店铺名称',
- 'description' => '店铺名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '儿童分销店铺',
- ],
- 'shopId' => [
- 'title' => '店铺id',
- 'description' => '店铺id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '22****09',
- ],
- 'shopType' => [
- 'title' => '店铺类型',
- 'description' => '店铺类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DistributorQYG',
- ],
+ 'endDate' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-11T12:22:24.000+08:00'],
+ 'distributorId' => ['title' => '分销商id', 'description' => '分销商id', 'type' => 'string', 'required' => false, 'example' => '12****09'],
+ 'shopName' => ['title' => '店铺名称', 'description' => '店铺名称', 'type' => 'string', 'required' => false, 'example' => '儿童分销店铺'],
+ 'shopId' => ['title' => '店铺id', 'description' => '店铺id', 'type' => 'string', 'required' => false, 'example' => '22****09'],
+ 'shopType' => ['title' => '店铺类型', 'description' => '店铺类型', 'type' => 'string', 'required' => false, 'example' => 'DistributorQYG'],
'cooperationShops' => [
'title' => '合作方店铺',
'description' => '合作方店铺',
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/CooperationShop',
- ],
+ 'items' => ['$ref' => '#/components/schemas/CooperationShop', 'description' => ''],
'required' => false,
'example' => '12***01',
],
- 'startDate' => [
- 'title' => '开始时间',
- 'description' => '开始时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-09-11T12:22:24.000+08:00',
- ],
- 'status' => [
- 'title' => '店铺状态',
- 'description' => '店铺状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Working',
- ],
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'example' => '48A34399-A72C-1E23-8388-7E63****E927',
- ],
- 'purchaserId' => [
- 'title' => '采购方id',
- 'description' => '采购方id',
- 'type' => 'string',
- 'example' => 'PID56****2304',
- ],
- ],
- ],
- 'ShopCreateRequest' => [
- 'type' => 'object',
- 'properties' => [
- 'description' => [
- 'title' => '店铺描述',
- 'type' => 'string',
- 'required' => true,
- 'example' => '店铺描述',
- 'maxLength' => 500,
- ],
- 'shopName' => [
- 'title' => '店铺名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => '店铺名称',
- 'maxLength' => 100,
- ],
- 'afterSaleDingTalkId' => [
- 'title' => '售后钉钉号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '12344335',
- ],
- 'operatorDingTalkId' => [
- 'title' => '运营钉钉号',
- 'type' => 'string',
- 'required' => true,
- 'example' => '12344335',
- ],
- 'preSaleDingTalkId' => [
- 'title' => '售前钉钉号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '12344335',
- ],
- ],
- ],
- 'ShopCreateResult' => [
- 'type' => 'object',
- 'properties' => [
- 'shopStatus' => [
- 'title' => '店铺状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'WORKING',
- ],
- 'shopId' => [
- 'title' => '店铺id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123',
- ],
+ 'startDate' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-11T12:22:24.000+08:00'],
+ 'status' => ['title' => '店铺状态', 'description' => '店铺状态', 'type' => 'string', 'required' => false, 'example' => 'Working'],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'example' => '48A34399-A72C-1E23-8388-7E63****E927'],
+ 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'example' => 'PID56****2304'],
],
],
'ShopPageDataResult' => [
@@ -3239,64 +1216,21 @@
'description' => '店铺分页结果',
'type' => 'object',
'properties' => [
- 'endDate' => [
- 'title' => '结束时间',
- 'description' => '结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-09-11T12:22:24.000+08:00',
- ],
- 'shopName' => [
- 'title' => '店铺名称',
- 'description' => '店铺名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '儿童座椅分销店铺',
- ],
- 'shopId' => [
- 'title' => '店铺id',
- 'description' => '店铺id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '22****09',
- ],
- 'shopType' => [
- 'title' => '店铺类型',
- 'description' => '店铺类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DistributorQYG',
- ],
+ 'endDate' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-11T12:22:24.000+08:00'],
+ 'shopName' => ['title' => '店铺名称', 'description' => '店铺名称', 'type' => 'string', 'required' => false, 'example' => '儿童座椅分销店铺'],
+ 'shopId' => ['title' => '店铺id', 'description' => '店铺id', 'type' => 'string', 'required' => false, 'example' => '22****09'],
+ 'shopType' => ['title' => '店铺类型', 'description' => '店铺类型', 'type' => 'string', 'required' => false, 'example' => 'DistributorQYG'],
'cooperationShops' => [
'title' => '合作方店铺',
'description' => '合作方店铺',
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/CooperationShop',
- ],
+ 'items' => ['$ref' => '#/components/schemas/CooperationShop', 'description' => ''],
'required' => false,
'example' => '12****01',
],
- 'startDate' => [
- 'title' => '开始时间',
- 'description' => '开始时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-09-11T12:22:24.000+08:00',
- ],
- 'status' => [
- 'title' => '店铺状态',
- 'description' => '店铺状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Working',
- ],
- 'purchaserId' => [
- 'title' => '采购方id',
- 'description' => '采购方id',
- 'type' => 'string',
- 'example' => 'PID56****2304',
- ],
+ 'startDate' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-11T12:22:24.000+08:00'],
+ 'status' => ['title' => '店铺状态', 'description' => '店铺状态', 'type' => 'string', 'required' => false, 'example' => 'Working'],
+ 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'example' => 'PID56****2304'],
],
],
'ShopPageResult' => [
@@ -3304,214 +1238,56 @@
'description' => '店铺分页查询返回',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '841471F6-5D61-1331-8C38-2****B55',
- ],
- 'total' => [
- 'title' => '总数量',
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '24',
- ],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'],
+ 'total' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '24'],
'shopList' => [
'title' => '店铺集合',
'description' => '店铺集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/ShopPageDataResult',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/ShopPageDataResult', 'description' => ''],
'required' => false,
],
],
],
- 'ShopStatusChangeRequest' => [
- 'type' => 'object',
- 'properties' => [
- 'shopStatus' => [
- 'title' => '店铺状态',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'WORKING',
- ],
- 'shopId' => [
- 'title' => '店铺id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123',
- ],
- ],
- ],
- 'ShopStatusChangeResult' => [
- 'type' => 'object',
- 'properties' => [
- 'operate' => [
- 'title' => '操作是否成功',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- ],
'Sku' => [
'description' => 'SKU列表',
'type' => 'object',
'properties' => [
- 'quantity' => [
- 'title' => '可售库存',
- 'description' => '可售库存><notice>目前该字段值统一为:-1,无实际意义。></notice>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '-1',
- ],
- 'productId' => [
- 'title' => '商品Id',
- 'description' => '商品Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '660460842235822080',
- ],
- 'canSell' => [
- 'title' => 'sku是否可售',
- 'description' => 'sku是否可售',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'quantity' => ['title' => '可售库存', 'description' => '可售库存><notice>目前该字段值统一为:-1,无实际意义。></notice>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-1'],
+ 'productId' => ['title' => '商品Id', 'description' => '商品Id', 'type' => 'string', 'required' => false, 'example' => '660460842235822080'],
+ 'canSell' => ['title' => 'sku是否可售', 'description' => 'sku是否可售', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
'fuzzyQuantity' => [
'title' => '模糊可售库存',
'description' => '模糊可售库存',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- '有货' => '有货',
- '库存紧张' => '库存紧张',
- '无货' => '无货',
- ],
+ 'enumValueTitles' => ['有货' => '有货', '库存紧张' => '库存紧张', '无货' => '无货'],
'example' => '有货'."\n"
.'无货'."\n"
.'库存紧张',
],
- 'skuStatus' => [
- 'title' => 'sku管控状态',
- 'description' => 'sku管控状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Online',
- ],
- 'skuSpecsCode' => [
- 'title' => 'sku销售规格,辅助前端来筛选',
- 'description' => 'sku销售规格,辅助前端来筛选',
- 'type' => 'string',
- 'required' => false,
- 'example' => '颜色分类:天蓝色',
- ],
- 'platformPrice' => [
- 'title' => '平台当前售价, 单位分',
- 'description' => '建议零售价, 单位分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '999900',
- ],
- 'title' => [
- 'title' => 'sku标题',
- 'description' => 'sku标题><notice>建议分销商取SkuSpec结构体中的value值或valueAlias值(当valueAlias有值时)拼接SKU标题对客展示。不建议直接使用本字段作为SKU标题对客展示。></notice>',
- 'type' => 'string',
- 'required' => false,
- 'example' => '天蓝色',
- ],
- 'divisionCode' => [
- 'title' => '区域码',
- 'description' => '区域码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '110000',
- ],
- 'picUrl' => [
- 'title' => 'sku图片',
- 'description' => 'sku图片',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https:////img.alicdn.com/imgextra///img.alicdn.com/imgextra/i2/2216003305543/O1CN010DEQCX1qokFYGRfPE_!!2216003305543.png',
- ],
- 'markPrice' => [
- 'title' => '划线价, 单位分',
- 'description' => '划线价, 单位分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '999900',
- ],
+ 'skuStatus' => ['title' => 'sku管控状态', 'description' => 'sku管控状态', 'type' => 'string', 'required' => false, 'example' => 'Online'],
+ 'skuSpecsCode' => ['title' => 'sku销售规格,辅助前端来筛选', 'description' => 'sku销售规格,辅助前端来筛选', 'type' => 'string', 'required' => false, 'example' => '颜色分类:天蓝色'],
+ 'platformPrice' => ['title' => '平台当前售价, 单位分', 'description' => '建议零售价, 单位分', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '999900'],
+ 'title' => ['title' => 'sku标题', 'description' => 'sku标题><notice>建议分销商取SkuSpec结构体中的value值或valueAlias值(当valueAlias有值时)拼接SKU标题对客展示。不建议直接使用本字段作为SKU标题对客展示。></notice>', 'type' => 'string', 'required' => false, 'example' => '天蓝色'],
+ 'divisionCode' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '110000'],
+ 'picUrl' => ['title' => 'sku图片', 'description' => 'sku图片', 'type' => 'string', 'required' => false, 'example' => 'https:////img.alicdn.com/imgextra///img.alicdn.com/imgextra/i2/2216003305543/O1CN010DEQCX1qokFYGRfPE_!!2216003305543.png'],
+ 'markPrice' => ['title' => '划线价, 单位分', 'description' => '划线价, 单位分', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '999900'],
'skuSpecs' => [
'title' => 'sku',
'description' => 'sku',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/SkuSpec',
- ],
- 'required' => false,
- ],
- 'price' => [
- 'title' => '售价,单位分',
- 'description' => '分销商采购价,单位分',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/SkuSpec', 'description' => ''],
'required' => false,
- 'example' => '19800',
- ],
- 'shopId' => [
- 'title' => '店铺Id',
- 'description' => '店铺Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '21000017',
- ],
- 'skuId' => [
- 'title' => 'skuId',
- 'description' => 'skuId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '660460842235822081',
- ],
- 'barcode' => [
- 'title' => '69码',
- 'description' => '69码',
- 'type' => 'string',
- 'example' => '6922454329176',
- ],
- 'rankValue' => [
- 'title' => 'SKU排序',
- 'description' => 'SKU排序',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'suggestedRetailPrice' => [
- 'title' => '建议零售价(无优惠)',
- 'description' => '保留字段',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'discountRetailPrice' => [
- 'title' => '建议零售价(券后)',
- 'description' => '保留字段',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'skuAlias' => [
- 'title' => 'sku别名',
- 'description' => 'sku备注',
- 'type' => 'string',
],
+ 'price' => ['title' => '售价,单位分', 'description' => '分销商采购价,单位分', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '19800'],
+ 'shopId' => ['title' => '店铺Id', 'description' => '店铺Id', 'type' => 'string', 'required' => false, 'example' => '21000017'],
+ 'skuId' => ['title' => 'skuId', 'description' => 'skuId', 'type' => 'string', 'required' => false, 'example' => '660460842235822081'],
+ 'barcode' => ['title' => '69码', 'description' => '69码', 'type' => 'string', 'example' => '6922454329176'],
+ 'rankValue' => ['title' => 'SKU排序', 'description' => 'SKU排序', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'suggestedRetailPrice' => ['title' => '建议零售价(无优惠)', 'description' => '保留字段', 'type' => 'integer', 'format' => 'int64'],
+ 'discountRetailPrice' => ['title' => '建议零售价(券后)', 'description' => '保留字段', 'type' => 'integer', 'format' => 'int64'],
+ 'skuAlias' => ['title' => 'sku别名', 'description' => 'sku备注', 'type' => 'string'],
],
],
'SkuQueryParam' => [
@@ -3519,27 +1295,9 @@
'description' => '查询商品参数',
'type' => 'object',
'properties' => [
- 'productId' => [
- 'title' => '商品id',
- 'description' => '商品id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '660460842235822080',
- ],
- 'skuId' => [
- 'title' => 'skuid',
- 'description' => 'skuid',
- 'type' => 'string',
- 'required' => true,
- 'example' => '660460842235822081',
- ],
- 'buyAmount' => [
- 'title' => '购买数量',
- 'description' => '购买数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'productId' => ['title' => '商品id', 'description' => '商品id', 'type' => 'string', 'required' => true, 'example' => '660460842235822080'],
+ 'skuId' => ['title' => 'skuid', 'description' => 'skuid', 'type' => 'string', 'required' => true, 'example' => '660460842235822081'],
+ 'buyAmount' => ['title' => '购买数量', 'description' => '购买数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
'SkuSaleInfo' => [
@@ -3547,97 +1305,25 @@
'description' => 'SKU详细信息',
'type' => 'object',
'properties' => [
- 'divisionCode' => [
- 'title' => '区域码',
- 'description' => '区域码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '330106109',
- ],
- 'markPrice' => [
- 'title' => '划线价, 单位分',
- 'description' => '划线价, 单位分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '999900',
- ],
- 'quantity' => [
- 'title' => '可售库存',
- 'description' => '可售库存',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '-1',
- ],
- 'productId' => [
- 'title' => '商品Id',
- 'description' => '商品Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '660460842235822080',
- ],
- 'canSell' => [
- 'title' => 'sku是否可售',
- 'description' => 'sku是否可售',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'price' => [
- 'title' => '售价,单位分',
- 'description' => '分销商采购价,单位分',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '19800',
- ],
+ 'divisionCode' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '330106109'],
+ 'markPrice' => ['title' => '划线价, 单位分', 'description' => '划线价, 单位分', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '999900'],
+ 'quantity' => ['title' => '可售库存', 'description' => '可售库存', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-1'],
+ 'productId' => ['title' => '商品Id', 'description' => '商品Id', 'type' => 'string', 'required' => false, 'example' => '660460842235822080'],
+ 'canSell' => ['title' => 'sku是否可售', 'description' => 'sku是否可售', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'price' => ['title' => '售价,单位分', 'description' => '分销商采购价,单位分', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '19800'],
'fuzzyQuantity' => [
'title' => '模糊可售库存',
'description' => '模糊可售库存',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- '有货' => '有货',
- '库存紧张' => '库存紧张',
- '无货' => '无货',
- ],
+ 'enumValueTitles' => ['有货' => '有货', '库存紧张' => '库存紧张', '无货' => '无货'],
'example' => '有货',
],
- 'skuStatus' => [
- 'title' => 'sku管控状态',
- 'description' => 'sku管控状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Online',
- ],
- 'shopId' => [
- 'title' => '店铺Id',
- 'description' => '店铺Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '21000017',
- ],
- 'title' => [
- 'title' => 'sku标题',
- 'description' => 'sku标题',
- 'type' => 'string',
- 'required' => false,
- 'example' => '天蓝色',
- ],
- 'skuId' => [
- 'title' => 'skuId',
- 'description' => 'skuId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '660460842235822081',
- ],
- 'canNotSellReason' => [
- 'title' => '不可售原因',
- 'description' => '不可售原因',
- 'type' => 'string',
- 'example' => '不可售',
- ],
+ 'skuStatus' => ['title' => 'sku管控状态', 'description' => 'sku管控状态', 'type' => 'string', 'required' => false, 'example' => 'Online'],
+ 'shopId' => ['title' => '店铺Id', 'description' => '店铺Id', 'type' => 'string', 'required' => false, 'example' => '21000017'],
+ 'title' => ['title' => 'sku标题', 'description' => 'sku标题', 'type' => 'string', 'required' => false, 'example' => '天蓝色'],
+ 'skuId' => ['title' => 'skuId', 'description' => 'skuId', 'type' => 'string', 'required' => false, 'example' => '660460842235822081'],
+ 'canNotSellReason' => ['title' => '不可售原因', 'description' => '不可售原因', 'type' => 'string', 'example' => '不可售'],
],
],
'SkuSaleInfoListQuery' => [
@@ -3645,29 +1331,14 @@
'description' => 'SKU销售信息查询参数',
'type' => 'object',
'properties' => [
- 'divisionCode' => [
- 'title' => '区域码',
- 'description' => '区域码(建议为五级乡镇/街道级地址 code)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '330106109',
- ],
- 'purchaserId' => [
- 'title' => '采购方id',
- 'description' => '采购方id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '21000017',
- ],
+ 'divisionCode' => ['title' => '区域码', 'description' => '区域码(建议为五级乡镇/街道级地址 code)', 'type' => 'string', 'required' => false, 'example' => '330106109'],
+ 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => '21000017'],
'skuQueryParams' => [
'title' => '查询商品参数',
'description' => '查询商品参数'."\n"
.'> 单次最大查询SKU个数为20',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/SkuQueryParam',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/SkuQueryParam', 'description' => ''],
'required' => true,
],
],
@@ -3678,21 +1349,12 @@
'description' => '商品销售信息查询结果',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => '接口请求requestId',
- 'description' => '接口请求requestId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3239281273464326823',
- ],
+ 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273464326823'],
'skuSaleInfos' => [
'title' => 'sku库存集合',
'description' => 'sku库存集合',
'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/SkuSaleInfo',
- ],
+ 'items' => ['required' => false, '$ref' => '#/components/schemas/SkuSaleInfo', 'description' => ''],
'required' => false,
],
],
@@ -3702,274 +1364,605 @@
'description' => 'sku规格(销售属性)',
'type' => 'object',
'properties' => [
- 'keyId' => [
- 'title' => '规格id',
- 'description' => '规格id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1000',
- ],
- 'valueId' => [
- 'title' => '规格值id',
- 'description' => '规格值id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1000',
- ],
- 'value' => [
- 'title' => '规格值',
- 'description' => '规格值',
- 'type' => 'string',
- 'required' => false,
- 'example' => '天蓝色',
- ],
- 'key' => [
- 'title' => '规格键',
- 'description' => '规格键',
- 'type' => 'string',
- 'required' => false,
- 'example' => '颜色分类',
- ],
- 'valueAlias' => [
- 'title' => '规格值别名',
- 'description' => '规格值别名(建议:当此字段不为空(null)时,取此字段值作为前端展示规格;当此字段为空(null)时,取value字段作为前端展示规格。)',
- 'type' => 'string',
- 'example' => '秘色',
- ],
+ 'keyId' => ['title' => '规格id', 'description' => '规格id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'],
+ 'valueId' => ['title' => '规格值id', 'description' => '规格值id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'],
+ 'value' => ['title' => '规格值', 'description' => '规格值', 'type' => 'string', 'required' => false, 'example' => '天蓝色'],
+ 'key' => ['title' => '规格键', 'description' => '规格键', 'type' => 'string', 'required' => false, 'example' => '颜色分类'],
+ 'valueAlias' => ['title' => '规格值别名', 'description' => '规格值别名(建议:当此字段不为空(null)时,取此字段值作为前端展示规格;当此字段为空(null)时,取value字段作为前端展示规格。)', 'type' => 'string', 'example' => '秘色'],
],
],
- 'StopDistributionCommand' => [
- 'title' => 'A short description of struct',
- 'description' => '取消铺货请求',
- 'type' => 'object',
- 'properties' => [
- 'requestId' => [
- 'title' => '请求ID',
- 'type' => 'string',
- ],
- 'requestUser' => [
- 'title' => '提交人',
- 'type' => 'string',
- ],
- 'requestTime' => [
- 'title' => '提交时间',
- 'type' => 'string',
- 'example' => '2024-12-01 10:01:00',
- ],
- 'lmShopId' => [
- 'title' => 'LM店铺ID',
- 'type' => 'string',
- ],
- 'productId' => [
- 'title' => '商品ID',
- 'type' => 'string',
- ],
+ ],
+ ],
+ 'apis' => [
+ 'CancelRefundOrder' => [
+ 'summary' => '取消售后单。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/{disputeId}/commands/cancel',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
],
],
- 'StopDistributionResult' => [
- 'title' => 'A short description of struct',
- 'description' => '取消铺货结果',
- 'type' => 'object',
- 'properties' => [
- 'requestId' => [
- 'title' => '请求ID',
- 'type' => 'string',
- ],
- 'code' => [
- 'title' => '返回码',
- 'type' => 'string',
- ],
- 'message' => [
- 'title' => '返回消息',
- 'type' => 'string',
- ],
- 'products' => [
- 'title' => '商品信息',
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/DistributionProduct',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'update'],
+ 'parameters' => [
+ [
+ 'name' => 'disputeId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '售后单ID', 'type' => 'string', 'required' => false, 'example' => '601853367760207872'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功',
+ 'schema' => ['description' => '售后单资源', 'required' => false, '$ref' => '#/components/schemas/RefundOrderResult'],
+ 'examples' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"disputeId\\": \\"6693****4352\\",\\n \\"disputeStatus\\": 1,\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]',
+ 'title' => '取消售后单',
+ 'description' => '取消售后单',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "requestId": "0F5BFCA7-98B9-1D59-80C2-30622***CFB1",'."\n"
+ .' "orderLineId": "66931024438***7746",'."\n"
+ .' "disputeStatus": 1,'."\n"
+ .' "disputeId": "66931163166***4352"'."\n"
+ .'}'."\n"
+ .'```',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CancelRefundOrder'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'linkedmall:CancelRefundOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
- ],
- 'apis' => [
- 'ListPurchaserShops' => [
- 'summary' => '获取采购方店铺列表。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaserShops',
- 'methods' => [
- 'get',
+ 'ConfirmDisburse' => [
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/commands/confirmDisburse',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'create'],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '确认收货(订单)', 'description' => '确认收货入参', 'required' => true, '$ref' => '#/components/schemas/ConfirmDisburseCmd'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => '确认收货结果', 'required' => false, '$ref' => '#/components/schemas/ConfirmDisburseResult'],
+ 'examples' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'title' => '确认收货',
+ 'summary' => '确认收货。',
+ 'description' => '确认收货',
+ 'requestParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "orderId": "6696667996****5953"'."\n"
+ .'}',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "requestId": "FF83DFBE-CBF2-1D73-83A3-5010****C402",'."\n"
+ .' "result": "success"'."\n"
+ .'}',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '150', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ConfirmDisburse'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ConfirmDisburse',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": \\"success\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]',
+ ],
+ 'CreateGoodsShippingNotice' => [
+ 'summary' => '回填运单信息。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/command/createGoodsShippingNotice',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'create'],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '提交逆向物流信息', 'description' => '提交运单信息', 'required' => true, '$ref' => '#/components/schemas/GoodsShippingNoticeCreateCmd'],
+ 'examples' => [],
+ ],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
+ 'responses' => [
+ 200 => [
+ 'description' => '成功',
+ 'schema' => ['description' => '操作返回结果', 'required' => false, '$ref' => '#/components/schemas/GoodsShippingNoticeCreateResult'],
+ 'examples' => [],
+ ],
],
- 'parameters' => [
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": \\"success\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]',
+ 'title' => '回填运单信息',
+ 'description' => '回填运单信息',
+ 'requestParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "cpCode": "YUNDA",'."\n"
+ .' "disputeId": "6696233432****5024",'."\n"
+ .' "logisticsNo": "4334027****6583"'."\n"
+ .'}',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "requestId": "FA53BE49-2740-1AE1-BCBE-3640****5BE5",'."\n"
+ .' "result": "success"'."\n"
+ .'}',
+ 'changeSet' => [],
+ 'ramActions' => [
[
- 'name' => 'pageNumber',
- 'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '请求页码',
- 'description' => '请求页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '1',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'linkedmall:CreateGoodsShippingNotice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
+ ],
+ ],
+ ],
+ 'CreatePurchaseOrder' => [
+ 'summary' => '创建采购单,返回采购单号,具体订单创建结果由消息侧通知。订单创建完成之后,客户可以通过订单接口查询采购单下附属的订单信息。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'create'],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '创建采购单', 'description' => '创建采购单', 'required' => true, '$ref' => '#/components/schemas/PurchaseOrderCreateCmd'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功',
+ 'schema' => ['description' => '采购单创建结果(返回采购单号)。'."\n"
+ .'><warning>请注意,因采购单创建为异步任务,如分销商调用本接口返回异常时(如503错误码),建议勿立即执行业务侧的toC退款;请分销商等待并消费PurchaseOrderCreate消息(采购单创建结果消息)后正常判断订单状态(如消费订单状态同步消息判断订单状态)后再处理业务逻辑,以免造成资损。></warning>', 'required' => false, '$ref' => '#/components/schemas/PurchaseOrderCreateResult'],
'examples' => [],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"purchaseOrderId\\": \\"6692****5696\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]',
+ 'title' => '创建采购单',
+ 'description' => '创建采购单,返回采购单号,具体订单创建结果由消息侧通知。订单创建完成之后,客户可以通过订单接口查询采购单下附属的订单信息。'."\n"
+ .'><warning>请注意,因采购单创建为异步任务,如分销商调用本接口返回异常时(如503错误码),建议勿立即执行业务侧的toC退款;请分销商等待并消费PurchaseOrderCreate消息(采购单创建结果消息)后正常判断订单状态(如消费订单状态同步消息判断订单状态)后再处理业务逻辑,以免造成资损。></warning>'."\n"
+ .'><notice>调用采购单创建接口后如未接收到PurchaseOrderCreate消息(采购单创建结果消息),请在技术对接群中提交工单查询原因。></notice>',
+ 'requestParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "outerPurchaseOrderId": "outer00****0",'."\n"
+ .' "deliveryAddress": {'."\n"
+ .' "divisionCode": "610102",'."\n"
+ .' "addressDetail": "陕西省西安市***大厦",'."\n"
+ .' "receiverPhone": "187****1553",'."\n"
+ .' "receiver": "闫先生",'."\n"
+ .' "townDivisionCode": "61010212"'."\n"
+ .' },'."\n"
+ .' "buyerId": "yt12345085",'."\n"
+ .' "productList": ['."\n"
+ .' {'."\n"
+ .' "quantity": 1,'."\n"
+ .' "productId": "6600622091****6736",'."\n"
+ .' "purchaserId": "PID2****09",'."\n"
+ .' "skuId": "6600622091****6737"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "requestId": "48A34399-A72C-1E23-8388-7E63****E927",'."\n"
+ .' "purchaseOrderId": "6696070481****5680"'."\n"
+ .'}',
+ 'changeSet' => [],
+ 'ramActions' => [
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '每页数量范围',
- 'description' => '每页数量范围',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '10',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'linkedmall:CreatePurchaseOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
+ ],
+ ],
+ ],
+ 'CreateRefundOrder' => [
+ 'summary' => '创建售后单。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'create'],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '创建逆向单', 'description' => '创建逆向单', 'required' => true, '$ref' => '#/components/schemas/RefundOrderCmd'],
'examples' => [],
],
],
'responses' => [
200 => [
- 'schema' => [
- 'description' => '店铺列表信息',
- '$ref' => '#/components/schemas/ShopPageResult',
+ 'description' => '成功',
+ 'schema' => ['description' => '售后单资源', 'required' => false, '$ref' => '#/components/schemas/RefundOrderResult'],
+ 'examples' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"disputeId\\": \\"6693****4352\\",\\n \\"disputeStatus\\": 1,\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]',
+ 'title' => '创建售后单',
+ 'description' => '创建售后单',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "requestId": "4DFA4CBA-AB08-13E2-9E25-0A26****72F2",'."\n"
+ .' "orderLineId": "6696070566****8594",'."\n"
+ .' "disputeStatus": 1,'."\n"
+ .' "disputeId": "6696233432****5024"'."\n"
+ .'}',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'linkedmall:CreateRefundOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ ],
+ 'GetOrder' => [
+ 'summary' => '查询主单详情。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/{orderId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"total\\": 24,\\n \\"shopList\\": [\\n {\\n \\"endDate\\": \\"2023-09-01 00:00:00\\",\\n \\"shopName\\": \\"儿童座椅分销店铺\\",\\n \\"shopId\\": \\"22****09\\",\\n \\"shopType\\": \\"DistributorQYG\\",\\n \\"cooperationShops\\": [\\n {\\n \\"shopId\\": \\"\\",\\n \\"cooperationCompanyId\\": \\"\\",\\n \\"cooperationShopId\\": \\"\\"\\n }\\n ],\\n \\"startDate\\": \\"2023-09-01 00:00:00\\",\\n \\"status\\": \\"Working\\",\\n \\"purchaserId\\": \\"PID56****2304\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '获取采购方店铺列表',
- 'description' => '获取采购方店铺列表。',
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'orderId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '订单id', 'description' => '订单id', 'type' => 'string', 'required' => true, 'example' => '669607056****8593'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功',
+ 'schema' => ['description' => '订单资源返回', 'required' => false, '$ref' => '#/components/schemas/OrderResult'],
+ 'examples' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderAmount\\": 100,\\n \\"orderLineList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"number\\": \\"1\\",\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"productId\\": \\"6600****6736\\",\\n \\"orderId\\": \\"6692****5457\\",\\n \\"productPic\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"payFee\\": 100,\\n \\"skuId\\": \\"6600****6737\\",\\n \\"orderLineStatus\\": \\"1\\",\\n \\"eticketInfos\\": [\\n {\\n \\"code\\": \\"taobao******tpg\\",\\n \\"qrcodeUrl\\": \\"http://qrcode.alicdn.com/img.jpg\\",\\n \\"codeStatus\\": -1,\\n \\"startTime\\": \\"\\\\n2026-02-04T00:00:00.000+08:00\\",\\n \\"endTime\\": \\"2026-08-02T23:59:59.000+08:00\\",\\n \\"usedNum\\": 1,\\n \\"useTime\\": \\"\\\\n2026-02-04T15:07:59.000+08:00\\",\\n \\"lockNum\\": 0,\\n \\"availableNum\\": 0\\n }\\n ]\\n }\\n ],\\n \\"orderId\\": \\"6692****5457\\",\\n \\"distributorId\\": \\"12****01\\",\\n \\"orderStatus\\": \\"1\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"createDate\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"orderClosedReason\\": \\"系统关单\\"\\n}","type":"json"}]',
+ 'title' => '获取订单详情',
'responseParamsDescription' => '```'."\n"
.'{'."\n"
- .' "requestId": "AEE64C1D-7FBD-1F10-B8C7-12A854A1D6B4",'."\n"
- .' "total": 6,'."\n"
- .' "shopList": ['."\n"
+ .' "createDate": "2023-09-09 10:57:23",'."\n"
+ .' "distributorId": "6599775553****9296",'."\n"
+ .' "logisticsStatus": "1",'."\n"
+ .' "orderId": "6696070566****8593",'."\n"
+ .' "orderAmount": "1",'."\n"
+ .' "orderStatus": "2",'."\n"
+ .' "orderLineList": ['."\n"
.' {'."\n"
- .' "shopId": "22000019",'."\n"
- .' "purchaserId": "PID22000019",'."\n"
- .' "shopName": "店铺名称001",'."\n"
- .' "cooperationShops": ['."\n"
+ .' "productPic": "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0DYLWA_!!2216003305543.jpg",'."\n"
+ .' "productPrice": ['."\n"
.' {'."\n"
- .' "shopId": "22000019",'."\n"
- .' "cooperationCompanyId": "11200003",'."\n"
- .' "cooperationShopId": "21000026"'."\n"
+ .' "fundAmountMoney": "1" //订单应付金额'."\n"
.' }'."\n"
.' ],'."\n"
- .' "shopType": "DistributorQYG",'."\n"
- .' "startDate": null,'."\n"
- .' "endDate": null,'."\n"
- .' "status": "WORKING"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "shopId": "22000018",'."\n"
- .' "purchaserId": "PID22000018",'."\n"
- .' "shopName": "店铺名称002",'."\n"
- .' "cooperationShops": [],'."\n"
- .' "shopType": "DistributorQYG",'."\n"
- .' "startDate": null,'."\n"
- .' "endDate": null,'."\n"
- .' "status": "APPROVED"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "shopId": "22000017",'."\n"
- .' "purchaserId": "PID22000017",'."\n"
- .' "shopName": "分销店铺0817",'."\n"
- .' "cooperationShops": [],'."\n"
- .' "shopType": "DistributorQYG",'."\n"
- .' "startDate": null,'."\n"
- .' "endDate": null,'."\n"
- .' "status": "TO_BE_APPROVED"'."\n"
+ .' "productTitle": "儿童学习桌",'."\n"
+ .' "productId": "6600622091****6736",'."\n"
+ .' "number": "1",'."\n"
+ .' "orderLineStatus": "2",'."\n"
+ .' "logisticsStatus": "1",'."\n"
+ .' "skuId": "6600622091****6737",'."\n"
+ .' "skuTitle": "浅灰色",'."\n"
+ .' "orderLineId": "6696070566****8594",'."\n"
+ .' "orderId": "6696070566****8593"'."\n"
.' }'."\n"
.' ]'."\n"
.'}',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '550', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetOrder'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'linkedmall:GetOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetPurchaseOrderStatus' => [
+ 'summary' => '获取采购单状态。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders/{purchaseOrderId}/status',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'purchaseOrderId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '采购单ID', 'description' => '采购单ID', 'type' => 'string', 'required' => true, 'example' => '6696070481****5680'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功',
+ 'schema' => [
+ 'description' => '交易单状态',
+ 'required' => false,
+ 'enumValueTitles' => [],
+ '$ref' => '#/components/schemas/PurchaseOrderStatusResult',
+ ],
+ 'examples' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"status\\": \\"10\\"\\n}","type":"json"}]',
+ 'title' => '获取采购单状态',
+ 'description' => '获取交易单状态。',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "requestId": "AC85D1AE-3015-1024-B17C-D056****3583",'."\n"
+ .' "status": "20"'."\n"
+ .'}',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'linkedmall:GetPurchaseOrderStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
],
'GetPurchaserShop' => [
'summary' => '获取采购方店铺。',
'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaserShops/{purchaserId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'purchaserId',
'in' => 'path',
- 'schema' => [
- 'title' => '采购方id',
- 'description' => '采购方id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PID22000016',
- ],
+ 'schema' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PID22000016'],
],
],
'responses' => [
200 => [
- 'schema' => [
- 'title' => '店铺详情',
- 'description' => '店铺详情',
- '$ref' => '#/components/schemas/Shop',
- ],
+ 'schema' => ['title' => '店铺详情', 'description' => '店铺详情', '$ref' => '#/components/schemas/Shop'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"endDate\\": \\"2024-09-09 00:00:00\\",\\n \\"distributorId\\": \\"12****09\\",\\n \\"shopName\\": \\"儿童分销店铺\\",\\n \\"shopId\\": \\"22****09\\",\\n \\"shopType\\": \\"DistributorQYG\\",\\n \\"cooperationShops\\": [\\n {\\n \\"shopId\\": \\"\\",\\n \\"cooperationCompanyId\\": \\"\\",\\n \\"cooperationShopId\\": \\"\\"\\n }\\n ],\\n \\"startDate\\": \\"2023-09-09 00:00:00\\",\\n \\"status\\": \\"Working\\",\\n \\"requestId\\": \\"48A34399-A72C-1E23-8388-7E63****E927\\",\\n \\"purchaserId\\": \\"PID56****2304\\"\\n}","type":"json"}]',
'title' => '获取采购方店铺',
'description' => '获取采购方店铺。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'linkedmall:GetPurchaserShop',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetRefundOrder' => [
+ 'summary' => '获取售后单详情。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/{disputeId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'disputeId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '售后单id', 'type' => 'string', 'required' => false, 'example' => '6696233432****5024'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功',
+ 'schema' => ['description' => '售后单结果', 'required' => false, '$ref' => '#/components/schemas/RefundResult'],
+ 'examples' => [],
+ ],
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"refundFee\\": 1,\\n \\"refundFeeData\\": {\\n \\"minRefundFee\\": 1,\\n \\"maxRefundFee\\": 100\\n },\\n \\"applyDisputeDesc\\": \\"多拍不想要\\",\\n \\"refunderTel\\": \\"182****1334\\",\\n \\"bizClaimType\\": 1,\\n \\"disputeDesc\\": \\"多拍不想要\\",\\n \\"sellerRefuseReason\\": \\"商品没问题,买家举证无效\\",\\n \\"orderId\\": \\"6692****5457\\",\\n \\"refunderName\\": \\"赵先生\\",\\n \\"applyReason\\": {\\n \\"reasonTextId\\": 403769,\\n \\"reasonTips\\": \\"不想要了\\"\\n },\\n \\"refunderAddress\\": \\"阿里云云谷\\",\\n \\"refunderZipCode\\": \\"331001\\",\\n \\"disputeEndTime\\": \\"2023-09-15T19:23:59.000+08:00\\",\\n \\"sellerRefuseAgreementMessage\\": \\"不同意退款\\",\\n \\"disputeId\\": \\"6693****4352\\",\\n \\"disputeStatus\\": 1,\\n \\"returnGoodLogisticsStatus\\": 0,\\n \\"orderLogisticsStatus\\": 1,\\n \\"disputeCreateTime\\": \\"2023-09-15T19:23:59.000+08:00\\",\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"sellerAgreeMsg\\": \\"同意退款\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]',
+ 'title' => '获取售后单详情',
+ 'description' => '获取售后单详情',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "applyDisputeDesc": null,'."\n"
+ .' "applyReason": {'."\n"
+ .' "reasonTextId": 403883,'."\n"
+ .' "reasonTips": "商品成分描述不符"'."\n"
+ .' },'."\n"
+ .' "bizClaimType": 3,'."\n"
+ .' "disputeCreateTime": "2023-09-09 12:00:35",'."\n"
+ .' "disputeDesc": null,'."\n"
+ .' "disputeEndTime": null,'."\n"
+ .' "disputeId": "6696233432****5024",'."\n"
+ .' "disputeStatus": 3,'."\n"
+ .' "disputeType": 1,'."\n"
+ .' "orderId": "6696070566****8593",'."\n"
+ .' "refundFeeData": {'."\n"
+ .' "maxRefundFee": null,'."\n"
+ .' "minRefundFee": null'."\n"
+ .' },'."\n"
+ .' "orderLogisticsStatus": 2,'."\n"
+ .' "refundFee": 1,'."\n"
+ .' "refunderAddress": null,'."\n"
+ .' "refunderName": null,'."\n"
+ .' "refunderTel": null,'."\n"
+ .' "refunderZipCode": null,'."\n"
+ .' "returnGoodCount": null,'."\n"
+ .' "returnGoodLogisticsStatus": null,'."\n"
+ .' "sellerAgreeMsg": null,'."\n"
+ .' "sellerRefuseAgreementMessage": null,'."\n"
+ .' "sellerRefuseReason": null,'."\n"
+ .' "orderLineId": "6696070566****8594"'."\n"
+ .'}',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'linkedmall:GetRefundOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
],
'GetSelectionProduct' => [
'summary' => '查询选品池商品详情。',
'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products/{productId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'tags' => [],
'security' => [
[
@@ -3977,60 +1970,38 @@
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'productId',
'in' => 'path',
'allowEmptyValue' => true,
- 'schema' => [
- 'description' => '商品id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '660460842235822080',
- ],
+ 'schema' => ['description' => '商品id', 'type' => 'string', 'required' => true, 'example' => '660460842235822080'],
'examples' => [],
],
[
'name' => 'purchaserId',
'in' => 'query',
'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '采购方id',
- 'description' => '采购方id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PID22000009',
- ],
+ 'schema' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PID22000009'],
'examples' => [],
],
[
'name' => 'divisionCode',
'in' => 'query',
'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '区域码(建议四级乡镇/街道级地址code)',
- 'description' => '区域码(建议为五级乡镇/街道级地址code)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '330106109',
- ],
+ 'schema' => ['title' => '区域码(建议四级乡镇/街道级地址code)', 'description' => '区域码(建议为五级乡镇/街道级地址code)', 'type' => 'string', 'required' => false, 'example' => '330106109'],
'examples' => [],
],
],
'responses' => [
200 => [
'description' => '成功',
- 'schema' => [
- 'description' => '商品详情',
- '$ref' => '#/components/schemas/Product',
- ],
+ 'schema' => ['description' => '商品详情', '$ref' => '#/components/schemas/Product'],
'examples' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"categoryChain\\": [\\n {\\n \\"name\\": \\"方便面/拉面/挂面/轻食面速食\\",\\n \\"isLeaf\\": false,\\n \\"level\\": 2,\\n \\"categoryId\\": 201792301,\\n \\"parentId\\": 50016422\\n }\\n ],\\n \\"skus\\": [\\n {\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"skuSpecsCode\\": \\"颜色分类:天蓝色\\",\\n \\"platformPrice\\": 999900,\\n \\"title\\": \\"天蓝色\\",\\n \\"divisionCode\\": \\"110000\\",\\n \\"picUrl\\": \\"https:////img.alicdn.com/imgextra///img.alicdn.com/imgextra/i2/2216003305543/O1CN010DEQCX1qokFYGRfPE_!!2216003305543.png\\",\\n \\"markPrice\\": 999900,\\n \\"skuSpecs\\": [\\n {\\n \\"keyId\\": 1000,\\n \\"valueId\\": 1000,\\n \\"value\\": \\"天蓝色\\",\\n \\"key\\": \\"颜色分类\\",\\n \\"valueAlias\\": \\"秘色\\"\\n }\\n ],\\n \\"price\\": 19800,\\n \\"shopId\\": \\"21000017\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"barcode\\": \\"6922454329176\\",\\n \\"rankValue\\": 3,\\n \\"suggestedRetailPrice\\": 0,\\n \\"discountRetailPrice\\": 0,\\n \\"skuAlias\\": \\"\\"\\n }\\n ],\\n \\"lmItemId\\": \\"21000017-4580902812\\",\\n \\"canSell\\": true,\\n \\"fuzzyQuantity\\": \\"100+\\",\\n \\"title\\": \\"发财树\\",\\n \\"extendProperties\\": [\\n {\\n \\"key\\": \\"ss_picture_scene\\",\\n \\"value\\": \\"场景图\\"\\n }\\n ],\\n \\"servicePromises\\": [\\n \\"\\"\\n ],\\n \\"soldQuantity\\": \\"100+\\",\\n \\"picUrl\\": \\"https://img.alicdn.com/imgextra/i3/2214281521988/O1CN01w4vomR1QYYEx6nyr5_!!2214281521988.jpg\\",\\n \\"categoryLeafId\\": 201856501,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"inGroup\\": true,\\n \\"productType\\": \\"Normal\\",\\n \\"images\\": [\\n \\"\\"\\n ],\\n \\"brandName\\": \\"Apple/苹果\\",\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"productSpecs\\": [\\n {\\n \\"keyId\\": 1000,\\n \\"key\\": \\"颜色分类\\",\\n \\"values\\": [\\n {\\n \\"value\\": \\"白色\\",\\n \\"valueId\\": 1000,\\n \\"valueAlias\\": \\"秘色\\"\\n }\\n ]\\n }\\n ],\\n \\"productStatus\\": \\"Online\\",\\n \\"taxCode\\": \\"3040203000000000000\\",\\n \\"divisionCode\\": \\"110000\\",\\n \\"taxRate\\": 600,\\n \\"limitRules\\": [\\n {\\n \\"ruleType\\": \\"\\",\\n \\"limitNum\\": 0,\\n \\"beginTime\\": 0,\\n \\"endTime\\": 0,\\n \\"condcase\\": \\"\\"\\n }\\n ],\\n \\"descPath\\": \\"https://img.alicdn.com/descpath/O1CN01wciRDp22AEU14435dsf34\\",\\n \\"properties\\": [\\n {\\n \\"text\\": \\"颜色\\",\\n \\"values\\": [\\n \\"白色\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]',
'title' => '查询选品池商品详情',
'description' => '通过商品id查询选品池商品详情,支持输入区域码查询商品区域库存。',
'requestParamsDescription' => '```'."\n"
@@ -4188,77 +2159,584 @@
.' "soldQuantity": "2",'."\n"
.' "divisionCode": "330106109"'."\n"
.'}',
+ 'changeSet' => [
+ ['createdAt' => '2024-03-29T03:14:22.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '500', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetSelectionProduct'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'linkedmall:GetSelectionProduct',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
],
- 'ListSelectionProducts' => [
- 'summary' => '查询选品池商品列表。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products',
- 'methods' => [
- 'get',
+ 'GetSelectionProductSaleInfo' => [
+ 'summary' => '查询选品池商品销售信息。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products/{productId}/saleInfo',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'productId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '商品id', 'type' => 'string', 'required' => true, 'example' => '660460842235822080'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'purchaserId',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PID22000009'],
+ 'examples' => [],
+ ],
+ [
+ 'name' => 'divisionCode',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '区域码', 'description' => '区域码(建议为五级乡镇/街道级地址code)', 'type' => 'string', 'required' => false, 'example' => '330106109'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功',
+ 'schema' => ['description' => '商品销售信息', '$ref' => '#/components/schemas/ProductSaleInfo'],
+ 'examples' => [],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"divisionCode\\": \\"330106109\\",\\n \\"quantity\\": 10,\\n \\"skus\\": [\\n {\\n \\"divisionCode\\": \\"330106109\\",\\n \\"markPrice\\": 999900,\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"price\\": 19800,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"天蓝色\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"canNotSellReason\\": \\"不可售\\"\\n }\\n ],\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"productStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"发财树\\",\\n \\"lmItemId\\": \\"21000017-4580902812\\",\\n \\"limitRules\\": [\\n {\\n \\"ruleType\\": \\"UpperNumberPerUser\\",\\n \\"limitNum\\": 1,\\n \\"beginTime\\": 1724947200000,\\n \\"endTime\\": 1724947200000,\\n \\"condcase\\": \\"day\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '查询选品池商品销售信息',
+ 'description' => '查询选品池商品销售信息:分销商可调用此接口查询商品销售信息,如商品状态等;通过divisionCode(建议传入五级地址(乡镇/街道) Code) 入参查询商品在该区域是否可售。',
+ 'requestParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "productId": "660460842235822080",'."\n"
+ .' "purchaserId": "PID22000009",'."\n"
+ .' "divisionCode": "330106109"'."\n"
+ .'}',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "requestId": "33D4B4FC-E37F-1CB1-A4DD-F953B7F296DB",'."\n"
+ .' "shopId": "21000019",'."\n"
+ .' "divisionCode": "330106109",'."\n"
+ .' "productId": "660460842235822080",'."\n"
+ .' "title": "发财树5--我用下小蚁这个商品-qhh 不用你其他商品",'."\n"
+ .' "skus": ['."\n"
+ .' {'."\n"
+ .' "shopId": "21000019",'."\n"
+ .' "divisionCode": "330106109",'."\n"
+ .' "productId": "660460842235822080",'."\n"
+ .' "skuId": "660460842235822081",'."\n"
+ .' "title": "天蓝色",'."\n"
+ .' "skuStatus": "Online",'."\n"
+ .' "canSell": false,'."\n"
+ .' "quantity": -1,'."\n"
+ .' "fuzzyQuantity": "无货",'."\n"
+ .' "price": 1,'."\n"
+ .' "markPrice": 999900'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "shopId": "21000019",'."\n"
+ .' "divisionCode": "330106109",'."\n"
+ .' "productId": "660460842235822080",'."\n"
+ .' "skuId": "660460842235822082",'."\n"
+ .' "title": "红色",'."\n"
+ .' "skuStatus": "Online",'."\n"
+ .' "canSell": true,'."\n"
+ .' "quantity": -1,'."\n"
+ .' "fuzzyQuantity": "有货",'."\n"
+ .' "price": 2,'."\n"
+ .' "markPrice": 999900'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "shopId": "21000019",'."\n"
+ .' "divisionCode": "330106109",'."\n"
+ .' "productId": "660460842235822080",'."\n"
+ .' "skuId": "660460842235822083",'."\n"
+ .' "title": "黑色",'."\n"
+ .' "skuStatus": "Online",'."\n"
+ .' "canSell": false,'."\n"
+ .' "quantity": -1,'."\n"
+ .' "fuzzyQuantity": "无货",'."\n"
+ .' "price": 1,'."\n"
+ .' "markPrice": 999900'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "canSell": true,'."\n"
+ .' "productStatus": "Online",'."\n"
+ .' "quantity": -1,'."\n"
+ .' "fuzzyQuantity": "有货"'."\n"
+ .'}',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'linkedmall:GetSelectionProductSaleInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListCategories' => [
+ 'summary' => '查询类目列表。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/categories/commands/list',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'tags' => [],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'list'],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['description' => '类目查询参数', 'required' => false, '$ref' => '#/components/schemas/CategoryListQuery'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功',
+ 'schema' => ['description' => '类目', '$ref' => '#/components/schemas/CategoryListResult'],
+ 'examples' => [],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"categories\\": [\\n {\\n \\"name\\": \\"名称测试\\",\\n \\"isLeaf\\": false,\\n \\"level\\": 0,\\n \\"categoryId\\": 201792301,\\n \\"parentId\\": 0\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '查询类目列表',
+ 'description' => '根据父类目id查询所有子类目信息,或者根据类目id查询类目信息。'."\n"
+ ."\n"
+ .'当父类目id(parentCategoryId)为0时,则返回根类目下的一级类目。',
+ 'requestParamsDescription' => '```'."\n"
+ .'// 查询类目(parentCategoryId)下的所有子类目'."\n"
+ .'{'."\n"
+ .' "body": {'."\n"
+ .' "parentCategoryId": "50016422"'."\n"
+ .' }'."\n"
+ .'}'."\n"
+ ."\n"
+ .'// 根据入参类目id(categoryIds)批量查询类目'."\n"
+ .'{'."\n"
+ .' "body": {'."\n"
+ .' "categoryIds": ['."\n"
+ .' "202007601",'."\n"
+ .' "201792301"'."\n"
+ .' ]'."\n"
+ .' }',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "requestId": "4D1FC14F-CE54-1A1F-A322-D6DC87D49AFE",'."\n"
+ .' "categories": ['."\n"
+ .' {'."\n"
+ .' "categoryId": 201792301,'."\n"
+ .' "name": "方便面/拉面/挂面/轻食面速食",'."\n"
+ .' "parentId": 50016422,'."\n"
+ .' "level": 2,'."\n"
+ .' "isLeaf": false'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "categoryId": 202007601,'."\n"
+ .' "name": "方便速食/速冻食品类卡券",'."\n"
+ .' "parentId": 50016422,'."\n"
+ .' "level": 2,'."\n"
+ .' "isLeaf": false'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ListCategories',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListLogisticsOrders' => [
+ 'summary' => '查询订单物流信息。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/{orderId}/logisticsOrders',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'produces' => ['application/json'],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'list',
+ 'systemTags' => ['operationType' => 'list'],
+ 'parameters' => [
+ [
+ 'name' => 'orderId',
+ 'in' => 'path',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '订单id', 'description' => '订单id', 'type' => 'string', 'required' => true, 'example' => '6696070566****8593'],
+ 'examples' => [],
+ ],
],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功',
+ 'schema' => ['description' => '物流信息', 'required' => false, '$ref' => '#/components/schemas/LogisticsOrderListResult'],
+ 'examples' => [],
+ ],
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"logisticsOrderList\\": [\\n {\\n \\"mailNo\\": \\"SF234***2345\\",\\n \\"dataProviderTitle\\": \\"菜鸟裹裹\\",\\n \\"logisticsCompanyName\\": \\"顺丰\\",\\n \\"logisticsDetailList\\": [\\n {\\n \\"ocurrTimeStr\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"standerdDesc\\": \\"已签收\\"\\n }\\n ],\\n \\"goods\\": [\\n {\\n \\"goodName\\": \\"儿童学习桌\\",\\n \\"productId\\": \\"6600****6736\\",\\n \\"quantity\\": 1,\\n \\"skuId\\": \\"7232****2321\\",\\n \\"skuTitle\\": \\"白色\\"\\n }\\n ],\\n \\"dataProvider\\": \\"菜鸟\\",\\n \\"logisticsCompanyCode\\": \\"SF\\"\\n }\\n ],\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]',
+ 'title' => '查询订单物流信息',
+ 'description' => '查询订单物流信息',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "requestId": "ED080FA8-F005-10B1-A9AB-CCFD****9149",'."\n"
+ .' "logisticsOrderList": ['."\n"
+ .' {'."\n"
+ .' "dataProvider": "菜鸟裹裹",'."\n"
+ .' "dataProviderTitle": "本数据由菜鸟裹裹提供",'."\n"
+ .' "goods": ['."\n"
+ .' {'."\n"
+ .' "goodName": "儿童学习桌",'."\n"
+ .' "productId": 2384738123****7238,'."\n"
+ .' "quantity": 1'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "logisticsCompanyCode": "SF",'."\n"
+ .' "logisticsCompanyName": "顺丰速运",'."\n"
+ .' "logisticsDetailList": ['."\n"
+ .' {'."\n"
+ .' "ocurrTimeStr": "2023-06-06 14:44:45",'."\n"
+ .' "standerdDesc": "顺丰速运 已收取快件"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "ocurrTimeStr": "2023-06-06 14:44:46",'."\n"
+ .' "standerdDesc": "快件在【加工厂店】完成分拣,准备发往 【沈阳****中转场】"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "ocurrTimeStr": "2023-06-06 18:24:09",'."\n"
+ .' "standerdDesc": "快件到达 【沈阳****中转场】"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "ocurrTimeStr": "2023-06-06 18:28:26",'."\n"
+ .' "standerdDesc": "快件在【沈阳****中转场】完成分拣,准备发往 【西安****中转场】"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "ocurrTimeStr": "2023-06-07 05:40:35",'."\n"
+ .' "standerdDesc": "快件已发车"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "mailNo": "SF162546****599"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ListLogisticsOrders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListPurchaserShops' => [
+ 'summary' => '获取采购方店铺列表。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaserShops',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '请求页码', 'description' => '请求页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'],
+ 'examples' => [],
+ ],
+ [
'name' => 'pageSize',
'in' => 'query',
'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '分页大小',
- 'description' => '分页大小,区间[1,20]',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
+ 'schema' => ['title' => '每页数量范围', 'description' => '每页数量范围', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => ['description' => '店铺列表信息', '$ref' => '#/components/schemas/ShopPageResult'],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"total\\": 24,\\n \\"shopList\\": [\\n {\\n \\"endDate\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"shopName\\": \\"儿童座椅分销店铺\\",\\n \\"shopId\\": \\"22****09\\",\\n \\"shopType\\": \\"DistributorQYG\\",\\n \\"cooperationShops\\": [\\n {\\n \\"shopId\\": \\"\\",\\n \\"cooperationCompanyId\\": \\"\\",\\n \\"cooperationShopId\\": \\"\\"\\n }\\n ],\\n \\"startDate\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"status\\": \\"Working\\",\\n \\"purchaserId\\": \\"PID56****2304\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '获取采购方店铺列表',
+ 'description' => '获取采购方店铺列表。',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "requestId": "AEE64C1D-7FBD-1F10-B8C7-12A854A1D6B4",'."\n"
+ .' "total": 6,'."\n"
+ .' "shopList": ['."\n"
+ .' {'."\n"
+ .' "shopId": "22000019",'."\n"
+ .' "purchaserId": "PID22000019",'."\n"
+ .' "shopName": "店铺名称001",'."\n"
+ .' "cooperationShops": ['."\n"
+ .' {'."\n"
+ .' "shopId": "22000019",'."\n"
+ .' "cooperationCompanyId": "11200003",'."\n"
+ .' "cooperationShopId": "21000026"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "shopType": "DistributorQYG",'."\n"
+ .' "startDate": null,'."\n"
+ .' "endDate": null,'."\n"
+ .' "status": "WORKING"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "shopId": "22000018",'."\n"
+ .' "purchaserId": "PID22000018",'."\n"
+ .' "shopName": "店铺名称002",'."\n"
+ .' "cooperationShops": [],'."\n"
+ .' "shopType": "DistributorQYG",'."\n"
+ .' "startDate": null,'."\n"
+ .' "endDate": null,'."\n"
+ .' "status": "APPROVED"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "shopId": "22000017",'."\n"
+ .' "purchaserId": "PID22000017",'."\n"
+ .' "shopName": "分销店铺0817",'."\n"
+ .' "cooperationShops": [],'."\n"
+ .' "shopType": "DistributorQYG",'."\n"
+ .' "startDate": null,'."\n"
+ .' "endDate": null,'."\n"
+ .' "status": "TO_BE_APPROVED"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ListPurchaserShops',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'ListSelectionProductSaleInfos' => [
+ 'summary' => '批量查询选品池商品销售信息。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products/saleInfo/commands/list',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'list'],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '批量查询商品库存参数', 'description' => '批量查询商品销售信息参数', 'required' => true, '$ref' => '#/components/schemas/ProductSaleInfoListQuery'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功',
+ 'schema' => ['description' => '商品销售信息', '$ref' => '#/components/schemas/ProductSaleInfoListResult'],
+ 'examples' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"productSaleInfos\\": [\\n {\\n \\"divisionCode\\": \\"330106109\\",\\n \\"quantity\\": 10,\\n \\"skus\\": [\\n {\\n \\"divisionCode\\": \\"330106109\\",\\n \\"markPrice\\": 999900,\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"price\\": 19800,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"天蓝色\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"canNotSellReason\\": \\"不可售\\"\\n }\\n ],\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"productStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"发财树\\",\\n \\"lmItemId\\": \\"21000017-4580902812\\",\\n \\"limitRules\\": [\\n {\\n \\"ruleType\\": \\"UpperNumberPerUser\\",\\n \\"limitNum\\": 1,\\n \\"beginTime\\": 1724947200000,\\n \\"endTime\\": 1724947200000,\\n \\"condcase\\": \\"day\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '批量查询选品池商品销售信息',
+ 'description' => '批量查询选品池商品销售信息:分销商可调用此接口批量查询商品销售信息,如商品状态等;通过divisionCode(建议传入五级地址(乡镇/街道) Code) 入参批量查询商品在该区域是否可售。',
+ 'requestParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "purchaserId":"PID22000009", '."\n"
+ .' "divisionCode":"330106109", '."\n"
+ .' "productIds":['."\n"
+ .' "660460842235822080"'."\n"
+ .' ]'."\n"
+ .'}',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "requestId": "1556385F-6098-114E-84F8-14B383EF5AA8",'."\n"
+ .' "productSaleInfos": ['."\n"
+ .' {'."\n"
+ .' "requestId": null,'."\n"
+ .' "shopId": "21000019",'."\n"
+ .' "divisionCode": "330106109",'."\n"
+ .' "productId": "660460842235822080",'."\n"
+ .' "title": "发财树5--我用下小蚁这个商品-qhh 不用你其他商品",'."\n"
+ .' "skus": ['."\n"
+ .' {'."\n"
+ .' "shopId": "21000019",'."\n"
+ .' "divisionCode": "330106109",'."\n"
+ .' "productId": "660460842235822080",'."\n"
+ .' "skuId": "660460842235822081",'."\n"
+ .' "title": "天蓝色",'."\n"
+ .' "skuStatus": "Online",'."\n"
+ .' "canSell": false,'."\n"
+ .' "quantity": -1,'."\n"
+ .' "fuzzyQuantity": "无货",'."\n"
+ .' "price": 1,'."\n"
+ .' "markPrice": 999900'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "shopId": "21000019",'."\n"
+ .' "divisionCode": "330106109",'."\n"
+ .' "productId": "660460842235822080",'."\n"
+ .' "skuId": "660460842235822082",'."\n"
+ .' "title": "红色",'."\n"
+ .' "skuStatus": "Online",'."\n"
+ .' "canSell": true,'."\n"
+ .' "quantity": -1,'."\n"
+ .' "fuzzyQuantity": "有货",'."\n"
+ .' "price": 2,'."\n"
+ .' "markPrice": 999900'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "shopId": "21000019",'."\n"
+ .' "divisionCode": "330106109",'."\n"
+ .' "productId": "660460842235822080",'."\n"
+ .' "skuId": "660460842235822083",'."\n"
+ .' "title": "黑色",'."\n"
+ .' "skuStatus": "Online",'."\n"
+ .' "canSell": false,'."\n"
+ .' "quantity": -1,'."\n"
+ .' "fuzzyQuantity": "无货",'."\n"
+ .' "price": 1,'."\n"
+ .' "markPrice": 999900'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "canSell": true,'."\n"
+ .' "productStatus": "Online",'."\n"
+ .' "quantity": -1,'."\n"
+ .' "fuzzyQuantity": "有货"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '200', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListSelectionProductSaleInfos'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ListSelectionProductSaleInfos',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListSelectionProducts' => [
+ 'summary' => '查询选品池商品列表。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'list'],
+ 'parameters' => [
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '分页大小', 'description' => '分页大小,区间[1,20]', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ ],
[
'name' => 'pageNumber',
'in' => 'query',
'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '当前页面序号,从1开始',
- 'description' => '当前页面序号,从1开始',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '当前页面序号,从1开始', 'description' => '当前页面序号,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'purchaserId',
'in' => 'query',
'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '采购方id',
- 'description' => '采购方id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PID22000009',
- ],
+ 'schema' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PID22000009'],
],
],
'responses' => [
200 => [
'description' => '成功',
- 'schema' => [
- 'description' => '商品详情',
- '$ref' => '#/components/schemas/ProductPageResult',
- ],
+ 'schema' => ['description' => '商品详情', '$ref' => '#/components/schemas/ProductPageResult'],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageSize\\": 10,\\n \\"total\\": 24,\\n \\"pageNumber\\": 1,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"products\\": [\\n {\\n \\"categoryChain\\": [\\n {\\n \\"name\\": \\"方便面/拉面/挂面/轻食面速食\\",\\n \\"isLeaf\\": false,\\n \\"level\\": 2,\\n \\"categoryId\\": 201792301,\\n \\"parentId\\": 50016422\\n }\\n ],\\n \\"skus\\": [\\n {\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"skuSpecsCode\\": \\"颜色分类:天蓝色\\",\\n \\"platformPrice\\": 999900,\\n \\"title\\": \\"天蓝色\\",\\n \\"divisionCode\\": \\"110000\\",\\n \\"picUrl\\": \\"https:////img.alicdn.com/imgextra///img.alicdn.com/imgextra/i2/2216003305543/O1CN010DEQCX1qokFYGRfPE_!!2216003305543.png\\",\\n \\"markPrice\\": 999900,\\n \\"skuSpecs\\": [\\n {\\n \\"keyId\\": 1000,\\n \\"valueId\\": 1000,\\n \\"value\\": \\"天蓝色\\",\\n \\"key\\": \\"颜色分类\\",\\n \\"valueAlias\\": \\"秘色\\"\\n }\\n ],\\n \\"price\\": 19800,\\n \\"shopId\\": \\"21000017\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"barcode\\": \\"6922454329176\\",\\n \\"rankValue\\": 3,\\n \\"suggestedRetailPrice\\": 0,\\n \\"discountRetailPrice\\": 0,\\n \\"skuAlias\\": \\"\\"\\n }\\n ],\\n \\"lmItemId\\": \\"21000017-4580902812\\",\\n \\"canSell\\": true,\\n \\"fuzzyQuantity\\": \\"100+\\",\\n \\"title\\": \\"发财树\\",\\n \\"extendProperties\\": [\\n {\\n \\"key\\": \\"ss_picture_scene\\",\\n \\"value\\": \\"场景图\\"\\n }\\n ],\\n \\"servicePromises\\": [\\n \\"\\"\\n ],\\n \\"soldQuantity\\": \\"100+\\",\\n \\"picUrl\\": \\"https://img.alicdn.com/imgextra/i3/2214281521988/O1CN01w4vomR1QYYEx6nyr5_!!2214281521988.jpg\\",\\n \\"categoryLeafId\\": 201856501,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"inGroup\\": true,\\n \\"productType\\": \\"Normal\\",\\n \\"images\\": [\\n \\"\\"\\n ],\\n \\"brandName\\": \\"Apple/苹果\\",\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"productSpecs\\": [\\n {\\n \\"keyId\\": 1000,\\n \\"key\\": \\"颜色分类\\",\\n \\"values\\": [\\n {\\n \\"value\\": \\"白色\\",\\n \\"valueId\\": 1000,\\n \\"valueAlias\\": \\"秘色\\"\\n }\\n ]\\n }\\n ],\\n \\"productStatus\\": \\"Online\\",\\n \\"taxCode\\": \\"3040203000000000000\\",\\n \\"divisionCode\\": \\"110000\\",\\n \\"taxRate\\": 600,\\n \\"limitRules\\": [\\n {\\n \\"ruleType\\": \\"\\",\\n \\"limitNum\\": 0,\\n \\"beginTime\\": 0,\\n \\"endTime\\": 0,\\n \\"condcase\\": \\"\\"\\n }\\n ],\\n \\"descPath\\": \\"https://img.alicdn.com/descpath/O1CN01wciRDp22AEU14435dsf34\\",\\n \\"properties\\": [\\n {\\n \\"text\\": \\"颜色\\",\\n \\"values\\": [\\n \\"白色\\"\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageSize\\": 10,\\n \\"total\\": 24,\\n \\"pageNumber\\": 1,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"products\\": []\\n}","type":"json"}]',
'title' => '查询选品池商品列表',
'requestParamsDescription' => '```'."\n"
.'{'."\n"
@@ -4419,107 +2897,69 @@
.' }'."\n"
.' ]'."\n"
.'}',
- ],
- 'GetSelectionProductSaleInfo' => [
- 'summary' => '查询选品池商品销售信息。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products/{productId}/saleInfo',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ListSelectionProducts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListSelectionSkuSaleInfos' => [
+ 'summary' => '批量查询选品池SKU销售信息。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/skus/saleInfo/commands/list',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'tags' => [],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
- 'name' => 'productId',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
'allowEmptyValue' => true,
- 'schema' => [
- 'description' => '商品id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '660460842235822080',
- ],
- 'examples' => [],
- ],
- [
- 'name' => 'purchaserId',
- 'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '采购方id',
- 'description' => '采购方id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PID22000009',
- ],
- 'examples' => [],
- ],
- [
- 'name' => 'divisionCode',
- 'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '区域码',
- 'description' => '区域码(建议为五级乡镇/街道级地址code)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '330106109',
- ],
+ 'schema' => ['title' => '批量查询SKU库存参数', 'description' => '批量查询SKU销售信息参数', 'required' => true, '$ref' => '#/components/schemas/SkuSaleInfoListQuery'],
'examples' => [],
],
],
'responses' => [
200 => [
'description' => '成功',
- 'schema' => [
- 'description' => '商品销售信息',
- '$ref' => '#/components/schemas/ProductSaleInfo',
- ],
+ 'schema' => ['description' => 'SKU销售信息', '$ref' => '#/components/schemas/SkuSaleInfoListResult'],
'examples' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"divisionCode\\": \\"110000\\",\\n \\"quantity\\": 10,\\n \\"skus\\": [\\n {\\n \\"divisionCode\\": \\"110000\\",\\n \\"markPrice\\": 999900,\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"price\\": 19800,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"天蓝色\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"canNotSellReason\\": \\"不可售\\"\\n }\\n ],\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"productStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"发财树\\",\\n \\"lmItemId\\": \\"21000017-4580902812\\",\\n \\"limitRules\\": [\\n {\\n \\"ruleType\\": \\"\\",\\n \\"limitNum\\": 0,\\n \\"beginTime\\": 0,\\n \\"endTime\\": 0,\\n \\"condcase\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询选品池商品销售信息',
- 'description' => '查询选品池商品销售信息:分销商可调用此接口查询商品销售信息,如商品状态等;通过divisionCode(建议传入五级地址(乡镇/街道) Code) 入参查询商品在该区域是否可售。',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"skuSaleInfos\\": [\\n {\\n \\"divisionCode\\": \\"330106109\\",\\n \\"markPrice\\": 999900,\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"price\\": 19800,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"天蓝色\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"canNotSellReason\\": \\"不可售\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '批量查询选品池SKU销售信息',
+ 'description' => '批量查询选品池SKU销售信息:分销商可调用此接口批量查询SKU销售信息,如SKU状态等;通过divisionCode(建议传入五级地址(乡镇/街道) Code) 入参批量查询SKU在该区域是否可售',
'requestParamsDescription' => '```'."\n"
.'{'."\n"
- .' "productId": "660460842235822080",'."\n"
- .' "purchaserId": "PID22000009",'."\n"
- .' "divisionCode": "330106109"'."\n"
+ .' "divisionCode": "330106109",'."\n"
+ .' "purchaserId": "PID22000009",'."\n"
+ .' "skuQueryParams": ['."\n"
+ .' {'."\n"
+ .' "productId": "660460842235822080",'."\n"
+ .' "skuId": "660460842235822082"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
.'}',
'responseParamsDescription' => '```'."\n"
.'{'."\n"
- .' "requestId": "33D4B4FC-E37F-1CB1-A4DD-F953B7F296DB",'."\n"
- .' "shopId": "21000019",'."\n"
- .' "divisionCode": "330106109",'."\n"
- .' "productId": "660460842235822080",'."\n"
- .' "title": "发财树5--我用下小蚁这个商品-qhh 不用你其他商品",'."\n"
- .' "skus": ['."\n"
- .' {'."\n"
- .' "shopId": "21000019",'."\n"
- .' "divisionCode": "330106109",'."\n"
- .' "productId": "660460842235822080",'."\n"
- .' "skuId": "660460842235822081",'."\n"
- .' "title": "天蓝色",'."\n"
- .' "skuStatus": "Online",'."\n"
- .' "canSell": false,'."\n"
- .' "quantity": -1,'."\n"
- .' "fuzzyQuantity": "无货",'."\n"
- .' "price": 1,'."\n"
- .' "markPrice": 999900'."\n"
- .' },'."\n"
+ .' "requestId": "6F3A5B0A-AC2B-1083-A2ED-ACE62BF1C100",'."\n"
+ .' "skuSaleInfos": ['."\n"
.' {'."\n"
.' "shopId": "21000019",'."\n"
.' "divisionCode": "330106109",'."\n"
@@ -4532,337 +2972,647 @@
.' "fuzzyQuantity": "有货",'."\n"
.' "price": 2,'."\n"
.' "markPrice": 999900'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ListSelectionSkuSaleInfos',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'QueryChildDivisionCode' => [
+ 'summary' => '查询子区域编码。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/division/commands/queryChildDivisionCode',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '查询地址divisionCode', 'description' => '查询子区域编码', 'required' => true, '$ref' => '#/components/schemas/DivisionQuery'],
+ 'examples' => [],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '成功',
+ 'schema' => ['description' => '子区域编码', 'required' => false, '$ref' => '#/components/schemas/DivisionPageResult'],
+ 'examples' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"divisionList\\": [\\n {\\n \\"divisionName\\": \\"上海\\",\\n \\"divisionCode\\": 310000,\\n \\"divisionLevel\\": 2,\\n \\"pinyin\\": \\"shang hai\\",\\n \\"parentId\\": 1\\n }\\n ],\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]',
+ 'title' => '查询子区域编码',
+ 'description' => '查询子区域编码',
+ 'requestParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "divisionCode": "1"'."\n"
+ .'}',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "requestId": "85144A43-F418-1094-9A40-B8CE****8F30",'."\n"
+ .' "divisionList": ['."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 310000,'."\n"
+ .' "divisionName": "上海",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "shang hai"'."\n"
.' },'."\n"
.' {'."\n"
- .' "shopId": "21000019",'."\n"
- .' "divisionCode": "330106109",'."\n"
- .' "productId": "660460842235822080",'."\n"
- .' "skuId": "660460842235822083",'."\n"
- .' "title": "黑色",'."\n"
- .' "skuStatus": "Online",'."\n"
- .' "canSell": false,'."\n"
- .' "quantity": -1,'."\n"
- .' "fuzzyQuantity": "无货",'."\n"
- .' "price": 1,'."\n"
- .' "markPrice": 999900'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 530000,'."\n"
+ .' "divisionName": "云南省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "yun nan sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 150000,'."\n"
+ .' "divisionName": "内蒙古自治区",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "nei meng gu zi zhi qu"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 110000,'."\n"
+ .' "divisionName": "北京",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "bei jing"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 220000,'."\n"
+ .' "divisionName": "吉林省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "ji lin sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 510000,'."\n"
+ .' "divisionName": "四川省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "si chuan sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 120000,'."\n"
+ .' "divisionName": "天津",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "tian jin"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 640000,'."\n"
+ .' "divisionName": "宁夏回族自治区",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "ning xia hui zu zi zhi qu"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 340000,'."\n"
+ .' "divisionName": "安徽省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "an hui sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 370000,'."\n"
+ .' "divisionName": "山东省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "shan dong sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 140000,'."\n"
+ .' "divisionName": "山西省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "shan xi sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 440000,'."\n"
+ .' "divisionName": "广东省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "guang dong sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 450000,'."\n"
+ .' "divisionName": "广西壮族自治区",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "guang xi zhuang zu zi zhi qu"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 650000,'."\n"
+ .' "divisionName": "新疆维吾尔自治区",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "xin jiang wei wu er zi zhi qu"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 320000,'."\n"
+ .' "divisionName": "江苏省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "jiang su sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 360000,'."\n"
+ .' "divisionName": "江西省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "jiang xi sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 130000,'."\n"
+ .' "divisionName": "河北省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "he bei sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 410000,'."\n"
+ .' "divisionName": "河南省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "he nan sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 330000,'."\n"
+ .' "divisionName": "浙江省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "zhe jiang sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 460000,'."\n"
+ .' "divisionName": "海南省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "hai nan sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 420000,'."\n"
+ .' "divisionName": "湖北省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "hu bei sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 430000,'."\n"
+ .' "divisionName": "湖南省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "hu nan sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 620000,'."\n"
+ .' "divisionName": "甘肃省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "gan su sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 350000,'."\n"
+ .' "divisionName": "福建省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "fu jian sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 540000,'."\n"
+ .' "divisionName": "西藏自治区",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "xi zang zi zhi qu"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 520000,'."\n"
+ .' "divisionName": "贵州省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "gui zhou sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 210000,'."\n"
+ .' "divisionName": "辽宁省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "liao ning sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 500000,'."\n"
+ .' "divisionName": "重庆",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "chong qing"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 610000,'."\n"
+ .' "divisionName": "陕西省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "shan xi sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 630000,'."\n"
+ .' "divisionName": "青海省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "qing hai sheng"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "parentId": 1,'."\n"
+ .' "divisionCode": 230000,'."\n"
+ .' "divisionName": "黑龙江省",'."\n"
+ .' "divisionLevel": 2,'."\n"
+ .' "pinyin": "hei long jiang sheng"'."\n"
.' }'."\n"
- .' ],'."\n"
- .' "canSell": true,'."\n"
- .' "productStatus": "Online",'."\n"
- .' "quantity": -1,'."\n"
- .' "fuzzyQuantity": "有货"'."\n"
+ .' ]'."\n"
.'}',
- ],
- 'ListSelectionProductSaleInfos' => [
- 'summary' => '批量查询选品池商品销售信息。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products/saleInfo/commands/list',
- 'methods' => [
- 'post',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'QueryChildDivisionCode'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'linkedmall:QueryChildDivisionCode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'QueryOrders' => [
+ 'summary' => '查询订单列表',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/commands/query',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'tags' => [],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '批量查询商品库存参数',
- 'description' => '批量查询商品销售信息参数',
- 'required' => true,
- '$ref' => '#/components/schemas/ProductSaleInfoListQuery',
- ],
+ 'schema' => ['title' => '查询主单列表', 'description' => '查询主单列表', 'required' => true, '$ref' => '#/components/schemas/OrderPageQuery'],
'examples' => [],
],
],
'responses' => [
200 => [
'description' => '成功',
- 'schema' => [
- 'description' => '商品销售信息',
- '$ref' => '#/components/schemas/ProductSaleInfoListResult',
- ],
+ 'schema' => ['description' => '订单列表', 'required' => false, '$ref' => '#/components/schemas/OrderListResult'],
'examples' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"productSaleInfos\\": [\\n {\\n \\"divisionCode\\": \\"110000\\",\\n \\"quantity\\": 10,\\n \\"skus\\": [\\n {\\n \\"divisionCode\\": \\"110000\\",\\n \\"markPrice\\": 999900,\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"price\\": 19800,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"天蓝色\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"canNotSellReason\\": \\"不可售\\"\\n }\\n ],\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"productStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"发财树\\",\\n \\"lmItemId\\": \\"21000017-4580902812\\",\\n \\"limitRules\\": [\\n {\\n \\"ruleType\\": \\"\\",\\n \\"limitNum\\": 0,\\n \\"beginTime\\": 0,\\n \\"endTime\\": 0,\\n \\"condcase\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询选品池商品销售信息',
- 'description' => '批量查询选品池商品销售信息:分销商可调用此接口批量查询商品销售信息,如商品状态等;通过divisionCode(建议传入五级地址(乡镇/街道) Code) 入参批量查询商品在该区域是否可售。',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderList\\": [\\n {\\n \\"orderAmount\\": 100,\\n \\"orderLineList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"number\\": \\"1\\",\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"productId\\": \\"6600****6736\\",\\n \\"orderId\\": \\"6692****5457\\",\\n \\"productPic\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"payFee\\": 100,\\n \\"skuId\\": \\"6600****6737\\",\\n \\"orderLineStatus\\": \\"1\\",\\n \\"eticketInfos\\": [\\n {\\n \\"code\\": \\"taobao******tpg\\",\\n \\"qrcodeUrl\\": \\"http://qrcode.alicdn.com/img.jpg\\",\\n \\"codeStatus\\": -1,\\n \\"startTime\\": \\"\\\\n2026-02-04T00:00:00.000+08:00\\",\\n \\"endTime\\": \\"2026-08-02T23:59:59.000+08:00\\",\\n \\"usedNum\\": 1,\\n \\"useTime\\": \\"\\\\n2026-02-04T15:07:59.000+08:00\\",\\n \\"lockNum\\": 0,\\n \\"availableNum\\": 0\\n }\\n ]\\n }\\n ],\\n \\"orderId\\": \\"6692****5457\\",\\n \\"distributorId\\": \\"12****01\\",\\n \\"orderStatus\\": \\"1\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"createDate\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"orderClosedReason\\": \\"系统关单\\"\\n }\\n ],\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"total\\": 24\\n}","type":"json"}]',
+ 'title' => '查询订单列表',
+ 'description' => '查询订单列表',
'requestParamsDescription' => '```'."\n"
.'{'."\n"
- .' "purchaserId":"PID22000009", '."\n"
- .' "divisionCode":"330106109", '."\n"
- .' "productIds":['."\n"
- .' "660460842235822080"'."\n"
- .' ]'."\n"
+ .' "pageNumber": 1,'."\n"
+ .' "pageSize": 10,'."\n"
+ .' "orderIdList": ['."\n"
+ .' "6696070566****8593"'."\n"
+ .' ],'."\n"
+ .' "purchaseOrderId": "6696070566****8593",'."\n"
+ .' "outPurchaseOrderId": "6696070566****8512"'."\n"
.'}',
'responseParamsDescription' => '```'."\n"
.'{'."\n"
- .' "requestId": "1556385F-6098-114E-84F8-14B383EF5AA8",'."\n"
- .' "productSaleInfos": ['."\n"
+ .' "requestId": "15BC537F-26F7-1AD0-AC3C-B79****D540",'."\n"
+ .' "total": 10,'."\n"
+ .' "orderList": ['."\n"
.' {'."\n"
.' "requestId": null,'."\n"
- .' "shopId": "21000019",'."\n"
- .' "divisionCode": "330106109",'."\n"
- .' "productId": "660460842235822080",'."\n"
- .' "title": "发财树5--我用下小蚁这个商品-qhh 不用你其他商品",'."\n"
- .' "skus": ['."\n"
- .' {'."\n"
- .' "shopId": "21000019",'."\n"
- .' "divisionCode": "330106109",'."\n"
- .' "productId": "660460842235822080",'."\n"
- .' "skuId": "660460842235822081",'."\n"
- .' "title": "天蓝色",'."\n"
- .' "skuStatus": "Online",'."\n"
- .' "canSell": false,'."\n"
- .' "quantity": -1,'."\n"
- .' "fuzzyQuantity": "无货",'."\n"
- .' "price": 1,'."\n"
- .' "markPrice": 999900'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "shopId": "21000019",'."\n"
- .' "divisionCode": "330106109",'."\n"
- .' "productId": "660460842235822080",'."\n"
- .' "skuId": "660460842235822082",'."\n"
- .' "title": "红色",'."\n"
- .' "skuStatus": "Online",'."\n"
- .' "canSell": true,'."\n"
- .' "quantity": -1,'."\n"
- .' "fuzzyQuantity": "有货",'."\n"
- .' "price": 2,'."\n"
- .' "markPrice": 999900'."\n"
- .' },'."\n"
+ .' "createDate": "2023-09-09 10:57:23",'."\n"
+ .' "distributorId": "12****01",'."\n"
+ .' "logisticsStatus": "2",'."\n"
+ .' "orderId": "6696070566****8593",'."\n"
+ .' "orderAmount": "1",'."\n"
+ .' "orderStatus": "2",'."\n"
+ .' "orderLineList": ['."\n"
.' {'."\n"
- .' "shopId": "21000019",'."\n"
- .' "divisionCode": "330106109",'."\n"
- .' "productId": "660460842235822080",'."\n"
- .' "skuId": "660460842235822083",'."\n"
- .' "title": "黑色",'."\n"
- .' "skuStatus": "Online",'."\n"
- .' "canSell": false,'."\n"
- .' "quantity": -1,'."\n"
- .' "fuzzyQuantity": "无货",'."\n"
- .' "price": 1,'."\n"
- .' "markPrice": 999900'."\n"
+ .' "productPic": "//img.alicdn.com/imgextra/i4/2216****05543/O1CN01bip3Un1qo****YLWA_!!2216003****43.jpg",'."\n"
+ .' "productPrice": ['."\n"
+ .' {'."\n"
+ .' "fundAmountMoney": "1"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "productTitle": "儿童学习桌",'."\n"
+ .' "productId": "6600622091****6736",'."\n"
+ .' "number": "1",'."\n"
+ .' "orderLineStatus": "2",'."\n"
+ .' "logisticsStatus": "2",'."\n"
+ .' "skuId": "6600622091****6737",'."\n"
+ .' "skuTitle": "浅灰色",'."\n"
+ .' "orderLineId": "6696070566****8594",'."\n"
+ .' "orderId": "6696070566****8593"'."\n"
.' }'."\n"
- .' ],'."\n"
- .' "canSell": true,'."\n"
- .' "productStatus": "Online",'."\n"
- .' "quantity": -1,'."\n"
- .' "fuzzyQuantity": "有货"'."\n"
+ .' ]'."\n"
.' }'."\n"
.' ]'."\n"
.'}',
- ],
- 'ListSelectionSkuSaleInfos' => [
- 'summary' => '批量查询选品池SKU销售信息。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/skus/saleInfo/commands/list',
- 'methods' => [
- 'post',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '200', 'countWindow' => 10, 'regionId' => '*', 'api' => 'QueryOrders'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'linkedmall:QueryOrders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'RenderPurchaseOrder' => [
+ 'summary' => '采购单渲染,会返回可售商品和不可售商品,客户可以选择可售商品进行采购单下单。',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders/commands/render',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'tags' => [],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '批量查询SKU库存参数',
- 'description' => '批量查询SKU销售信息参数',
- 'required' => true,
- '$ref' => '#/components/schemas/SkuSaleInfoListQuery',
- ],
+ 'schema' => ['title' => '渲染采购单', 'description' => '渲染采购单', 'required' => true, '$ref' => '#/components/schemas/PurchaseOrderRenderQuery'],
'examples' => [],
],
],
'responses' => [
200 => [
'description' => '成功',
- 'schema' => [
- 'description' => 'SKU销售信息',
- '$ref' => '#/components/schemas/SkuSaleInfoListResult',
- ],
+ 'schema' => ['description' => '采购单渲染结果', 'required' => false, '$ref' => '#/components/schemas/PurchaseOrderRenderResult'],
'examples' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"skuSaleInfos\\": [\\n {\\n \\"divisionCode\\": \\"110000\\",\\n \\"markPrice\\": 999900,\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"price\\": 19800,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"天蓝色\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"canNotSellReason\\": \\"不可售\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询选品池SKU销售信息',
- 'description' => '批量查询选品池SKU销售信息:分销商可调用此接口批量查询SKU销售信息,如SKU状态等;通过divisionCode(建议传入五级地址(乡镇/街道) Code) 入参批量查询SKU在该区域是否可售',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"addressList\\": [\\n {\\n \\"divisionCode\\": \\"330106\\",\\n \\"addressDetail\\": \\"陕西省西安市新城区xx街道xxx大厦xx室\\",\\n \\"receiverPhone\\": \\"182***5674\\",\\n \\"townDivisionCode\\": \\"330106109\\",\\n \\"receiver\\": \\"任先生\\",\\n \\"addressId\\": 0\\n }\\n ],\\n \\"canSell\\": true,\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"orderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"PID56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"unsellableOrderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"PID56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"message\\": \\"库存为0\\",\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]',
+ 'title' => '采购单渲染',
+ 'description' => '><warning>本接口即将下线,采购单渲染请使用SplitPurchaseOrder - 采购单渲染并拆单接口></warning>',
'requestParamsDescription' => '```'."\n"
.'{'."\n"
- .' "divisionCode": "330106109",'."\n"
- .' "purchaserId": "PID22000009",'."\n"
- .' "skuQueryParams": ['."\n"
- .' {'."\n"
- .' "productId": "660460842235822080",'."\n"
- .' "skuId": "660460842235822082"'."\n"
- .' }'."\n"
- .' ]'."\n"
+ .' "deliveryAddress": {'."\n"
+ .' "divisionCode": "610102",'."\n"
+ .' "addressDetail": "陕西省西安市***大厦",'."\n"
+ .' "receiverPhone": "187****1553",'."\n"
+ .' "receiver": "闫先生",'."\n"
+ .' "townDivisionCode": "61010212"'."\n"
+ .' },'."\n"
+ .' "buyerId": "test1234****679",'."\n"
+ .' "productList": ['."\n"
+ .' {'."\n"
+ .' "quantity": 1,'."\n"
+ .' "productId": "6600622091****6736",'."\n"
+ .' "purchaserId": "22000009",'."\n"
+ .' "skuId": "6600622091****6737"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
.'}',
'responseParamsDescription' => '```'."\n"
.'{'."\n"
- .' "requestId": "6F3A5B0A-AC2B-1083-A2ED-ACE62BF1C100",'."\n"
- .' "skuSaleInfos": ['."\n"
+ .' "requestId": "0928251D-713B-17A1-A2B0-1A57****90B4",'."\n"
+ .' "orderList": ['."\n"
.' {'."\n"
- .' "shopId": "21000019",'."\n"
- .' "divisionCode": "330106109",'."\n"
- .' "productId": "660460842235822080",'."\n"
- .' "skuId": "660460842235822082",'."\n"
- .' "title": "红色",'."\n"
- .' "skuStatus": "Online",'."\n"
+ .' "productList": ['."\n"
+ .' {'."\n"
+ .' "productId": "6600622091****6736",'."\n"
+ .' "productTitle": "儿童学习桌",'."\n"
+ .' "skuTitle": "浅灰色",'."\n"
+ .' "skuId": "6600622091****6737",'."\n"
+ .' "purchaserId": "22***09",'."\n"
+ .' "promotionFee": null,'."\n"
+ .' "quantity": 1,'."\n"
+ .' "productUrl": null,'."\n"
+ .' "productPicUrl": "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0DYLWA_!!2216003305543.jpg",'."\n"
+ .' "price": 1,'."\n"
+ .' "canSell": true,'."\n"
+ .' "message": null,'."\n"
+ .' "features": null'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "deliveryInfoList": ['."\n"
+ .' {'."\n"
+ .' "id": "20",'."\n"
+ .' "displayName": "快递 免邮",'."\n"
+ .' "postFee": 0,'."\n"
+ .' "serviceType": -4'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "invoiceInfo": null,'."\n"
+ .' "extInfo": null,'."\n"
.' "canSell": true,'."\n"
- .' "quantity": -1,'."\n"
- .' "fuzzyQuantity": "有货",'."\n"
- .' "price": 2,'."\n"
- .' "markPrice": 999900'."\n"
+ .' "message": null'."\n"
.' }'."\n"
- .' ]'."\n"
+ .' ],'."\n"
+ .' "unsellableOrderList": ['."\n"
+ .' {'."\n"
+ .' "productList": [],'."\n"
+ .' "deliveryInfoList": null,'."\n"
+ .' "invoiceInfo": null,'."\n"
+ .' "extInfo": null,'."\n"
+ .' "canSell": false,'."\n"
+ .' "message": null'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "addressList": ['."\n"
+ .' {'."\n"
+ .' "addressId": 0,'."\n"
+ .' "receiver": "闫先生",'."\n"
+ .' "receiverPhone": "187****1553",'."\n"
+ .' "addressDetail": "陕西省西安市***大厦",'."\n"
+ .' "divisionCode": "610102",'."\n"
+ .' "townDivisionCode": "610102002"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "extInfo": null,'."\n"
+ .' "canSell": true,'."\n"
+ .' "message": null'."\n"
.'}',
- ],
- 'ListCategories' => [
- 'summary' => '查询类目列表。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/categories/commands/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'linkedmall:RenderPurchaseOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'RenderRefundOrder' => [
+ 'summary' => '逆向单渲染',
+ 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/commands/render',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'tags' => [],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- 'description' => '类目查询参数',
- 'required' => false,
- '$ref' => '#/components/schemas/CategoryListQuery',
- ],
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '逆向单渲染', 'description' => '逆向单渲染', 'required' => true, '$ref' => '#/components/schemas/RefundRenderCmd'],
+ 'examples' => [],
],
],
'responses' => [
200 => [
'description' => '成功',
- 'schema' => [
- 'description' => '类目',
- '$ref' => '#/components/schemas/CategoryListResult',
- ],
+ 'schema' => ['description' => '售后单渲染结果', 'required' => false, '$ref' => '#/components/schemas/RefundRenderResult'],
'examples' => [],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"categories\\": [\\n {\\n \\"name\\": \\"方便面/拉面/挂面/轻食面速食\\",\\n \\"isLeaf\\": false,\\n \\"level\\": 2,\\n \\"categoryId\\": 201792301,\\n \\"parentId\\": 50016422\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询类目列表',
- 'description' => '根据父类目id查询所有子类目信息,或者根据类目id查询类目信息。'."\n"
- ."\n"
- .'当父类目id(parentCategoryId)为0时,则返回根类目下的一级类目。',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxRefundFeeData\\": {\\n \\"minRefundFee\\": 1,\\n \\"maxRefundFee\\": 100\\n },\\n \\"refundReasonList\\": [\\n {\\n \\"reasonTextId\\": \\"47683\\",\\n \\"proofRequired\\": true,\\n \\"reasonTips\\": \\"不想要了\\",\\n \\"refundDescRequired\\": true\\n }\\n ],\\n \\"bizClaimType\\": 1,\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]',
+ 'title' => '售后单渲染',
+ 'description' => '售后单渲染',
'requestParamsDescription' => '```'."\n"
- .'// 查询类目(parentCategoryId)下的所有子类目'."\n"
- .'{'."\n"
- .' "body": {'."\n"
- .' "parentCategoryId": "50016422"'."\n"
- .' }'."\n"
- .'}'."\n"
- ."\n"
- .'// 根据入参类目id(categoryIds)批量查询类目'."\n"
.'{'."\n"
- .' "body": {'."\n"
- .' "categoryIds": ['."\n"
- .' "202007601",'."\n"
- .' "201792301"'."\n"
- .' ]'."\n"
- .' }',
- 'responseParamsDescription' => '```'."\n"
+ .' "bizClaimType": 3,'."\n"
+ .' "goodsStatus": 2,'."\n"
+ .' "orderLineId": "6696070566****8594"'."\n"
+ .'}',
+ 'responseParamsDescription' => '````'."\n"
.'{'."\n"
- .' "requestId": "4D1FC14F-CE54-1A1F-A322-D6DC87D49AFE",'."\n"
- .' "categories": ['."\n"
+ .' "requestId": "6D7C43A1-2EFC-185E-816E-A8CB****36EB",'."\n"
+ .' "orderLineId": "6696070566****8594",'."\n"
+ .' "bizClaimType": 3,'."\n"
+ .' "maxRefundFeeData": {'."\n"
+ .' "maxRefundFee": 1,'."\n"
+ .' "minRefundFee": 0'."\n"
+ .' },'."\n"
+ .' "refundReasonList": ['."\n"
.' {'."\n"
- .' "categoryId": 201792301,'."\n"
- .' "name": "方便面/拉面/挂面/轻食面速食",'."\n"
- .' "parentId": 50016422,'."\n"
- .' "level": 2,'."\n"
- .' "isLeaf": false'."\n"
+ .' "reasonTextId": "402652",'."\n"
+ .' "proofRequired": false,'."\n"
+ .' "reasonTips": "拍错/多拍/不喜欢",'."\n"
+ .' "refundDescRequired": false'."\n"
.' },'."\n"
.' {'."\n"
- .' "categoryId": 202007601,'."\n"
- .' "name": "方便速食/速冻食品类卡券",'."\n"
- .' "parentId": 50016422,'."\n"
- .' "level": 2,'."\n"
- .' "isLeaf": false'."\n"
+ .' "reasonTextId": "403883",'."\n"
+ .' "proofRequired": false,'."\n"
+ .' "reasonTips": "商品成分描述不符",'."\n"
+ .' "refundDescRequired": false'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "reasonTextId": "402641",'."\n"
+ .' "proofRequired": false,'."\n"
+ .' "reasonTips": "尺寸/规格不符",'."\n"
+ .' "refundDescRequired": false'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "reasonTextId": "402649",'."\n"
+ .' "proofRequired": false,'."\n"
+ .' "reasonTips": "颜色/款式/包装与商品描述不符",'."\n"
+ .' "refundDescRequired": false'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "reasonTextId": "402645",'."\n"
+ .' "proofRequired": false,'."\n"
+ .' "reasonTips": "收到商品少件/破损/变形等",'."\n"
+ .' "refundDescRequired": false'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "reasonTextId": "402638",'."\n"
+ .' "proofRequired": false,'."\n"
+ .' "reasonTips": "枯萎/死亡",'."\n"
+ .' "refundDescRequired": false'."\n"
.' }'."\n"
.' ]'."\n"
.'}',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'linkedmall:RenderRefundOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
],
'SearchProducts' => [
'summary' => '商品搜索接口,提供按不同条件搜索合适商品的分页接口。',
'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/selection-group/product/command/searchProduct',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
@@ -4870,9 +3620,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '263793',
- 'abilityTreeNodes' => [
- 'FEATURElinkedmallMY1IED',
- ],
+ 'abilityTreeNodes' => ['FEATURElinkedmallMY1IED'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
@@ -4884,199 +3632,72 @@
'description' => '请求Body',
'type' => 'object',
'properties' => [
- 'purchaserId' => [
- 'description' => '采购方id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PIDxxxx',
- ],
+ 'purchaserId' => ['description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PIDxxxx'],
'categoryIds' => [
'description' => '类目id集合',
'type' => 'array',
- 'items' => [
- 'description' => '类目id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'items' => ['description' => '类目id', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
'required' => false,
],
'productStatus' => [
'description' => '商品状态',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Unsellable' => '不可售卖',
- 'Sellable' => '可售卖',
- ],
+ 'enumValueTitles' => ['Unsellable' => '不可售卖', 'Sellable' => '可售卖'],
'example' => 'Sellable',
],
- 'productName' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '绿植',
- ],
- 'productId' => [
- 'description' => '商品Id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxxxxx',
- ],
- 'lmItemId' => [
- 'description' => 'LM商品id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx-xxxxx',
- ],
+ 'productName' => ['description' => '商品名称', 'type' => 'string', 'required' => false, 'example' => '绿植'],
+ 'productId' => ['description' => '商品Id', 'type' => 'string', 'required' => false, 'example' => 'xxxxxxx'],
+ 'lmItemId' => ['description' => 'LM商品id', 'type' => 'string', 'required' => false, 'example' => 'xxx-xxxxx'],
'inGroup' => [
'description' => '是否入库',
'type' => 'boolean',
'required' => false,
- 'enumValueTitles' => [
- 'true' => '已入库',
- 'false' => '未入库',
- ],
+ 'enumValueTitles' => ['true' => '已入库', 'false' => '未入库'],
'example' => 'true',
],
'inventoryRiskLevel' => [
'description' => '库存风险等级',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'High' => '高',
- 'Low' => '低',
- ],
+ 'enumValueTitles' => ['High' => '高', 'Low' => '低'],
'example' => 'Low',
],
- 'distributionLowPrice' => [
- 'description' => '经销采购价下限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100(单位:分)',
- ],
- 'distributionHighPrice' => [
- 'description' => '经销采购价上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100(单位:分)',
- ],
- 'distributionLowPriceRatio' => [
- 'description' => '经销溢价率下限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '133(1.33%)',
- ],
- 'distributionHighPriceRatio' => [
- 'description' => '经销溢价率上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '244(2.44%)',
- ],
- 'lowMarkPrice' => [
- 'description' => '划线价下限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100(单位:分)',
- ],
- 'highMarkPrice' => [
- 'description' => '划线价上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100(单位:分)',
- ],
- 'lowPrice' => [
- 'description' => '建议零售价下限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100(单位:分)',
- ],
- 'highPrice' => [
- 'description' => '建议零售价上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100(单位:分)',
- ],
+ 'distributionLowPrice' => ['description' => '经销采购价下限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100(单位:分)'],
+ 'distributionHighPrice' => ['description' => '经销采购价上限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100(单位:分)'],
+ 'distributionLowPriceRatio' => ['description' => '经销溢价率下限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '133(1.33%)'],
+ 'distributionHighPriceRatio' => ['description' => '经销溢价率上限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '244(2.44%)'],
+ 'lowMarkPrice' => ['description' => '划线价下限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100(单位:分)'],
+ 'highMarkPrice' => ['description' => '划线价上限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100(单位:分)'],
+ 'lowPrice' => ['description' => '建议零售价下限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100(单位:分)'],
+ 'highPrice' => ['description' => '建议零售价上限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100(单位:分)'],
'platform' => [
'description' => '来源平台',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Cbu' => '1688分销货盘',
- 'Tmall' => '天猫',
- 'Taobao' => '淘宝',
- ],
+ 'enumValueTitles' => ['Cbu' => '1688分销货盘', 'Tmall' => '天猫', 'Taobao' => '淘宝'],
'example' => 'Taobao(来源淘宝)'."\n"
.'Tmall(来源天猫)'."\n"
.'Cbu(来源1688分销货盘)',
],
- 'brandName' => [
- 'description' => '品牌名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '绿植',
- ],
- 'inGroupStartTime' => [
- 'description' => '入库起始时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-01-02 12:23:34'."\n"
- .'(yyyy-MM-dd HH:mm:ss)',
- ],
- 'inGroupEndTime' => [
- 'description' => '入库结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-01-02 12:23:34'."\n"
- .'(yyyy-MM-dd HH:mm:ss)',
- ],
- 'modifyStartTime' => [
- 'description' => '修改起始时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-01-02 12:23:34'."\n"
- .'(yyyy-MM-dd HH:mm:ss)',
- ],
- 'modifyEndTime' => [
- 'description' => '修改结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-01-02 12:23:34'."\n"
- .'(yyyy-MM-dd HH:mm:ss)',
- ],
- 'createStartTime' => [
- 'description' => '创建起始时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-01-02 12:23:34'."\n"
- .'(yyyy-MM-dd HH:mm:ss)',
- ],
- 'createEndTime' => [
- 'description' => '创建结束时间',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-01-02 12:23:34'."\n"
- .'(yyyy-MM-dd HH:mm:ss)',
- ],
+ 'brandName' => ['description' => '品牌名称', 'type' => 'string', 'required' => false, 'example' => '绿植'],
+ 'inGroupStartTime' => ['description' => '入库起始时间', 'type' => 'string', 'required' => false, 'example' => '2025-01-02 12:23:34'."\n"
+ .'(yyyy-MM-dd HH:mm:ss)'],
+ 'inGroupEndTime' => ['description' => '入库结束时间', 'type' => 'string', 'required' => false, 'example' => '2025-01-02 12:23:34'."\n"
+ .'(yyyy-MM-dd HH:mm:ss)'],
+ 'modifyStartTime' => ['description' => '修改起始时间', 'type' => 'string', 'required' => false, 'example' => '2025-01-02 12:23:34'."\n"
+ .'(yyyy-MM-dd HH:mm:ss)'],
+ 'modifyEndTime' => ['description' => '修改结束时间', 'type' => 'string', 'required' => false, 'example' => '2025-01-02 12:23:34'."\n"
+ .'(yyyy-MM-dd HH:mm:ss)'],
+ 'createStartTime' => ['description' => '创建起始时间', 'type' => 'string', 'required' => false, 'example' => '2025-01-02 12:23:34'."\n"
+ .'(yyyy-MM-dd HH:mm:ss)'],
+ 'createEndTime' => ['description' => '创建结束时间', 'type' => 'string', 'required' => false, 'example' => '2025-01-02 12:23:34'."\n"
+ .'(yyyy-MM-dd HH:mm:ss)'],
'tradeModeAndCredit' => [
'description' => '销售模式',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Credit90' => '支持账期90天',
- 'NonCredit' => '不支持账期',
- 'ConsignmentJingXiao' => '经销和代销',
- 'JingXiao' => '经销',
- 'None' => '无配置',
- ],
+ 'enumValueTitles' => ['Credit90' => '支持账期90天', 'NonCredit' => '不支持账期', 'ConsignmentJingXiao' => '经销和代销', 'JingXiao' => '经销', 'None' => '无配置'],
'example' => 'JingXiao',
],
'taxRate' => [
@@ -5086,44 +3707,20 @@
.'> - HasRate不能和其他枚举值组合入参',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Rate1' => '1%',
- 'Rate0' => '0税率',
- 'Rate5' => '5%',
- 'Rate6' => '6%',
- 'HasRate' => '有税率',
- 'Rate9' => '9%',
- 'Rate13' => '13%',
- 'NonRate' => '无税率',
- 'TaxExemption' => '免税',
- ],
+ 'enumValueTitles' => ['Rate1' => '1%', 'Rate0' => '0税率', 'Rate5' => '5%', 'Rate6' => '6%', 'HasRate' => '有税率', 'Rate9' => '9%', 'Rate13' => '13%', 'NonRate' => '无税率', 'TaxExemption' => '免税'],
'example' => 'Rate0',
],
- 'pageSize' => [
- 'description' => '分页大小'."\n"
- .'> '."\n"
- .'> - 最大支持20个/页',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'pageNumber' => [
- 'description' => '页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'pageSize' => ['description' => '分页大小'."\n"
+ .'> '."\n"
+ .'> - 最大支持20个/页', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'pageNumber' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
'orderBy' => [
'description' => '排序字段'."\n"
.'> '."\n"
.'> - 与排序方向字段组合使用',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'soldQuantity' => '按销量排序',
- ],
+ 'enumValueTitles' => ['soldQuantity' => '按销量排序'],
'example' => 'soldQuantity(按销量排序,不填默认创建时间倒序)',
],
'orderDirection' => [
@@ -5132,10 +3729,7 @@
.'> - 与排序字段组合使用',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- ' ASC' => '顺序排序',
- 'DESC' => '倒序排序',
- ],
+ 'enumValueTitles' => [' ASC' => '顺序排序', 'DESC' => '倒序排序'],
'example' => 'ASC',
],
],
@@ -5150,12 +3744,7 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'total' => [
- 'description' => '总数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
+ 'total' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
'products' => [
'description' => '商品集合',
'type' => 'array',
@@ -5163,77 +3752,26 @@
'description' => '商品集合',
'type' => 'object',
'properties' => [
- 'picUrl' => [
- 'description' => '商品主图',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.com/xxx.jpg',
- ],
- 'productName' => [
- 'description' => '商品名称',
- 'type' => 'string',
- 'example' => '绿植',
- ],
- 'productId' => [
- 'description' => '商品id',
- 'type' => 'string',
- 'example' => 'xxxxx',
- ],
- 'lmItemId' => [
- 'description' => 'LM商品id',
- 'type' => 'string',
- 'example' => 'xxx-xxxxx',
- ],
- 'distributionPrice' => [
- 'description' => '经销采购价范围',
- 'type' => 'string',
- 'example' => '¥0.05 ~ ¥21.10',
- ],
- 'diffPrice' => [
- 'description' => '价差范围',
- 'type' => 'string',
- 'example' => '¥-9998.95 ~ ¥-9977.90',
- ],
- 'distributionPriceRatio' => [
- 'description' => '经销溢价率范围',
- 'type' => 'string',
- 'example' => '-100.00% ~ -99.79%',
- ],
- 'platformPrice' => [
- 'description' => '建议零售价范围',
- 'type' => 'string',
- 'example' => '¥9999.00 ~ ¥9999.00',
- ],
- 'platformReservePrice' => [
- 'description' => '划线价范围',
- 'type' => 'string',
- 'example' => '¥9999.00 ~ ¥9999.00',
- ],
- 'soldQuantity' => [
- 'description' => '累计销量',
- 'type' => 'string',
- 'example' => '100',
- ],
+ 'picUrl' => ['description' => '商品主图', 'type' => 'string', 'example' => 'https://img.alicdn.com/xxx.jpg'],
+ 'productName' => ['description' => '商品名称', 'type' => 'string', 'example' => '绿植'],
+ 'productId' => ['description' => '商品id', 'type' => 'string', 'example' => 'xxxxx'],
+ 'lmItemId' => ['description' => 'LM商品id', 'type' => 'string', 'example' => 'xxx-xxxxx'],
+ 'distributionPrice' => ['description' => '经销采购价范围', 'type' => 'string', 'example' => '¥0.05 ~ ¥21.10'],
+ 'diffPrice' => ['description' => '价差范围', 'type' => 'string', 'example' => '¥-9998.95 ~ ¥-9977.90'],
+ 'distributionPriceRatio' => ['description' => '经销溢价率范围', 'type' => 'string', 'example' => '-100.00% ~ -99.79%'],
+ 'platformPrice' => ['description' => '建议零售价范围', 'type' => 'string', 'example' => '¥9999.00 ~ ¥9999.00'],
+ 'platformReservePrice' => ['description' => '划线价范围', 'type' => 'string', 'example' => '¥9999.00 ~ ¥9999.00'],
+ 'soldQuantity' => ['description' => '累计销量', 'type' => 'string', 'example' => '100'],
'inventoryRiskLevel' => [
'description' => '库存风险等级',
'type' => 'string',
- 'enumValueTitles' => [
- 'High' => '高',
- 'Low' => '低',
- ],
+ 'enumValueTitles' => ['High' => '高', 'Low' => '低'],
'example' => 'Low',
],
- 'externalPlatformType' => [
- 'description' => '来源平台',
- 'type' => 'string',
- 'example' => 'Taobao(来源淘宝)'."\n"
- .'Tmall(来源天猫)'."\n"
- .'Cbu(来源1688分销货盘)',
- ],
- 'shopName' => [
- 'description' => '渠道商店铺名称',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'externalPlatformType' => ['description' => '来源平台', 'type' => 'string', 'example' => 'Taobao(来源淘宝)'."\n"
+ .'Tmall(来源天猫)'."\n"
+ .'Cbu(来源1688分销货盘)'],
+ 'shopName' => ['description' => '渠道商店铺名称', 'type' => 'string', 'example' => 'xxx'],
'categoryChain' => [
'description' => '类目',
'type' => 'array',
@@ -5241,116 +3779,47 @@
'description' => '类目',
'type' => 'object',
'properties' => [
- 'categoryId' => [
- 'description' => '类目id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '201792301',
- ],
- 'name' => [
- 'description' => '类目名称',
- 'type' => 'string',
- 'example' => '名称测试',
- ],
- 'parentId' => [
- 'description' => '父类id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'isLeaf' => [
- 'description' => '是否叶子节点',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'level' => [
- 'description' => '层级',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'categoryId' => ['description' => '类目id', 'type' => 'integer', 'format' => 'int64', 'example' => '201792301'],
+ 'name' => ['description' => '类目名称', 'type' => 'string', 'example' => '名称测试'],
+ 'parentId' => ['description' => '父类id', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'isLeaf' => ['description' => '是否叶子节点', 'type' => 'boolean', 'example' => 'false'],
+ 'level' => ['description' => '层级', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
- 'bandName' => [
- 'description' => '品牌名称',
- 'type' => 'string',
- 'example' => '绿植',
- ],
- 'canSell' => [
- 'description' => '商品是否可售,计算值',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'canNotSellReason' => [
- 'description' => '不可售原因',
- 'type' => 'string',
- 'example' => '库存不足',
- ],
- 'tradeMode' => [
- 'description' => '销售模式',
- 'type' => 'string',
- 'example' => 'JingXiao',
- ],
+ 'bandName' => ['description' => '品牌名称', 'type' => 'string', 'example' => '绿植'],
+ 'canSell' => ['description' => '商品是否可售,计算值', 'type' => 'boolean', 'example' => 'true'],
+ 'canNotSellReason' => ['description' => '不可售原因', 'type' => 'string', 'example' => '库存不足'],
+ 'tradeMode' => ['description' => '销售模式', 'type' => 'string', 'example' => 'JingXiao'],
'credit' => [
'description' => '账期',
'type' => 'array',
'items' => [
'description' => '账期',
'type' => 'string',
- 'enumValueTitles' => [
- 'Credit90' => '90天账期',
- 'NonCredit' => '不支持账期',
- ],
+ 'enumValueTitles' => ['Credit90' => '90天账期', 'NonCredit' => '不支持账期'],
'example' => 'Credit90',
],
],
'invoiceType' => [
'description' => '发票类型',
'type' => 'string',
- 'enumValueTitles' => [
- 'HasInvoice' => '可开发票',
- 'NonInvoice' => '不可开发票',
- ],
+ 'enumValueTitles' => ['HasInvoice' => '可开发票', 'NonInvoice' => '不可开发票'],
'example' => 'HasInvoice',
],
- 'taxRate' => [
- 'description' => '税率',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '600(6%)'."\n"
- .'-100(免税)',
- ],
- 'taxCode' => [
- 'description' => '税码',
- 'type' => 'string',
- 'example' => '3040203000000000000',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2025-01-02 12:23:34'."\n"
- .'(yyyy-MM-dd HH:mm:ss)'."\n",
- ],
- 'inGroupTime' => [
- 'description' => '入库时间',
- 'type' => 'string',
- 'example' => '2025-01-02 12:23:34'."\n"
- .'(yyyy-MM-dd HH:mm:ss)'."\n",
- ],
- 'gmtModified' => [
- 'description' => '最后修改时间。',
- 'type' => 'string',
- 'example' => '2025-01-02 12:23:34'."\n"
- .'(yyyy-MM-dd HH:mm:ss)'."\n",
- ],
+ 'taxRate' => ['description' => '税率', 'type' => 'integer', 'format' => 'int64', 'example' => '600(6%)'."\n"
+ .'-100(免税)'],
+ 'taxCode' => ['description' => '税码', 'type' => 'string', 'example' => '3040203000000000000'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2025-01-02 12:23:34'."\n"
+ .'(yyyy-MM-dd HH:mm:ss)'."\n"],
+ 'inGroupTime' => ['description' => '入库时间', 'type' => 'string', 'example' => '2025-01-02 12:23:34'."\n"
+ .'(yyyy-MM-dd HH:mm:ss)'."\n"],
+ 'gmtModified' => ['description' => '最后修改时间。', 'type' => 'string', 'example' => '2025-01-02 12:23:34'."\n"
+ .'(yyyy-MM-dd HH:mm:ss)'."\n"],
'inGroup' => [
'description' => '是否入库',
'type' => 'boolean',
- 'enumValueTitles' => [
- 'true' => '已入库',
- 'false' => '未入库',
- ],
+ 'enumValueTitles' => ['true' => '已入库', 'false' => '未入库'],
'example' => 'true',
],
],
@@ -5429,27 +3898,33 @@
.' ]'."\n"
.'}'."\n"
.'```',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:SearchProducts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
],
'SelectionGroupAddProduct' => [
'summary' => '分销商操作商品入库。',
'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/selection-group/product/command/addProduct',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
@@ -5457,9 +3932,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '263790',
- 'abilityTreeNodes' => [
- 'FEATURElinkedmallMY1IED',
- ],
+ 'abilityTreeNodes' => ['FEATURElinkedmallMY1IED'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
@@ -5471,23 +3944,13 @@
'description' => '请求体',
'type' => 'object',
'properties' => [
- 'purchaserId' => [
- 'description' => '采购方id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PIDxxxxx',
- ],
+ 'purchaserId' => ['description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PIDxxxxx'],
'productIds' => [
'description' => '入库商品id集合'."\n"
.'> '."\n"
.'> - 单次调用最大30个商品',
'type' => 'array',
- 'items' => [
- 'description' => '商品id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxx',
- ],
+ 'items' => ['description' => '商品id', 'type' => 'string', 'required' => true, 'example' => 'xxxx'],
'required' => true,
],
],
@@ -5505,11 +3968,7 @@
'productIds' => [
'description' => '入库成功的商品id列表',
'type' => 'array',
- 'items' => [
- 'description' => '入库成功的商品id',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
+ 'items' => ['description' => '入库成功的商品id', 'type' => 'string', 'example' => 'xxxx'],
],
],
],
@@ -5522,27 +3981,33 @@
.'> 2025年1月1日(含)后入驻的分销客户,建议对接此接口。关于入库操作和影响请参考中[商品最佳实践](https://help.aliyun.com/zh/linkedmall/user-guide/product-interface-best-practices?spm=a2c4g.11186623.help-menu-88587.d_2_2_0_8_0.58122056oN3crP&scm=20140722.H_2869668._.OR_help-T_cn~zh-V_1#lFENl)中相关说明。',
'requestParamsDescription' => '已入库的商品不会重复入库',
'responseParamsDescription' => '只有入库成功会返回对应的商品id',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'linkedmall:SelectionGroupAddProduct',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
],
'SelectionGroupRemoveProduct' => [
'summary' => '分销商操作商品出库。',
'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/selection-group/product/command/removeProduct',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
@@ -5550,9 +4015,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '263792',
- 'abilityTreeNodes' => [
- 'FEATURElinkedmallMY1IED',
- ],
+ 'abilityTreeNodes' => ['FEATURElinkedmallMY1IED'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
@@ -5564,23 +4027,13 @@
'description' => '请求体',
'type' => 'object',
'properties' => [
- 'purchaserId' => [
- 'description' => '采购方id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PIDxxxxx',
- ],
+ 'purchaserId' => ['description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PIDxxxxx'],
'productIds' => [
'description' => '需要出库的商品id列表'."\n"
.'> '."\n"
.'> - 单次调用最大支持30个商品',
'type' => 'array',
- 'items' => [
- 'description' => '出库的商品id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxxxx',
- ],
+ 'items' => ['description' => '出库的商品id', 'type' => 'string', 'required' => true, 'example' => 'xxxxxx'],
'required' => true,
],
],
@@ -5598,11 +4051,7 @@
'productIds' => [
'description' => '出库成功的商品id集合',
'type' => 'array',
- 'items' => [
- 'description' => '出库成功的商品id',
- 'type' => 'string',
- 'example' => 'xxxxx',
- ],
+ 'items' => ['description' => '出库成功的商品id', 'type' => 'string', 'example' => 'xxxxx'],
],
],
],
@@ -5613,1480 +4062,500 @@
'description' => '分销商通过此接口操作商品出库',
'requestParamsDescription' => '已出库的商品不会重复出库',
'responseParamsDescription' => '这里仅返回出库成功的商品id列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-02-19T02:53:12.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'SelectionGroupRemoveProduct'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'linkedmall:SelectionGroupRemoveProduct',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
],
'SplitPurchaseOrder' => [
'summary' => '采购单渲染拆单接口,可以依照最终主子单结构方式返回商品列表,分销商接入方可以渲染得到最终的主子单结构,方便后续接收创建采购单成功消息并回填主子单信息。',
'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders/commands/split',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- 'description' => '采购单拆单渲染入参信息',
- 'required' => false,
- '$ref' => '#/components/schemas/PurchaseOrderRenderQuery',
- ],
+ 'schema' => ['description' => '采购单拆单渲染入参信息', 'required' => false, '$ref' => '#/components/schemas/PurchaseOrderRenderQuery'],
],
],
'responses' => [
200 => [
- 'schema' => [
- 'description' => '采购单拆单渲染结果返回',
- '$ref' => '#/components/schemas/PurchaseOrderRenderResult',
- ],
+ 'schema' => ['description' => '采购单拆单渲染结果返回', '$ref' => '#/components/schemas/PurchaseOrderRenderResult'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"addressList\\": [\\n {\\n \\"divisionCode\\": \\"610102\\",\\n \\"addressDetail\\": \\"陕西省西安市新城区xxx大厦xx室\\",\\n \\"receiverPhone\\": \\"182***5674\\",\\n \\"townDivisionCode\\": \\"61010212\\",\\n \\"receiver\\": \\"任先生\\",\\n \\"addressId\\": 0\\n }\\n ],\\n \\"canSell\\": true,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"orderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"unsellableOrderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"message\\": \\"库存为0\\",\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"addressList\\": [\\n {\\n \\"divisionCode\\": \\"330106\\",\\n \\"addressDetail\\": \\"陕西省西安市新城区xx街道xxx大厦xx室\\",\\n \\"receiverPhone\\": \\"182***5674\\",\\n \\"townDivisionCode\\": \\"330106109\\",\\n \\"receiver\\": \\"任先生\\",\\n \\"addressId\\": 0\\n }\\n ],\\n \\"canSell\\": true,\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"orderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"PID56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"unsellableOrderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"PID56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"message\\": \\"库存为0\\",\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]',
'title' => '采购单渲染并拆单',
'description' => '建议在创建采购单之前调用本接口,本接口将返回可售商品信息列表和不可售商品信息列表,其中可售商品信息列表按照最终主子单拆单结构进行呈现。',
- ],
- 'RenderPurchaseOrder' => [
- 'summary' => '采购单渲染,会返回可售商品和不可售商品,客户可以选择可售商品进行采购单下单。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders/commands/render',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'none',
- ],
- 'parameters' => [
+ 'changeSet' => [],
+ 'ramActions' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '渲染采购单',
- 'description' => '渲染采购单',
- 'required' => true,
- '$ref' => '#/components/schemas/PurchaseOrderRenderQuery',
- ],
- 'examples' => [],
- ],
- ],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '采购单渲染结果',
- 'required' => false,
- '$ref' => '#/components/schemas/PurchaseOrderRenderResult',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'linkedmall:SplitPurchaseOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
- 'examples' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"addressList\\": [\\n {\\n \\"divisionCode\\": \\"610102\\",\\n \\"addressDetail\\": \\"陕西省西安市新城区xxx大厦xx室\\",\\n \\"receiverPhone\\": \\"182***5674\\",\\n \\"townDivisionCode\\": \\"61010212\\",\\n \\"receiver\\": \\"任先生\\",\\n \\"addressId\\": 0\\n }\\n ],\\n \\"canSell\\": true,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"orderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"unsellableOrderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"message\\": \\"库存为0\\",\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]',
- 'title' => '采购单渲染',
- 'description' => '><warning>本接口即将下线,采购单渲染请使用SplitPurchaseOrder - 采购单渲染并拆单接口></warning>',
- 'requestParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "deliveryAddress": {'."\n"
- .' "divisionCode": "610102",'."\n"
- .' "addressDetail": "陕西省西安市***大厦",'."\n"
- .' "receiverPhone": "187****1553",'."\n"
- .' "receiver": "闫先生",'."\n"
- .' "townDivisionCode": "61010212"'."\n"
- .' },'."\n"
- .' "buyerId": "test1234****679",'."\n"
- .' "productList": ['."\n"
- .' {'."\n"
- .' "quantity": 1,'."\n"
- .' "productId": "6600622091****6736",'."\n"
- .' "purchaserId": "22000009",'."\n"
- .' "skuId": "6600622091****6737"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "requestId": "0928251D-713B-17A1-A2B0-1A57****90B4",'."\n"
- .' "orderList": ['."\n"
- .' {'."\n"
- .' "productList": ['."\n"
- .' {'."\n"
- .' "productId": "6600622091****6736",'."\n"
- .' "productTitle": "儿童学习桌",'."\n"
- .' "skuTitle": "浅灰色",'."\n"
- .' "skuId": "6600622091****6737",'."\n"
- .' "purchaserId": "22***09",'."\n"
- .' "promotionFee": null,'."\n"
- .' "quantity": 1,'."\n"
- .' "productUrl": null,'."\n"
- .' "productPicUrl": "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0DYLWA_!!2216003305543.jpg",'."\n"
- .' "price": 1,'."\n"
- .' "canSell": true,'."\n"
- .' "message": null,'."\n"
- .' "features": null'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "deliveryInfoList": ['."\n"
- .' {'."\n"
- .' "id": "20",'."\n"
- .' "displayName": "快递 免邮",'."\n"
- .' "postFee": 0,'."\n"
- .' "serviceType": -4'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "invoiceInfo": null,'."\n"
- .' "extInfo": null,'."\n"
- .' "canSell": true,'."\n"
- .' "message": null'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "unsellableOrderList": ['."\n"
- .' {'."\n"
- .' "productList": [],'."\n"
- .' "deliveryInfoList": null,'."\n"
- .' "invoiceInfo": null,'."\n"
- .' "extInfo": null,'."\n"
- .' "canSell": false,'."\n"
- .' "message": null'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "addressList": ['."\n"
- .' {'."\n"
- .' "addressId": 0,'."\n"
- .' "receiver": "闫先生",'."\n"
- .' "receiverPhone": "187****1553",'."\n"
- .' "addressDetail": "陕西省西安市***大厦",'."\n"
- .' "divisionCode": "610102",'."\n"
- .' "townDivisionCode": "610102002"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "extInfo": null,'."\n"
- .' "canSell": true,'."\n"
- .' "message": null'."\n"
- .'}',
],
- 'CreatePurchaseOrder' => [
- 'summary' => '创建采购单,返回采购单号,具体订单创建结果由消息侧通知。订单创建完成之后,客户可以通过订单接口查询采购单下附属的订单信息。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'create',
- ],
- 'parameters' => [
- [
- 'name' => 'body',
- 'in' => 'body',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '创建采购单',
- 'description' => '创建采购单',
- 'required' => true,
- '$ref' => '#/components/schemas/PurchaseOrderCreateCmd',
- ],
- 'examples' => [],
- ],
- ],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '采购单创建结果(返回采购单号)。'."\n"
- .'><warning>请注意,因采购单创建为异步任务,如分销商调用本接口返回异常时(如503错误码),建议勿立即执行业务侧的toC退款;请分销商等待并消费PurchaseOrderCreate消息(采购单创建结果消息)后正常判断订单状态(如消费订单状态同步消息判断订单状态)后再处理业务逻辑,以免造成资损。></warning>',
- 'required' => false,
- '$ref' => '#/components/schemas/PurchaseOrderCreateResult',
- ],
- 'examples' => [],
- ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkedmall.aliyuncs.com', 'endpoint' => 'linkedmall.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'linkedmall-distributor-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkedmall.cn-hangzhou.aliyuncs.com', 'endpoint' => 'linkedmall.cn-hangzhou.aliyuncs.com', 'vpc' => 'linkedmall.vpc-proxy.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'linkedmall.aliyuncs.com', 'endpoint' => 'linkedmall.aliyuncs.com', 'vpc' => ''],
+ ],
+ 'errorCodes' => [
+ ['code' => 'ApplyReasonTextIdInvalid', 'message' => '无效的退款原因id', 'http_code' => 400, 'description' => '无效的退款原因id'],
+ ['code' => 'AuthCompanyNotFind', 'message' => 'AK对应的主体不存在', 'http_code' => 404, 'description' => 'AK对应的主体不存在'],
+ ['code' => 'CpCodeInvalid', 'message' => '无法识别的快递公司代号 {}', 'http_code' => 400, 'description' => '无法识别的快递公司代号'],
+ ['code' => 'DisputeInSelleFundOnlyCanReturnAll', 'message' => '售中只能全部退', 'http_code' => 400, 'description' => '售中只能全部退'],
+ ['code' => 'DisputePolicyInvalid', 'message' => '无效的退款类型', 'http_code' => 400, 'description' => '无效的退款类型'],
+ ['code' => 'GoodStatusInvalid', 'message' => '无效的货品状态', 'http_code' => 400, 'description' => '无效的货品状态'],
+ ['code' => 'HasNoPrivilege', 'message' => 'NoPrivilege.', 'http_code' => 403, 'description' => '没有权限'],
+ ['code' => 'linkedmall.errorcode.InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => '未知原因导致请求失败.'],
+ ['code' => 'MissingParameter', 'message' => 'You must specify the parameter.', 'http_code' => 500, 'description' => '缺少参数'],
+ ['code' => 'MissingParameter', 'message' => 'Required parameter \'{}\' is not found.', 'http_code' => 400, 'description' => '参数缺失'],
+ ['code' => 'OnlyRefundAndReturnCanSubmitShipping', 'message' => '只有退货退款才能提交退货物流信息', 'http_code' => 400, 'description' => '只有退货退款才能提交退货物流信息'],
+ ['code' => 'OrderForbidden', 'message' => '{} 订单无访问权限', 'http_code' => 403, 'description' => '订单无访问权限'],
+ ['code' => 'OrderLineForbidden', 'message' => '{} 子订单无访问权限', 'http_code' => 403, 'description' => '子订单无访问权限'],
+ ['code' => 'OrderLineNotFound', 'message' => '{} 子订单不存在', 'http_code' => 404, 'description' => '子订单不存在'],
+ ['code' => 'OrderNotFound', 'message' => '订单不存在', 'http_code' => 404, 'description' => '主订单不存在'],
+ ['code' => 'OuterPurchaseOrderIdExist', 'message' => '{} 外部采购单已经存在', 'http_code' => 500, 'description' => '外部采购单已经存在'],
+ ['code' => 'ParameterInvalid', 'message' => 'parameter {} invalid', 'http_code' => 400, 'description' => '参数格式错误'],
+ ['code' => 'PurchaseOrderForbidden', 'message' => '采购单不存在或无访问权限', 'http_code' => 403, 'description' => '采购单不存在或无访问权限'],
+ ['code' => 'PurchaseOrderIdOrOrderIdInvalid', 'message' => '分销交易号或者主订单号不正确', 'http_code' => 400, 'description' => '分销交易号或者主订单号不正确'],
+ ['code' => 'PurchaseOrderNotFound', 'message' => '{} 采购单不存在', 'http_code' => 400, 'description' => '采购单不存在'],
+ ['code' => 'RefundAmountMustLessThanOrder', 'message' => '退款金额不能大于订单金额', 'http_code' => 400, 'description' => '退款金额不能大于订单金额'],
+ ['code' => 'RefundNotFound', 'message' => '退款单不存在', 'http_code' => 400, 'description' => '退款单不存在'],
+ ['code' => 'RefundNumberMustLessThanOrder', 'message' => '退款数量不能大于订单数量', 'http_code' => 400, 'description' => '退款数量不能大于订单数量'],
+ ['code' => 'SavePurchaseOrderError', 'message' => '保存采购单失败', 'http_code' => 500, 'description' => '保存采购单失败'],
+ ['code' => 'ShopForbidden', 'message' => '{} 店铺无访问权限', 'http_code' => 403, 'description' => '店铺无访问权限'],
+ ['code' => 'ShopIdUnique', 'message' => '存在多个不同的shopId', 'http_code' => 404, 'description' => '存在多个不同的shopId'],
+ ['code' => 'ShopNotFind', 'message' => '{} 店铺不存在', 'http_code' => 404, 'description' => '店铺不存在'],
+ ['code' => 'ShopTypeInvalid', 'message' => 'skuId:{} 是经销集采的店铺商品无法下单', 'http_code' => 400, 'description' => '经销集采店铺的商品无法下单'],
+ ['code' => 'SkuNotFind', 'message' => '{} sku不存在', 'http_code' => 404, 'description' => 'sku不存在'],
+ ['code' => 'SkuPriceUnique', 'message' => 'skuId:{} sku价格不是最新的', 'http_code' => 400, 'description' => 'sku价格不是最新的'],
+ ],
+ 'changeSet' => [
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'SearchProducts'],
+ ['description' => '请求参数发生变更', 'api' => 'SelectionGroupAddProduct'],
+ ['description' => '请求参数发生变更', 'api' => 'SelectionGroupRemoveProduct'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"purchaseOrderId\\": \\"6692****5696\\",\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]',
- 'title' => '创建采购单',
- 'description' => '创建采购单,返回采购单号,具体订单创建结果由消息侧通知。订单创建完成之后,客户可以通过订单接口查询采购单下附属的订单信息。'."\n"
- .'><warning>请注意,因采购单创建为异步任务,如分销商调用本接口返回异常时(如503错误码),建议勿立即执行业务侧的toC退款;请分销商等待并消费PurchaseOrderCreate消息(采购单创建结果消息)后正常判断订单状态(如消费订单状态同步消息判断订单状态)后再处理业务逻辑,以免造成资损。></warning>'."\n"
- .'><notice>调用采购单创建接口后如未接收到PurchaseOrderCreate消息(采购单创建结果消息),请在技术对接群中提交工单查询原因。></notice>',
- 'requestParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "outerPurchaseOrderId": "outer00****0",'."\n"
- .' "deliveryAddress": {'."\n"
- .' "divisionCode": "610102",'."\n"
- .' "addressDetail": "陕西省西安市***大厦",'."\n"
- .' "receiverPhone": "187****1553",'."\n"
- .' "receiver": "闫先生",'."\n"
- .' "townDivisionCode": "61010212"'."\n"
- .' },'."\n"
- .' "buyerId": "yt12345085",'."\n"
- .' "productList": ['."\n"
- .' {'."\n"
- .' "quantity": 1,'."\n"
- .' "productId": "6600622091****6736",'."\n"
- .' "purchaserId": "PID2****09",'."\n"
- .' "skuId": "6600622091****6737"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "requestId": "48A34399-A72C-1E23-8388-7E63****E927",'."\n"
- .' "purchaseOrderId": "6696070481****5680"'."\n"
- .'}',
+ 'createdAt' => '2025-02-19T02:53:22.000Z',
+ 'description' => '',
],
- 'GetPurchaseOrderStatus' => [
- 'summary' => '获取采购单状态。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders/{purchaseOrderId}/status',
- 'methods' => [
- 'get',
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'GetSelectionProduct'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'createdAt' => '2024-03-29T03:14:50.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'ListPurchaserShops'],
],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
+ 'createdAt' => '2023-09-15T07:17:12.000Z',
+ 'description' => '',
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '500', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListSelectionSkuSaleInfos'],
+ ['threshold' => '3500', 'countWindow' => 100, 'regionId' => '*', 'api' => 'CreatePurchaseOrder'],
+ ['threshold' => '250', 'countWindow' => 10, 'regionId' => '*', 'api' => 'SplitPurchaseOrder'],
+ ['threshold' => '100', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CancelRefundOrder'],
+ ['threshold' => '500', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetSelectionProduct'],
+ ['threshold' => '500', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetSelectionProductSaleInfo'],
+ ['threshold' => '150', 'countWindow' => 10, 'regionId' => '*', 'api' => 'RenderRefundOrder'],
+ ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'SelectionGroupRemoveProduct'],
+ ['threshold' => '270', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetRefundOrder'],
+ ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'QueryChildDivisionCode'],
+ ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateGoodsShippingNotice'],
+ ['threshold' => '200', 'countWindow' => 10, 'regionId' => '*', 'api' => 'QueryOrders'],
+ ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListCategories'],
+ ['threshold' => '130', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetPurchaseOrderStatus'],
+ ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetPurchaserShop'],
+ ['threshold' => '150', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ConfirmDisburse'],
+ ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListSelectionProducts'],
+ ['threshold' => '550', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetOrder'],
+ ['threshold' => '250', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListLogisticsOrders'],
+ ['threshold' => '250', 'countWindow' => 10, 'regionId' => '*', 'api' => 'RenderPurchaseOrder'],
+ ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'SelectionGroupAddProduct'],
+ ['threshold' => '200', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListSelectionProductSaleInfos'],
+ ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'SearchProducts'],
+ ['threshold' => '100', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateRefundOrder'],
+ ['threshold' => '25', 'countWindow' => 5, 'regionId' => '*', 'api' => 'ListPurchaserShops'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'Linkedmall',
+ 'productName' => '企业商城 LinkedMall',
+ 'ramCodes' => ['linkedmall', 'neuron'],
+ 'ramLevel' => '操作级',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'ListPurchaserShops',
+ 'description' => '获取采购方店铺列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ListPurchaserShops',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'read',
- 'systemTags' => [
+ [
+ 'apiName' => 'QueryChildDivisionCode',
+ 'description' => '查询子区域编码',
'operationType' => 'get',
- ],
- 'parameters' => [
- [
- 'name' => 'purchaseOrderId',
- 'in' => 'path',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '采购单ID',
- 'description' => '采购单ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '6696070481****5680',
+ 'ramAction' => [
+ 'action' => 'linkedmall:QueryChildDivisionCode',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '交易单状态',
- 'required' => false,
- 'enumValueTitles' => [],
- '$ref' => '#/components/schemas/PurchaseOrderStatusResult',
+ [
+ 'apiName' => 'SearchProducts',
+ 'description' => '搜索选品池商品',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:SearchProducts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"status\\": \\"10\\"\\n}","type":"json"}]',
- 'title' => '获取采购单状态',
- 'description' => '获取交易单状态。',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "requestId": "AC85D1AE-3015-1024-B17C-D056****3583",'."\n"
- .' "status": "20"'."\n"
- .'}',
- ],
- 'GetOrder' => [
- 'summary' => '查询主单详情。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/{orderId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'read',
- 'systemTags' => [
+ [
+ 'apiName' => 'GetOrder',
+ 'description' => '获取订单详情',
'operationType' => 'get',
- ],
- 'parameters' => [
- [
- 'name' => 'orderId',
- 'in' => 'path',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '订单id',
- 'description' => '订单id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '669607056****8593',
+ 'ramAction' => [
+ 'action' => 'linkedmall:GetOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '订单资源返回',
- 'required' => false,
- '$ref' => '#/components/schemas/OrderResult',
+ [
+ 'apiName' => 'GetPurchaseOrderStatus',
+ 'description' => '获取采购单状态',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'linkedmall:GetPurchaseOrderStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderAmount\\": 100,\\n \\"orderLineList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"number\\": \\"1\\",\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"productId\\": \\"6600****6736\\",\\n \\"orderId\\": \\"6692****5457\\",\\n \\"productPic\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"payFee\\": 100,\\n \\"skuId\\": \\"6600****6737\\",\\n \\"orderLineStatus\\": \\"1\\"\\n }\\n ],\\n \\"orderId\\": \\"6692****5457\\",\\n \\"distributorId\\": \\"12****01\\",\\n \\"orderStatus\\": \\"1\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"createDate\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"orderClosedReason\\": \\"系统关单\\"\\n}","type":"json"}]',
- 'title' => '获取订单详情',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "createDate": "2023-09-09 10:57:23",'."\n"
- .' "distributorId": "6599775553****9296",'."\n"
- .' "logisticsStatus": "1",'."\n"
- .' "orderId": "6696070566****8593",'."\n"
- .' "orderAmount": "1",'."\n"
- .' "orderStatus": "2",'."\n"
- .' "orderLineList": ['."\n"
- .' {'."\n"
- .' "productPic": "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0DYLWA_!!2216003305543.jpg",'."\n"
- .' "productPrice": ['."\n"
- .' {'."\n"
- .' "fundAmountMoney": "1" //订单应付金额'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "productTitle": "儿童学习桌",'."\n"
- .' "productId": "6600622091****6736",'."\n"
- .' "number": "1",'."\n"
- .' "orderLineStatus": "2",'."\n"
- .' "logisticsStatus": "1",'."\n"
- .' "skuId": "6600622091****6737",'."\n"
- .' "skuTitle": "浅灰色",'."\n"
- .' "orderLineId": "6696070566****8594",'."\n"
- .' "orderId": "6696070566****8593"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- ],
- 'QueryOrders' => [
- 'summary' => '查询订单列表。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/commands/query',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'none',
- ],
- 'parameters' => [
- [
- 'name' => 'body',
- 'in' => 'body',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '查询主单列表',
- 'description' => '查询主单列表',
- 'required' => true,
- '$ref' => '#/components/schemas/OrderPageQuery',
+ [
+ 'apiName' => 'ListSelectionProductSaleInfos',
+ 'description' => '批量查询选品池商品销售信息',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ListSelectionProductSaleInfos',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '订单列表',
- 'required' => false,
- '$ref' => '#/components/schemas/OrderListResult',
+ [
+ 'apiName' => 'ListCategories',
+ 'description' => '查询类目列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ListCategories',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderList\\": [\\n {\\n \\"orderAmount\\": 100,\\n \\"orderLineList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"number\\": \\"1\\",\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"productId\\": \\"6600****6736\\",\\n \\"orderId\\": \\"6692****5457\\",\\n \\"productPic\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"payFee\\": 100,\\n \\"skuId\\": \\"6600****6737\\",\\n \\"orderLineStatus\\": \\"1\\"\\n }\\n ],\\n \\"orderId\\": \\"6692****5457\\",\\n \\"distributorId\\": \\"12****01\\",\\n \\"orderStatus\\": \\"1\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"createDate\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"orderClosedReason\\": \\"系统关单\\"\\n }\\n ],\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"total\\": 24\\n}","type":"json"}]',
- 'title' => '查询订单列表',
- 'description' => '查询订单列表',
- 'requestParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "pageNumber": 1,'."\n"
- .' "pageSize": 10,'."\n"
- .' "orderIdList": ['."\n"
- .' "6696070566****8593"'."\n"
- .' ]'."\n"
- .'}',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "requestId": "15BC537F-26F7-1AD0-AC3C-B79****D540",'."\n"
- .' "total": 10,'."\n"
- .' "orderList": ['."\n"
- .' {'."\n"
- .' "requestId": null,'."\n"
- .' "createDate": "2023-09-09 10:57:23",'."\n"
- .' "distributorId": "12****01",'."\n"
- .' "logisticsStatus": "2",'."\n"
- .' "orderId": "6696070566****8593",'."\n"
- .' "orderAmount": "1",'."\n"
- .' "orderStatus": "2",'."\n"
- .' "orderLineList": ['."\n"
- .' {'."\n"
- .' "productPic": "//img.alicdn.com/imgextra/i4/2216****05543/O1CN01bip3Un1qo****YLWA_!!2216003****43.jpg",'."\n"
- .' "productPrice": ['."\n"
- .' {'."\n"
- .' "fundAmountMoney": "1"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "productTitle": "儿童学习桌",'."\n"
- .' "productId": "6600622091****6736",'."\n"
- .' "number": "1",'."\n"
- .' "orderLineStatus": "2",'."\n"
- .' "logisticsStatus": "2",'."\n"
- .' "skuId": "6600622091****6737",'."\n"
- .' "skuTitle": "浅灰色",'."\n"
- .' "orderLineId": "6696070566****8594",'."\n"
- .' "orderId": "6696070566****8593"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- ],
- 'ListLogisticsOrders' => [
- 'summary' => '查询订单物流信息。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/{orderId}/logisticsOrders',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
- 'parameters' => [
- [
- 'name' => 'orderId',
- 'in' => 'path',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '订单id',
- 'description' => '订单id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '6696070566****8593',
+ [
+ 'apiName' => 'SelectionGroupAddProduct',
+ 'description' => '选品池商品入库',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'linkedmall:SelectionGroupAddProduct',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '物流信息',
- 'required' => false,
- '$ref' => '#/components/schemas/LogisticsOrderListResult',
+ [
+ 'apiName' => 'GetSelectionProduct',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'linkedmall:GetSelectionProduct',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"logisticsOrderList\\": [\\n {\\n \\"mailNo\\": \\"SF234***2345\\",\\n \\"dataProviderTitle\\": \\"菜鸟裹裹\\",\\n \\"logisticsCompanyName\\": \\"顺丰\\",\\n \\"logisticsDetailList\\": [\\n {\\n \\"ocurrTimeStr\\": \\"2023-09-01 00:00:00\\",\\n \\"standerdDesc\\": \\"已签收\\"\\n }\\n ],\\n \\"goods\\": [\\n {\\n \\"goodName\\": \\"儿童学习桌\\",\\n \\"productId\\": \\"6600****6736\\",\\n \\"quantity\\": 1,\\n \\"skuId\\": \\"\\",\\n \\"skuTitle\\": \\"\\"\\n }\\n ],\\n \\"dataProvider\\": \\"菜鸟\\",\\n \\"logisticsCompanyCode\\": \\"SF (OTHER-其他 POST-中国邮政 EMS-EMS EYB-EMS快递包裹 POSTB-邮政快递包裹 STO-申通快递 YTO-圆通快递 YUNDA-韵达快递 ZJS-宅急送 FEDEX-联邦快递 DBKD-德邦物流 SHQ-华强物流 TN-特能 TAOBAO-淘宝物流 ZTO-中通快递 HTKY-百世快递 TTKDEX-天天快递 SF-顺丰速运 ZTKY-中铁物流 QFKD-全峰快递 JT-极兔物流)\\"\\n }\\n ],\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]',
- 'title' => '查询订单物流信息',
- 'description' => '查询订单物流信息',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "requestId": "ED080FA8-F005-10B1-A9AB-CCFD****9149",'."\n"
- .' "logisticsOrderList": ['."\n"
- .' {'."\n"
- .' "dataProvider": "菜鸟裹裹",'."\n"
- .' "dataProviderTitle": "本数据由菜鸟裹裹提供",'."\n"
- .' "goods": ['."\n"
- .' {'."\n"
- .' "goodName": "儿童学习桌",'."\n"
- .' "productId": 2384738123****7238,'."\n"
- .' "quantity": 1'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "logisticsCompanyCode": "SF",'."\n"
- .' "logisticsCompanyName": "顺丰速运",'."\n"
- .' "logisticsDetailList": ['."\n"
- .' {'."\n"
- .' "ocurrTimeStr": "2023-06-06 14:44:45",'."\n"
- .' "standerdDesc": "顺丰速运 已收取快件"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "ocurrTimeStr": "2023-06-06 14:44:46",'."\n"
- .' "standerdDesc": "快件在【加工厂店】完成分拣,准备发往 【沈阳****中转场】"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "ocurrTimeStr": "2023-06-06 18:24:09",'."\n"
- .' "standerdDesc": "快件到达 【沈阳****中转场】"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "ocurrTimeStr": "2023-06-06 18:28:26",'."\n"
- .' "standerdDesc": "快件在【沈阳****中转场】完成分拣,准备发往 【西安****中转场】"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "ocurrTimeStr": "2023-06-07 05:40:35",'."\n"
- .' "standerdDesc": "快件已发车"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "mailNo": "SF162546****599"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- ],
- 'ConfirmDisburse' => [
- 'summary' => '确认收货。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/commands/confirmDisburse',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'GetSelectionProductSaleInfo',
+ 'description' => '查询选品池商品销售信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'linkedmall:GetSelectionProductSaleInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
+ [
+ 'apiName' => 'CreateGoodsShippingNotice',
+ 'description' => '回填运单信息',
'operationType' => 'create',
- ],
- 'parameters' => [
- [
- 'name' => 'body',
- 'in' => 'body',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '确认收货(订单)',
- 'description' => '确认收货入参',
- 'required' => true,
- '$ref' => '#/components/schemas/ConfirmDisburseCmd',
+ 'ramAction' => [
+ 'action' => 'linkedmall:CreateGoodsShippingNotice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '确认收货结果',
- 'required' => false,
- '$ref' => '#/components/schemas/ConfirmDisburseResult',
+ [
+ 'apiName' => 'ListSelectionSkuSaleInfos',
+ 'description' => '批量查询选品池SKU销售信息',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ListSelectionSkuSaleInfos',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": \\"success\\",\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]',
- 'title' => '确认收货',
- 'description' => '确认收货',
- 'requestParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "orderId": "6696667996****5953"'."\n"
- .'}',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "requestId": "FF83DFBE-CBF2-1D73-83A3-5010****C402",'."\n"
- .' "result": "success"'."\n"
- .'}',
- ],
- 'RenderRefundOrder' => [
- 'summary' => '逆向单渲染',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/commands/render',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
+ [
+ 'apiName' => 'SplitPurchaseOrder',
+ 'description' => '采购单渲染并拆单',
'operationType' => 'none',
- ],
- 'parameters' => [
- [
- 'name' => 'body',
- 'in' => 'body',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '逆向单渲染',
- 'description' => '逆向单渲染',
- 'required' => true,
- '$ref' => '#/components/schemas/RefundRenderCmd',
+ 'ramAction' => [
+ 'action' => 'linkedmall:SplitPurchaseOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '售后单渲染结果',
- 'required' => false,
- '$ref' => '#/components/schemas/RefundRenderResult',
+ [
+ 'apiName' => 'GetRefundOrder',
+ 'description' => '获取售后单详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'linkedmall:GetRefundOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxRefundFeeData\\": {\\n \\"minRefundFee\\": 1,\\n \\"maxRefundFee\\": 100\\n },\\n \\"refundReasonList\\": [\\n {\\n \\"reasonTextId\\": \\"47683\\",\\n \\"proofRequired\\": true,\\n \\"reasonTips\\": \\"不想要了\\",\\n \\"refundDescRequired\\": true\\n }\\n ],\\n \\"bizClaimType\\": 1,\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]',
- 'title' => '售后单渲染',
- 'description' => '售后单渲染',
- 'requestParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "bizClaimType": 3,'."\n"
- .' "goodsStatus": 2,'."\n"
- .' "orderLineId": "6696070566****8594"'."\n"
- .'}',
- 'responseParamsDescription' => '````'."\n"
- .'{'."\n"
- .' "requestId": "6D7C43A1-2EFC-185E-816E-A8CB****36EB",'."\n"
- .' "orderLineId": "6696070566****8594",'."\n"
- .' "bizClaimType": 3,'."\n"
- .' "maxRefundFeeData": {'."\n"
- .' "maxRefundFee": 1,'."\n"
- .' "minRefundFee": 0'."\n"
- .' },'."\n"
- .' "refundReasonList": ['."\n"
- .' {'."\n"
- .' "reasonTextId": "402652",'."\n"
- .' "proofRequired": false,'."\n"
- .' "reasonTips": "拍错/多拍/不喜欢",'."\n"
- .' "refundDescRequired": false'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "reasonTextId": "403883",'."\n"
- .' "proofRequired": false,'."\n"
- .' "reasonTips": "商品成分描述不符",'."\n"
- .' "refundDescRequired": false'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "reasonTextId": "402641",'."\n"
- .' "proofRequired": false,'."\n"
- .' "reasonTips": "尺寸/规格不符",'."\n"
- .' "refundDescRequired": false'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "reasonTextId": "402649",'."\n"
- .' "proofRequired": false,'."\n"
- .' "reasonTips": "颜色/款式/包装与商品描述不符",'."\n"
- .' "refundDescRequired": false'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "reasonTextId": "402645",'."\n"
- .' "proofRequired": false,'."\n"
- .' "reasonTips": "收到商品少件/破损/变形等",'."\n"
- .' "refundDescRequired": false'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "reasonTextId": "402638",'."\n"
- .' "proofRequired": false,'."\n"
- .' "reasonTips": "枯萎/死亡",'."\n"
- .' "refundDescRequired": false'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- ],
- 'CreateRefundOrder' => [
- 'summary' => '创建售后单。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'create',
- ],
- 'parameters' => [
- [
- 'name' => 'body',
- 'in' => 'body',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '创建逆向单',
- 'description' => '创建逆向单',
- 'required' => true,
- '$ref' => '#/components/schemas/RefundOrderCmd',
+ [
+ 'apiName' => 'ListLogisticsOrders',
+ 'description' => '查询订单物流信息',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ListLogisticsOrders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '售后单资源',
- 'required' => false,
- '$ref' => '#/components/schemas/RefundOrderResult',
+ [
+ 'apiName' => 'ConfirmDisburse',
+ 'description' => '确认收货',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ConfirmDisburse',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"disputeId\\": \\"6693****4352\\",\\n \\"disputeStatus\\": 1,\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]',
- 'title' => '创建售后单',
- 'description' => '创建售后单',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "requestId": "4DFA4CBA-AB08-13E2-9E25-0A26****72F2",'."\n"
- .' "orderLineId": "6696070566****8594",'."\n"
- .' "disputeStatus": 1,'."\n"
- .' "disputeId": "6696233432****5024"'."\n"
- .'}',
- ],
- 'CancelRefundOrder' => [
- 'summary' => '取消售后单。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/{disputeId}/commands/cancel',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
+ [
+ 'apiName' => 'SelectionGroupRemoveProduct',
+ 'description' => '选品池商品出库',
'operationType' => 'update',
- ],
- 'parameters' => [
- [
- 'name' => 'disputeId',
- 'in' => 'path',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'description' => '售后单ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '601853367760207872',
+ 'ramAction' => [
+ 'action' => 'linkedmall:SelectionGroupRemoveProduct',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '售后单资源',
- 'required' => false,
- '$ref' => '#/components/schemas/RefundOrderResult',
+ [
+ 'apiName' => 'RenderPurchaseOrder',
+ 'description' => '采购单渲染',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'linkedmall:RenderPurchaseOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"disputeId\\": \\"6693****4352\\",\\n \\"disputeStatus\\": 1,\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]',
- 'title' => '取消售后单',
- 'description' => '取消售后单',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "requestId": "0F5BFCA7-98B9-1D59-80C2-30622***CFB1",'."\n"
- .' "orderLineId": "66931024438***7746",'."\n"
- .' "disputeStatus": 1,'."\n"
- .' "disputeId": "66931163166***4352"'."\n"
- .'}'."\n"
- .'```',
- ],
- 'GetRefundOrder' => [
- 'summary' => '获取售后单详情。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/{disputeId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
- [
- 'name' => 'disputeId',
- 'in' => 'path',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'description' => '售后单id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6696233432****5024',
+ [
+ 'apiName' => 'CreateRefundOrder',
+ 'description' => '创建售后单',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'linkedmall:CreateRefundOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '售后单结果',
- 'required' => false,
- '$ref' => '#/components/schemas/RefundResult',
+ [
+ 'apiName' => 'RenderRefundOrder',
+ 'description' => '售后单渲染',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'linkedmall:RenderRefundOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
- ],
- ],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"refundFee\\": 1,\\n \\"refundFeeData\\": {\\n \\"minRefundFee\\": 1,\\n \\"maxRefundFee\\": 100\\n },\\n \\"applyDisputeDesc\\": \\"多拍不想要\\",\\n \\"refunderTel\\": \\"182****1334\\",\\n \\"bizClaimType\\": 1,\\n \\"disputeDesc\\": \\"多拍不想要\\",\\n \\"sellerRefuseReason\\": \\"商品没问题,买家举证无效\\",\\n \\"orderId\\": \\"6692****5457\\",\\n \\"refunderName\\": \\"赵先生\\",\\n \\"applyReason\\": {\\n \\"reasonTextId\\": 403769,\\n \\"reasonTips\\": \\"不想要了\\"\\n },\\n \\"refunderAddress\\": \\"阿里云云谷\\",\\n \\"refunderZipCode\\": \\"331001\\",\\n \\"disputeEndTime\\": \\"2023-09-02T12:00:00.000Z\\",\\n \\"sellerRefuseAgreementMessage\\": \\"不同意退款\\",\\n \\"disputeId\\": \\"6693****4352\\",\\n \\"disputeStatus\\": 1,\\n \\"returnGoodLogisticsStatus\\": 0,\\n \\"orderLogisticsStatus\\": 1,\\n \\"disputeCreateTime\\": \\"2023-09-02T00:00:00.000Z\\",\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"sellerAgreeMsg\\": \\"同意退款\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]',
- 'title' => '获取售后单详情',
- 'description' => '获取售后单详情',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "applyDisputeDesc": null,'."\n"
- .' "applyReason": {'."\n"
- .' "reasonTextId": 403883,'."\n"
- .' "reasonTips": "商品成分描述不符"'."\n"
- .' },'."\n"
- .' "bizClaimType": 3,'."\n"
- .' "disputeCreateTime": "2023-09-09 12:00:35",'."\n"
- .' "disputeDesc": null,'."\n"
- .' "disputeEndTime": null,'."\n"
- .' "disputeId": "6696233432****5024",'."\n"
- .' "disputeStatus": 3,'."\n"
- .' "disputeType": 1,'."\n"
- .' "orderId": "6696070566****8593",'."\n"
- .' "refundFeeData": {'."\n"
- .' "maxRefundFee": null,'."\n"
- .' "minRefundFee": null'."\n"
- .' },'."\n"
- .' "orderLogisticsStatus": 2,'."\n"
- .' "refundFee": 1,'."\n"
- .' "refunderAddress": null,'."\n"
- .' "refunderName": null,'."\n"
- .' "refunderTel": null,'."\n"
- .' "refunderZipCode": null,'."\n"
- .' "returnGoodCount": null,'."\n"
- .' "returnGoodLogisticsStatus": null,'."\n"
- .' "sellerAgreeMsg": null,'."\n"
- .' "sellerRefuseAgreementMessage": null,'."\n"
- .' "sellerRefuseReason": null,'."\n"
- .' "orderLineId": "6696070566****8594"'."\n"
- .'}',
- ],
- 'CreateGoodsShippingNotice' => [
- 'summary' => '回填运单信息。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/command/createGoodsShippingNotice',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'create',
- ],
- 'parameters' => [
- [
- 'name' => 'body',
- 'in' => 'body',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '提交逆向物流信息',
- 'description' => '提交运单信息',
- 'required' => true,
- '$ref' => '#/components/schemas/GoodsShippingNoticeCreateCmd',
+ [
+ 'apiName' => 'ListSelectionProducts',
+ 'description' => '查询选品池商品列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'linkedmall:ListSelectionProducts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '操作返回结果',
- 'required' => false,
- '$ref' => '#/components/schemas/GoodsShippingNoticeCreateResult',
+ [
+ 'apiName' => 'QueryOrders',
+ 'description' => '查询订单列表',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'linkedmall:QueryOrders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": \\"success\\",\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]',
- 'title' => '回填运单信息',
- 'description' => '回填运单信息',
- 'requestParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "cpCode": "YUNDA",'."\n"
- .' "disputeId": "6696233432****5024",'."\n"
- .' "logisticsNo": "4334027****6583"'."\n"
- .'}',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "requestId": "FA53BE49-2740-1AE1-BCBE-3640****5BE5",'."\n"
- .' "result": "success"'."\n"
- .'}',
- ],
- 'QueryChildDivisionCode' => [
- 'summary' => '查询子区域编码。',
- 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/division/commands/queryChildDivisionCode',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'tags' => [],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
+ [
+ 'apiName' => 'GetPurchaserShop',
+ 'description' => '获取采购方店铺',
'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'linkedmall:GetPurchaserShop',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'parameters' => [
- [
- 'name' => 'body',
- 'in' => 'body',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '查询地址divisionCode',
- 'description' => '查询子区域编码',
- 'required' => true,
- '$ref' => '#/components/schemas/DivisionQuery',
+ [
+ 'apiName' => 'CreatePurchaseOrder',
+ 'description' => '创建采购单',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'linkedmall:CreatePurchaseOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responses' => [
- 200 => [
- 'description' => '成功',
- 'schema' => [
- 'description' => '子区域编码',
- 'required' => false,
- '$ref' => '#/components/schemas/DivisionPageResult',
+ [
+ 'apiName' => 'CancelRefundOrder',
+ 'description' => '取消售后单',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'linkedmall:CancelRefundOrder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'examples' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"divisionList\\": [\\n {\\n \\"divisionName\\": \\"上海\\",\\n \\"divisionCode\\": 310000,\\n \\"divisionLevel\\": 2,\\n \\"pinyin\\": \\"shang hai\\",\\n \\"parentId\\": 1\\n }\\n ],\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]',
- 'title' => '查询子区域编码',
- 'description' => '查询子区域编码',
- 'requestParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "divisionCode": "1"'."\n"
- .'}',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "requestId": "85144A43-F418-1094-9A40-B8CE****8F30",'."\n"
- .' "divisionList": ['."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 310000,'."\n"
- .' "divisionName": "上海",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "shang hai"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 530000,'."\n"
- .' "divisionName": "云南省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "yun nan sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 150000,'."\n"
- .' "divisionName": "内蒙古自治区",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "nei meng gu zi zhi qu"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 110000,'."\n"
- .' "divisionName": "北京",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "bei jing"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 220000,'."\n"
- .' "divisionName": "吉林省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "ji lin sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 510000,'."\n"
- .' "divisionName": "四川省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "si chuan sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 120000,'."\n"
- .' "divisionName": "天津",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "tian jin"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 640000,'."\n"
- .' "divisionName": "宁夏回族自治区",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "ning xia hui zu zi zhi qu"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 340000,'."\n"
- .' "divisionName": "安徽省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "an hui sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 370000,'."\n"
- .' "divisionName": "山东省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "shan dong sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 140000,'."\n"
- .' "divisionName": "山西省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "shan xi sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 440000,'."\n"
- .' "divisionName": "广东省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "guang dong sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 450000,'."\n"
- .' "divisionName": "广西壮族自治区",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "guang xi zhuang zu zi zhi qu"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 650000,'."\n"
- .' "divisionName": "新疆维吾尔自治区",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "xin jiang wei wu er zi zhi qu"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 320000,'."\n"
- .' "divisionName": "江苏省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "jiang su sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 360000,'."\n"
- .' "divisionName": "江西省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "jiang xi sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 130000,'."\n"
- .' "divisionName": "河北省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "he bei sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 410000,'."\n"
- .' "divisionName": "河南省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "he nan sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 330000,'."\n"
- .' "divisionName": "浙江省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "zhe jiang sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 460000,'."\n"
- .' "divisionName": "海南省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "hai nan sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 420000,'."\n"
- .' "divisionName": "湖北省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "hu bei sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 430000,'."\n"
- .' "divisionName": "湖南省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "hu nan sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 620000,'."\n"
- .' "divisionName": "甘肃省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "gan su sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 350000,'."\n"
- .' "divisionName": "福建省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "fu jian sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 540000,'."\n"
- .' "divisionName": "西藏自治区",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "xi zang zi zhi qu"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 520000,'."\n"
- .' "divisionName": "贵州省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "gui zhou sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 210000,'."\n"
- .' "divisionName": "辽宁省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "liao ning sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 500000,'."\n"
- .' "divisionName": "重庆",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "chong qing"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 610000,'."\n"
- .' "divisionName": "陕西省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "shan xi sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 630000,'."\n"
- .' "divisionName": "青海省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "qing hai sheng"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "parentId": 1,'."\n"
- .' "divisionCode": 230000,'."\n"
- .' "divisionName": "黑龙江省",'."\n"
- .' "divisionLevel": 2,'."\n"
- .' "pinyin": "hei long jiang sheng"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'linkedmall.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'linkedmall.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'linkedmall.aliyuncs.com',
],
+ 'resourceTypes' => [],
],
];