序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Name | nvarchar | 100 | 0 | 是 | 平台名称 | ||||
3 | APPKey | nvarchar | 500 | 0 | 是 | 平台Key | ||||
4 | APPSecret | nvarchar | 500 | 0 | 是 | 平台Secret | ||||
5 | UserName | nvarchar | 500 | 0 | 是 | 对应平台的用户名,有些平台需要这些换取信息 | ||||
6 | UserPwd | nvarchar | 500 | 0 | 是 | 对应平台的密码,有些平台需要这些换取信息 | ||||
7 | CallBack | nvarchar | 2000 | 0 | 是 | 平台回调URL | ||||
8 | Flag | nvarchar | 100 | 0 | 是 | 标识,根据标识取出对应的Key与Secret,标识不可重复 | ||||
9 | ZStatus | int | 4 | 0 | 是 | |||||
10 | CDate | datetime | 8 | 3 | 是 | |||||
11 | Remind | nvarchar | 200 | 0 | 是 | |||||
12 | APPID | nvarchar | 50 | 0 | 是 | 平台APPID |
平台接口配置表
GO
CREATE TABLE [dbo].[ZL_Third_PlatInfo](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](100) NULL,
[APPKey] [nvarchar](500) NULL,
[APPSecret] [nvarchar](500) NULL,
[UserName] [nvarchar](500) NULL,
[UserPwd] [nvarchar](500) NULL,
[CallBack] [nvarchar](2000) NULL,
[Flag] [nvarchar](100) NULL,
[ZStatus] [int] NULL,
[CDate] [datetime] NULL,
[Remind] [nvarchar](200) NULL,
[APPID] [nvarchar](50) NULL,
CONSTRAINT [PK_ZL_API_PlatInfo] PRIMARY KEY CLUSTERED
([ID] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) ON [PRIMARY]
----------------------------Data Import
GO
SET IDENTITY_INSERT [ZL_Third_PlatInfo] ON
INSERT [ZL_Third_PlatInfo] ([ID],[Name],[APPKey],[APPSecret],[UserName],[UserPwd],[Flag],[ZStatus],[CDate]) VALUES ( 1,N'版权印',N'24165684208467970',N'',N'whatclass',N'123123',N'版权印',0,N'2016/5/14 11:09:11')
INSERT [ZL_Third_PlatInfo] ([ID],[Name],[APPKey],[APPSecret],[Flag],[ZStatus],[CDate]) VALUES ( 2,N'飞印打印',N'123',N'123',N'飞印打印',0,N'2016/5/14 11:11:30')
INSERT [ZL_Third_PlatInfo] ([ID],[Name],[APPKey],[APPSecret],[Flag],[ZStatus],[CDate]) VALUES ( 3,N'百度翻译',N'20160202000010557',N'Lk4ulnuPcFf7pLQc0weE',N'百度翻译',0,N'2016/5/14 11:11:45')
INSERT [ZL_Third_PlatInfo] ([ID],[Name],[APPKey],[APPSecret],[Flag],[ZStatus],[CDate]) VALUES ( 4,N'头条号',N'Client_Key',N'Client_Secret',N'头条号',0,N'2016/12/25 15:38:42')
SET IDENTITY_INSERT [ZL_Third_PlatInfo] OFF
detele from ZL_Third_PlatInfo
drop table ZL_Third_PlatInfo
TRUNCATE table ZL_Third_PlatInfo