序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | PayPlatID | int | 4 | 0 | 是 | 是 | 否 | 支付平台ID | ||
2 | UID | int | 4 | 0 | 否 | 支付平台UID | ||||
3 | PayClass | int | 4 | 0 | 是 | 平台分类 | ||||
4 | PayPlatName | nvarchar | 255 | 0 | 否 | 支付平台名 | ||||
5 | AccountID | nvarchar | 255 | 0 | 是 | 支付平台商户ID | ||||
6 | MD5Key | nvarchar | 255 | 0 | 是 | 支付平台商户安全校验码 | ||||
7 | SellerEmail | nvarchar | 255 | 0 | 是 | 卖家Email如支付宝需要的卖家Email | ||||
8 | IsDisabled | bit | 1 | 0 | 是 | 是否禁用 | ||||
9 | IsDefault | bit | 1 | 0 | 是 | 是否默认支付平台 | ||||
10 | Rate | float | 8 | 0 | 是 | 手续费 | ||||
11 | OrderID | int | 4 | 0 | 是 | 排序ID | ||||
12 | payType | nvarchar | 50 | 0 | 是 | 支付卡类型 zfk ,a等 | ||||
13 | leadtoGroup | nvarchar | 500 | 0 | 是 | 这个通道属于的用户组,各个用户组表示:‘,***,’ | ||||
14 | PayPlatinfo | nvarchar | 1000 | 0 | 是 | 备注 | ||||
15 | PrivateKey | nvarchar | 200 | 0 | 是 | 支付平台私钥或证书路径 | ||||
16 | PublicKey | nvarchar | 200 | 0 | 是 | 支付平台公钥或证书路径 | ||||
17 | Other | nvarchar | 3000 | 0 | 是 | 支付平台备溢于言表信息 | ||||
18 | PrivateKey_Pwd | nvarchar | 200 | 0 | 是 | 私钥密钥 | ||||
19 | Secret | nvarchar | 500 | 0 | 是 | 支付平台Secret | ||||
20 | Remind | nvarchar | 500 | 0 | 是 |
在线支付表
GO
CREATE TABLE [dbo].[ZL_PayPlat](
[PayPlatID] [int] IDENTITY(1,1) NOT NULL,
[UID] [int] NOT NULL,
[PayClass] [int] NULL,
[PayPlatName] [nvarchar](255) NOT NULL,
[AccountID] [nvarchar](255) NULL,
[MD5Key] [nvarchar](255) NULL,
[SellerEmail] [nvarchar](255) NULL,
[IsDisabled] [bit] NULL,
[IsDefault] [bit] NULL,
[Rate] [float] NULL,
[OrderID] [int] NULL,
[payType] [nvarchar](50) NULL,
[leadtoGroup] [nvarchar](500) NULL,
[PayPlatinfo] [nvarchar](1000) NULL,
[PrivateKey] [nvarchar](200) NULL,
[PublicKey] [nvarchar](200) NULL,
[Other] [nvarchar](3000) NULL,
[PrivateKey_Pwd] [nvarchar](200) NULL,
[Secret] [nvarchar](500) NULL,
[Remind] [nvarchar](500) NULL,
CONSTRAINT [PK_ZL_PayPlat] PRIMARY KEY CLUSTERED
([PayPlatID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET IDENTITY_INSERT [ZL_PayPlat] ON
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 1,0,99,N'线下支付',N'offline',N'offline',0,0,0,1)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 2,0,12,N'支付宝[即时到账]',N'',N'',1,0,0,2)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 3,0,13,N'支付宝[手机网页支付]',N'',N'',1,0,0,3)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 4,0,15,N'支付宝[网银]',N'',N'',1,0,0,4)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 5,0,21,N'微信支付',N'微信支付',N'微信支付',1,0,0,5)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 6,0,3,N'银联',N'',N'',1,0,0,6)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 7,0,9,N'中国银联',N'',N'',1,0,0,7)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 8,0,2,N'快钱',N'',N'',1,0,0,8)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 9,0,26,N'工行支付',N'',N'',1,0,0,9)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 10,0,23,N'南昌工商银行',N'',N'',1,0,0,10)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 11,0,25,N'贝付通',N'',N'',1,0,0,11)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 12,0,27,N'汇潮支付',N'',N'',1,0,0,12)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 13,0,17,N'PayPal',N'',N'',1,0,0,13)
INSERT [ZL_PayPlat] ([PayPlatID],[UID],[PayClass],[PayPlatName],[AccountID],[MD5Key],[IsDisabled],[IsDefault],[Rate],[OrderID]) VALUES ( 14,0,100,N'货到付款',N'',N'',1,0,0,14)
SET IDENTITY_INSERT [ZL_PayPlat] OFF
detele from ZL_PayPlat
drop table ZL_PayPlat
TRUNCATE table ZL_PayPlat