diff --git a/发版/2025/20250321-eBay电商订单对接发布.md b/发版/2025/20250423-电商订单对接发布.md similarity index 83% rename from 发版/2025/20250321-eBay电商订单对接发布.md rename to 发版/2025/20250423-电商订单对接发布.md index 5b97808..7267828 100644 --- a/发版/2025/20250321-eBay电商订单对接发布.md +++ b/发版/2025/20250423-电商订单对接发布.md @@ -3,7 +3,7 @@ - + -# 20250321-eBay电商订单对接发布 +# 电商订单对接发布 ## 发布说明 @@ -37,7 +37,7 @@ #### 数据库脚本DDL -##### qifu-saas-eg 数据库 +##### qifu-saas-eg数据库DDL ```sql /* @@ -255,10 +255,23 @@ CREATE TABLE `eg_spi` ROW_FORMAT = DYNAMIC; SET FOREIGN_KEY_CHECKS = 1; +``` + +##### qifu-saas-eg数据库DML +- 开发测试 +```sql +INSERT INTO `dev_qifu_saas_eg`.`eg_order_app` (`id`, `channel`, `client_id`, `client_secret`, `dev_id`, `scopes`, `redirect_uri`, `attach_info`, `create_user_id`, `create_by`, `create_time`, `update_user_id`, `update_by`, `update_time`, `deleted`) VALUES (1, 1, 'tianqu-test-SBX-55ece4188-dcfc278c', 'SBX-5ece4188b2df-fb25-4d1a-97f0-9a3b', '26f4c798-e3fb-4c24-a5de-fdb164bf1b46', 'https://api.ebay.com/oauth/api_scope+https://api.ebay.com/oauth/api_scope/buy.order.readonly+https://api.ebay.com/oauth/api_scope/buy.guest.order+https://api.ebay.com/oauth/api_scope/sell.marketing.readonly+https://api.ebay.com/oauth/api_scope/sell.marketing+https://api.ebay.com/oauth/api_scope/sell.inventory.readonly+https://api.ebay.com/oauth/api_scope/sell.inventory+https://api.ebay.com/oauth/api_scope/sell.account.readonly+https://api.ebay.com/oauth/api_scope/sell.account+https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly+https://api.ebay.com/oauth/api_scope/sell.fulfillment+https://api.ebay.com/oauth/api_scope/sell.analytics.readonly+https://api.ebay.com/oauth/api_scope/sell.marketplace.insights.readonly+https://api.ebay.com/oauth/api_scope/commerce.catalog.readonly+https://api.ebay.com/oauth/api_scope/buy.shopping.cart+https://api.ebay.com/oauth/api_scope/buy.offer.auction+https://api.ebay.com/oauth/api_scope/commerce.identity.readonly+https://api.ebay.com/oauth/api_scope/commerce.identity.email.readonly+https://api.ebay.com/oauth/api_scope/commerce.identity.phone.readonly+https://api.ebay.com/oauth/api_scope/commerce.identity.address.readonly+https://api.ebay.com/oauth/api_scope/commerce.identity.name.readonly+https://api.ebay.com/oauth/api_scope/commerce.identity.status.readonly+https://api.ebay.com/oauth/api_scope/sell.finances+https://api.ebay.com/oauth/api_scope/sell.payment.dispute+https://api.ebay.com/oauth/api_scope/sell.item.draft+https://api.ebay.com/oauth/api_scope/sell.item+https://api.ebay.com/oauth/api_scope/sell.reputation+https://api.ebay.com/oauth/api_scope/sell.reputation.readonly+https://api.ebay.com/oauth/api_scope/commerce.notification.subscription+https://api.ebay.com/oauth/api_scope/commerce.notification.subscription.readonly+https://api.ebay.com/oauth/api_scope/sell.stores+https://api.ebay.com/oauth/api_scope/sell.stores.readonly', 'tian_qu-tianqu-test-SBX-slrzpol', NULL, 0, '', 1, 0, '', 0, 0); +INSERT INTO `dev_qifu_saas_eg`.`eg_order_app` (`id`, `channel`, `client_id`, `client_secret`, `dev_id`, `scopes`, `redirect_uri`, `attach_info`, `create_user_id`, `create_by`, `create_time`, `update_user_id`, `update_by`, `update_time`, `deleted`) VALUES (2, 2, '6fn81nccklk04', '1d305669bc1c324c17ca277221220f06a58bbfb4', '7485328727696688901', NULL, '', NULL, 0, '', 1, 0, '', 0, 0); +INSERT INTO `dev_qifu_saas_eg`.`eg_order_app` (`id`, `channel`, `client_id`, `client_secret`, `dev_id`, `scopes`, `redirect_uri`, `attach_info`, `create_user_id`, `create_by`, `create_time`, `update_user_id`, `update_by`, `update_time`, `deleted`) VALUES (3, 3, 'amzn1.application-oa2-client.bffb2434f61744739a7b780bfae31e89', 'amzn1.oa2-cs.v1.cc5a2b4867c2ca2df72fc36cc271f087bfdd935f1c5b548148246372d2a43ab5', 'amzn1.sp.solution.af465d80-7973-416f-bcba-e821f1c0fc1e', NULL, 'https://wxwork.texous.cn/open/order/oauth/callback/3', NULL, 0, '', 1, 0, '', 0, 0); +INSERT INTO `dev_qifu_saas_eg`.`eg_order_app` (`id`, `channel`, `client_id`, `client_secret`, `dev_id`, `scopes`, `redirect_uri`, `attach_info`, `create_user_id`, `create_by`, `create_time`, `update_user_id`, `update_by`, `update_time`, `deleted`) VALUES (4, 4, '132783', 'RMS5Jt8B6jpjECsSKnb0sL2d2kLHrXSJ', '', NULL, 'https://wxwork.texous.cn/open/order/oauth/callback/4', NULL, 0, '', 1, 0, '', 0, 0); +``` + +- 生产 +```sql ``` -#### Nacos配置文件 +#### Nacos配置文件 (开发测试) ```yaml rocketmq: @@ -288,9 +301,9 @@ yuanmeng: ### 其余配置 -#### Ebay开发者平台配置 +#### 开发者平台配置 -1. 需要创建生产应用,并激活 +1. 各个平台需要创建生产应用,并激活 2. 添加 eg_order_app 表记录 3. 生产需要把 sandbox 链接改为 product 链接