1 Star 0 Fork 4

lions/WMJ_SQ_Sub_Location_Log

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
db_20191222.sql 2.70 KB
一键复制 编辑 原始数据 按行查看 历史
极客师傅 提交于 2019-12-22 23:54 . No commit message
DROP TABLE IF EXISTS `admin`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `admin` (
`id` int(11) NOT NULL,
`username` varchar(20) NOT NULL,
`password` char(32) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `admin`
--
LOCK TABLES `admin` WRITE;
/*!40000 ALTER TABLE `admin` DISABLE KEYS */;
INSERT INTO `admin` VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3');
/*!40000 ALTER TABLE `admin` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `config`
--
DROP TABLE IF EXISTS `config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `config` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`k` varchar(20) NOT NULL,
`v` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `config`
--
LOCK TABLES `config` WRITE;
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
INSERT INTO `config` VALUES (1,'wmj','{\"appid\":\"wmj_sP3ucguIBQU\",\"appsecret\":\"aOzP1QddgBC04KkLr2eOlujrD9VUDJTP\",\"aeskey\":\"\"}'),(2,'weixin','{\"appid\":\"\",\"appsecret\":\"\"}');
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `locks`
--
DROP TABLE IF EXISTS `locks`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `locks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL DEFAULT '',
`sn` varchar(20) NOT NULL DEFAULT '',
`sim` varchar(50) NOT NULL DEFAULT '',
`state` tinyint(1) NOT NULL,
`distance` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '开门距离单位米',
`lat` varchar(50) NOT NULL DEFAULT '' COMMENT '纬度',
`lng` varchar(50) NOT NULL DEFAULT '' COMMENT '经度',
`ctime` int(11) unsigned NOT NULL DEFAULT '0',
`utime` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `log`
--
DROP TABLE IF EXISTS `log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`lock_id` int(11) NOT NULL,
`type` tinyint(1) NOT NULL,
`nickname` varchar(255) NOT NULL,
`openid` varchar(60) NOT NULL,
`msg` varchar(255) NOT NULL,
`addtime` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/lionsun/WMJ_SQ_Sub_Location_Log.git
git@gitee.com:lionsun/WMJ_SQ_Sub_Location_Log.git
lionsun
WMJ_SQ_Sub_Location_Log
WMJ_SQ_Sub_Location_Log
master

搜索帮助