mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
27 lines
1.8 KiB
SQL
27 lines
1.8 KiB
SQL
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
|
`authorizer_appid` varchar(100) DEFAULT NULL COMMENT '公众号APPID',
|
|
`authorizer_access_token` varchar(200) DEFAULT NULL COMMENT '公众号Token',
|
|
`authorizer_refresh_token` varchar(200) DEFAULT NULL COMMENT '公众号刷新Token',
|
|
`func_info` varchar(100) DEFAULT NULL COMMENT '公众号集权',
|
|
`nick_name` varchar(50) DEFAULT NULL COMMENT '公众号昵称',
|
|
`head_img` varchar(200) DEFAULT NULL COMMENT '公众号头像',
|
|
`expires_in` bigint(20) DEFAULT NULL COMMENT 'Token有效时间',
|
|
`service_type` tinyint(2) DEFAULT NULL COMMENT '公众号实际类型',
|
|
`service_type_info` tinyint(2) DEFAULT NULL COMMENT '服务类型信息',
|
|
`verify_type` tinyint(2) DEFAULT NULL COMMENT '公众号实际认证类型',
|
|
`verify_type_info` tinyint(2) DEFAULT NULL COMMENT '公众号认证类型',
|
|
`user_name` varchar(100) DEFAULT NULL COMMENT '众众号原始账号',
|
|
`alias` varchar(100) DEFAULT NULL COMMENT '公众号别名',
|
|
`qrcode_url` varchar(200) DEFAULT NULL COMMENT '公众号二维码地址',
|
|
`business_info` varchar(255) DEFAULT NULL,
|
|
`principal_name` varchar(255) DEFAULT NULL COMMENT '公司名称',
|
|
`idc` tinyint(1) unsigned DEFAULT NULL,
|
|
`status` tinyint(1) unsigned DEFAULT '1' COMMENT '状态(1正常授权,0取消授权)',
|
|
`total` bigint(20) unsigned DEFAULT '0' COMMENT '统计调用次数',
|
|
`appkey` char(32) DEFAULT NULL COMMENT '接口KEY',
|
|
`appuri` varchar(255) DEFAULT NULL COMMENT '响应接口APP',
|
|
`create_by` bigint(20) DEFAULT NULL COMMENT '创建人ID',
|
|
`create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `index_wechat_config_authorizer_appid` (`authorizer_appid`) USING BTREE
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='公众号授权参数'; |