提交 4f608f5c authored 作者: qhz's avatar qhz

【开发】修改扫码配置

上级 af6b2ea5
...@@ -85,3 +85,35 @@ ...@@ -85,3 +85,35 @@
然后根据进行微信登录,然后通过微信unionid 和标志码 生成可登录业务端的token 然后根据进行微信登录,然后通过微信unionid 和标志码 生成可登录业务端的token
最后生成URL。携带登录的token 和 可自定义的参数。用于业务端的登录 最后生成URL。携带登录的token 和 可自定义的参数。用于业务端的登录
#### 扫码配置
```
CREATE TABLE `ydd_scan_code_sign` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`sign_sn` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '扫码核销标识',
`sign_name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '扫码核销功能',
`sign_domain` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '扫码核销跳转域名',
`write_type` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT '门店核销类型: 0:核销订单 2:跳转提货码页面 4:礼品 5:核销二维码 6:导购 7:核销权益卡 3:核销积分商城的礼品订单 8:核销优惠券 9:核销电商通订单。经销商: 4礼品 2 guidepoint',
`channel_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '0双端 1 门店端 2经销商端',
`create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
`update_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '修改时间',
`delete_time` int(11) DEFAULT NULL COMMENT '删除时间',
PRIMARY KEY (`id`),
UNIQUE KEY `unique_sign` (`sign_sn`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='扫码核销标识';
```
```
insert into ydd_scan_code_sign(`sign_sn`, `channel_type`, `sign_name`, `write_type`, `sign_domain`, `create_time`, `update_time`)
values
('mdxfzjf', 1, '核销消费者积分', '1', 'http://pps-api.uat.2vm.co/v4/writeoff', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()),
('mdyhg', 1, '核销优惠劵(消费劵、兑换劵)', '8', 'http://pps-api.uat.2vm.co/v4/writeoff', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()),
('mdyddd', 1, '核销云店商城订单', '0', 'http://pps-api.uat.2vm.co/v4/writeoff', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()),
('mdjfscdd', 1, '核销积分商城订单', '3', 'http://pps-api.uat.2vm.co/v4/writeoff', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()),
('yxlpdd', 0, '核销智能营销活动礼品订单', '4', 'http://pps-api.uat.2vm.co/v4/writeoff', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()),
('mddstdd', 1, '核销电商通的订单', '9', 'http://pps-api.uat.2vm.co/v4/writeoff', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()),
('mdydqyk', 1, '核销云店商城的权益卡', '7', 'http://pps-api.uat.2vm.co/v4/writeoff', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()),
('jxsdgjf', 2, '核销导购积分', 'guidepoint', 'http://pps-api.uat.2vm.co/v4/writeoff', UNIX_TIMESTAMP(), UNIX_TIMESTAMP());
```
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论