序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Title | nvarchar | 500 | 0 | 是 | 标题 | ||||
3 | MsgContent | nvarchar | 1000 | 0 | 是 | 信息内容 | ||||
4 | PushDevice | nvarchar | 500 | 0 | 是 | 推送设备 | ||||
5 | PushTag | nvarchar | 500 | 0 | 是 | 推送标识 | ||||
6 | PushAlias | nvarchar | 500 | 0 | 是 | 推送别名 | ||||
7 | PushPlat | int | 4 | 0 | 是 | 推送平台,1:极光,2:百度 | ||||
8 | PushType | nvarchar | 100 | 0 | 是 | 推送类型 alter,sms | ||||
9 | MsgType | nvarchar | 100 | 0 | 是 | 消息类型,使用文字备注 | ||||
10 | Remind | nvarchar | 500 | 0 | 是 | |||||
11 | Result | nvarchar | 4000 | 0 | 是 | 推送结果 | ||||
12 | CDate | datetime | 8 | 3 | 是 |
API推送消息表
GO
CREATE TABLE [dbo].[ZL_Mobile_PushMsg](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Title] [nvarchar](500) NULL,
[MsgContent] [nvarchar](1000) NULL,
[PushDevice] [nvarchar](500) NULL,
[PushTag] [nvarchar](500) NULL,
[PushAlias] [nvarchar](500) NULL,
[PushPlat] [int] NULL,
[PushType] [nvarchar](100) NULL,
[MsgType] [nvarchar](100) NULL,
[Remind] [nvarchar](500) NULL,
[Result] [nvarchar](4000) NULL,
[CDate] [datetime] NULL,
CONSTRAINT [PK_ZL_Mobile_PushList] 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]
detele from ZL_Mobile_PushMsg
drop table ZL_Mobile_PushMsg
TRUNCATE table ZL_Mobile_PushMsg