mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 16:23:26 +08:00
制作微信支付和支付宝支付后台管理及业务处理
This commit is contained in:
43
数据库/MySql/20230424/升级脚本/1、创建表.txt
Normal file
43
数据库/MySql/20230424/升级脚本/1、创建表.txt
Normal file
@@ -0,0 +1,43 @@
|
||||
create table CoreCmsAlipayConfig
|
||||
(
|
||||
id int auto_increment comment '序列'
|
||||
primary key,
|
||||
appId varchar(50) charset utf8 not null comment '支付宝开放平台AppId',
|
||||
publicKey varchar(500) charset utf8 not null comment '支付宝公钥',
|
||||
privateKey varchar(2000) charset utf8 not null comment '应用私钥',
|
||||
serverUrl varchar(100) charset utf8 null comment '服务网关地址',
|
||||
signType varchar(10) charset utf8 null comment '签名类型',
|
||||
appPublicCert varchar(5000) charset utf8 null comment '应用公钥证书',
|
||||
alipayPublicCert varchar(5000) charset utf8 null comment '支付宝公钥证书',
|
||||
alipayRootCert varchar(5000) charset utf8 null comment '支付宝根证书',
|
||||
appType varchar(10) charset utf8 not null comment '应用类型',
|
||||
notifyUrl varchar(500) null comment '支付宝支付回调通知',
|
||||
refundUrl varchar(500) null comment '支付宝退款回调',
|
||||
jumpUrl varchar(500) null comment '支付跳转地址',
|
||||
isEnable bit not null comment '是否启用',
|
||||
isDefault bit not null comment '当前多端默认'
|
||||
)
|
||||
comment '支付宝支付配置';
|
||||
|
||||
|
||||
create table CoreCmsWeChatPayConfig
|
||||
(
|
||||
id int auto_increment comment '序列'
|
||||
primary key,
|
||||
appId varchar(50) not null comment '应用号',
|
||||
mchId varchar(50) not null comment '商户号',
|
||||
apiKey varchar(50) null comment 'API秘钥',
|
||||
apiV3Key varchar(50) null comment 'APIv3密钥',
|
||||
certificate varchar(8000) null comment 'p12证书base64',
|
||||
rsaPublicKey varchar(1000) null comment 'RSA公钥',
|
||||
subAppId varchar(50) null comment '子商户应用号',
|
||||
subMchId varchar(50) null comment '子商户号',
|
||||
notifyUrl varchar(200) null comment '支付回调通知',
|
||||
refundUrl varchar(200) null comment '退款回调',
|
||||
jumpUrl varchar(200) null comment '跳转地址',
|
||||
isEnable bit not null comment '是否开启',
|
||||
isDefault bit not null comment '是否本类默认',
|
||||
appType varchar(50) null comment '应用类型'
|
||||
)
|
||||
comment '微信支付配置';
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2023-04-24
|
||||
【新增】表【CoreCmsAlipayConfig】支付宝支付配置表
|
||||
【新增】表【CoreCmsWeChatPayConfig】微信支付配置表
|
||||
|
||||
2023-03-27
|
||||
【新增】表【CoreCmsTopUpType】充值规则类型表
|
||||
|
||||
|
||||
BIN
数据库/SqlServer/20230424/升级脚本/1、创建表.sql
Normal file
BIN
数据库/SqlServer/20230424/升级脚本/1、创建表.sql
Normal file
Binary file not shown.
@@ -1,3 +1,7 @@
|
||||
2023-04-24
|
||||
【新增】表【CoreCmsAlipayConfig】支付宝支付配置表
|
||||
【新增】表【CoreCmsWeChatPayConfig】微信支付配置表
|
||||
|
||||
2023-03-27
|
||||
【新增】表【CoreCmsTopUpType】充值规则类型表
|
||||
|
||||
|
||||
Reference in New Issue
Block a user