[2025-05-13] 完善发布
All checks were successful
Publish to Confluence / confluence (push) Successful in 1m17s

This commit is contained in:
liuxiaohua 2025-05-13 20:13:40 +08:00
parent 0fbe612ed2
commit 47ab6e13b1
2 changed files with 84 additions and 10 deletions

View File

@ -27,11 +27,11 @@
### 涉及项目
| 项目 | 分支 | 发布顺序 | 数据库变更 | 配置变更 | 负责人 | 备注 |
|-----------------|------------------------------------|------|-----------------------|-------------------------|-----|----------------------------|
| yuanmeng-engine | feat/20250311-engine-starter-cache | 1 | | | 刘晓华 | 升级 1.0.14 |
| yuanmeng-parent | feat/20250311-engine-starter-cache | 2 | | | 刘晓华 | 升级 1.0.14 |
| qifu-saas-eg | feat/20250304-e-commerce | 3 | [数据库脚本DDL](#数据库脚本DDL) | [Nacos配置文件](#Nacos配置文件) | 刘晓华 | 注意配置文件中需要修改的部分需要修改为对应环境的数据 |
| 项目 | 分支 | 发布顺序 | 数据库变更 | 配置变更 | 负责人 | 备注 |
|-----------------|---------------------------|------|-----------------------|-------------------------|-----|----------------------------|
| yuanmeng-engine | feat/20250429-web-satrter | 1 | | | 刘晓华 | 升级 1.0.14 |
| yuanmeng-parent | feat/20250429-web-satrter | 2 | | | 刘晓华 | 升级 1.0.14 |
| qifu-saas-eg | feat/20250304-e-commerce | 3 | [数据库脚本DDL](#数据库脚本DDL) | [Nacos配置文件](#Nacos配置文件) | 刘晓华 | 注意配置文件中需要修改的部分需要修改为对应环境的数据 |
### 附件
@ -258,15 +258,38 @@ 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);
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
```
@ -290,13 +313,23 @@ qifu:
token-url: https://api.sandbox.ebay.com/identity/v1/oauth2/token
order-url: https://api.sandbox.ebay.com/sell/fulfillment/v1/order
shipping-fulfillment-url: https://api.sandbox.ebay.com/sell/fulfillment/v1/order/{orderId}/shipping_fulfillment
challenge-verification-token: 'dfcDlKJ35c693cFi90Mc3CCiu776fsfgs'
notification-endpoint: 'https://wxwork.texous.cn/open/order/callback/1'
spi-consumer-group: qifuEgSpiConsumerGroup
yuanmeng:
redis:
cache-manager:
enable: true
web:
filter:
enable-user-login: true
external-url-list:
- "/v3/api-docs"
- "/callback"
- "/oauth"
- "/wework/verify"
- "/open/"
```
### 其余配置

View File

@ -0,0 +1,41 @@
<!-- Space: qifu -->
<!-- Parent: 后端技术&知识&规范 -->
<!-- Parent: 技术方案 -->
<!-- Parent: 基建 -->
<!-- Parent: 01-发布文档 -->
<!-- Title: 20250513-电商应用发布材料 -->
<!-- Macro: :anchor\((.*)\):
Template: ac:anchor
Anchor: ${1} -->
<!-- Macro: \!\[.*\]\((.+)\)\<\!\-\- width=(.*) \-\-\>
Template: ac:image
Url: ${1}
Width: ${2} -->
<!-- Macro: \<\!\-\- :toc: \-\-\>
Template: ac:toc
Printable: 'false'
MinLevel: 2
MaxLevel: 4 -->
<!-- Include: 杂项/声明文件.md -->
<!-- :toc: -->
# 电商应用发布材料
## 材料准备
### eBay
需要配置事件通知地址(服务已支撑)
- 操作界面https://developer.ebay.com/my/push?env=production&index=0
- 配置 email
- 配置 endpoint: 例如 `https://xxxxx.keyfil.com/qifu-saas-eg/open/order/callback/1``xxx.keyfil.com` 改为对应的环境
- 保存即可
### Lazada
### Tiktok
### Amazon
### Shopee