提交 0a83a49c authored 作者: qhz's avatar qhz

【开发】修改erp对接文档

上级 2a3f89d6
# 聚水潭 erp 功能梳理
## 同步出库单
# 表结构变更
```
-- ydd_reimbursement ydd_fch_erp_open_config 增加 company_auth_code 字段
alter table ydd_fch_erp_open_config add `company_auth_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '企业永久授权码';
-- ydd_reimbursement ydd_fch_erp_open_config 修改 access_token 类型
alter table ydd_fch_erp_open_config MODIFY access_token varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL;
```
......@@ -9,8 +11,15 @@ alter table ydd_fch_erp_open_config MODIFY access_token varchar(500) COLLATE ut
# erp 对接数据
```
insert into ydd_fch_erp_open_config (`brand_id`, `erp_type`, `app_key`, `app_secret`, `status`, `customized_config`, `company_auth_code`)
values('10000064', 'tpuls-xh', 'xLHk32EF', '63C439881C980E11EF1A23E6B4179171', 1, '{"appTicket": "t-ec59b268ead74a07a2c415eff3e4ec9a","messageKey": "v28pDSY6YHyBE4nB", "userAuthCode": "up-7f0e968d37724faf94f3437fa40ed436"}', 'op-1fb96348cf86462387d837d21a23d1ec');
-- ydd_reimbursement ydd_fch_erp_open_config 增加erp 配置
insert into ydd_fch_erp_open_config (`brand_id`, `erp_type`, `app_key`, `app_secret`, `status`, `customized_config`, `company_auth_code`, `business_mark`)
values('10000064', 'tpuls-xh', 'xLHk32EF', '63C439881C980E11EF1A23E6B4179171', 1, '{"appTicket": "","messageKey": "v28pDSY6YHyBE4nB", "userAuthCode": "up-7f0e968d37724faf94f3437fa40ed436"}', 'op-1fb96348cf86462387d837d21a23d1ec', 1);
```
# t+ 后台消息订阅通知
UAT 防窜后台: http://online-order-api.uat.2vm.co/erp/tplusxh/index
正式 防窜后台地址: https://fch-api.windc.vip/erp/tplusxh/index
获取对应的:appTicket 数据
同时把对应的订阅通知URL,配置到 T+ 后台中
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论