From 4893d5fe75506f029f47f186e6414d7a99dae764 Mon Sep 17 00:00:00 2001 From: Karson Date: Sat, 20 Jan 2018 17:16:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Efa=5Fsms=E8=A1=A8=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/command/Install/fastadmin.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/application/admin/command/Install/fastadmin.sql b/application/admin/command/Install/fastadmin.sql index f59db049..4bc8569d 100755 --- a/application/admin/command/Install/fastadmin.sql +++ b/application/admin/command/Install/fastadmin.sql @@ -337,6 +337,21 @@ INSERT INTO `fa_config` VALUES (16, 'mail_verify_type', 'email', 'Mail vertify t INSERT INTO `fa_config` VALUES (17, 'mail_from', 'email', 'Mail from', '', 'string', '10000@qq.com', '', '', ''); COMMIT; +-- ---------------------------- +-- Table structure for fa_sms +-- ---------------------------- +DROP TABLE IF EXISTS `fa_sms`; +CREATE TABLE `fa_sms` ( + `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID', + `event` varchar(30) NOT NULL DEFAULT '' COMMENT '事件', + `mobile` varchar(20) NOT NULL DEFAULT '' COMMENT '手机号', + `code` varchar(10) NOT NULL DEFAULT '' COMMENT '验证码', + `times` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '验证次数', + `ip` varchar(30) NOT NULL DEFAULT '' COMMENT 'IP', + `createtime` int(10) unsigned DEFAULT '0' COMMENT '创建时间', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='短信验证码表'; + -- ---------------------------- -- Table structure for fa_test -- ----------------------------