Files
webman-buildadmin/database/webman-buildadmin-dafuweng_20260401171133_backup.sql
2026-04-01 17:12:50 +08:00

868 lines
131 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- MySQL dump 10.13 Distrib 8.0.12, for Win64 (x86_64)
--
-- Host: localhost Database: webman-buildadmin-dafuweng
-- ------------------------------------------------------
-- Server version 8.0.12
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
SET NAMES utf8 ;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `admin`
--
DROP TABLE IF EXISTS `admin`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `admin` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`username` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '用户名',
`nickname` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '昵称',
`avatar` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '头像',
`email` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '邮箱',
`mobile` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '手机',
`login_failure` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '登录失败次数',
`last_login_time` bigint(16) unsigned DEFAULT NULL COMMENT '上次登录时间',
`last_login_ip` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '上次登录IP',
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '密码',
`salt` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '密码盐(废弃待删)',
`motto` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '签名',
`status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '状态:enable=启用,disable=禁用',
`update_time` bigint(16) unsigned DEFAULT NULL COMMENT '更新时间',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='管理员表';
/*!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','Admin','','admin@buildadmin.com','18888888888',0,1775034484,'127.0.0.1','$2y$10$uzDFH1P04rAxP4cy3zhUce.mwrPG9YY/4kZrrvq82LgZ3cpIpXlSS','','','enable',1775034484,1775022962),(2,'admin1','测试渠道超管1','/storage/default/20260401/100px-页面_宠物_立绘_c1f1c5b029d71c096be47fb91195b8724346f073.png','','',0,NULL,'','$2y$10$QYX6RKVPacRhqBu0hGrfk.UkdM.R5aPoM68gymWE31Q7FEE74IRZ.','','','enable',1775026617,1775026617),(3,'admin2','游戏测试2组','','','',0,NULL,'','$2y$10$/6GXVvDV2AzecpZcY3X7cOJO9DtDtvI4Cjt7YaLpiT37mCbl1jaiS','','','enable',1775026658,1775026658),(4,'zhuguan1','游戏测试1组-主管','','','',0,NULL,'','$2y$10$L57nGrOQCic6cU4NZqMsueG/5jUdmjnCQbpqORzr55F52M/0qp7pW','','','enable',1775030948,1775030948),(5,'zhuguan2','游戏测试2组-主管','','','',0,NULL,'','$2y$10$ud4tZ0mq9KxD7FBEgIY70.TyfxQHUZFjShK9ReScWrTpx7t7SpR5G','','','enable',1775030976,1775030976);
/*!40000 ALTER TABLE `admin` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `admin_group`
--
DROP TABLE IF EXISTS `admin_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `admin_group` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`pid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '上级分组',
`name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '组名',
`rules` text COLLATE utf8mb4_unicode_ci COMMENT '权限规则ID',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态:0=禁用,1=启用',
`update_time` bigint(16) unsigned DEFAULT NULL COMMENT '更新时间',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='管理分组表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `admin_group`
--
LOCK TABLES `admin_group` WRITE;
/*!40000 ALTER TABLE `admin_group` DISABLE KEYS */;
INSERT INTO `admin_group` VALUES (1,0,'超级管理组','*',1,1775022962,1775022962),(2,1,'一级管理员','1,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,77,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,89',1,1775022962,1775022962),(3,2,'二级管理员','21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43',1,1775022962,1775022962),(4,3,'三级管理员','55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75',1,1775022962,1775022962),(5,0,'游戏测试1组','1,89,2,3,7,6,5,4,8,12,11,10,9,13,18,17,16,15,14,19,20,90,91,96,95,94,93,92',1,1775026629,1775026281),(6,0,'游戏测试2组','1,89,2,3,7,6,5,4,8,12,11,10,9,13,18,17,16,15,14,19,20,90,91,96,95,94,93,92',1,1775026316,1775026316),(7,5,'游戏测试1组-主管','1,89,2,3,7,6,5,4,8,12,11,10,9,13,18,17,16,15,14,19,20,97,102,101,100,99,98,90',1,1775030873,1775030867),(8,6,'游戏测试2组-主管','1,89,2,3,7,6,5,4,8,12,11,10,9,13,18,17,16,15,14,19,20,97,102,101,100,99,98,90',1,1775030892,1775030892),(9,0,'游戏测试3组','1,89,2,3,7,6,5,4,8,12,11,10,9,13,18,17,16,15,14,19,20,90,97,102,101,100,99,98,91,96,95,94,93,92',1,1775030906,1775030906);
/*!40000 ALTER TABLE `admin_group` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `admin_group_access`
--
DROP TABLE IF EXISTS `admin_group_access`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `admin_group_access` (
`uid` int(11) unsigned NOT NULL COMMENT '管理员ID',
`group_id` int(11) unsigned NOT NULL COMMENT '分组ID',
KEY `uid` (`uid`),
KEY `group_id` (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='管理分组映射表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `admin_group_access`
--
LOCK TABLES `admin_group_access` WRITE;
/*!40000 ALTER TABLE `admin_group_access` DISABLE KEYS */;
INSERT INTO `admin_group_access` VALUES (1,1),(2,5),(3,6),(4,7),(5,8);
/*!40000 ALTER TABLE `admin_group_access` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `admin_log`
--
DROP TABLE IF EXISTS `admin_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `admin_log` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`admin_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '管理员ID',
`username` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '管理员用户名',
`url` varchar(1500) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '操作Url',
`title` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '日志标题',
`data` longtext COLLATE utf8mb4_unicode_ci COMMENT '请求数据',
`ip` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'IP',
`useragent` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'User-Agent',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='管理员日志表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `admin_log`
--
LOCK TABLES `admin_log` WRITE;
/*!40000 ALTER TABLE `admin_log` DISABLE KEYS */;
INSERT INTO `admin_log` VALUES (1,0,'未知','//localhost:8787/admin/ajax/clearCache','未知(clearCache)','{\"type\":\"all\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775023381),(2,1,'admin','//localhost:8787/admin/Index/login','登录','{\"username\":\"admin\",\"password\":\"***\",\"keep\":false,\"captchaId\":\"ac600599-cc79-4df1-9762-198f0f5b68ff\",\"captchaInfo\":\"176,103-91,134;350;200\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775023400),(3,1,'admin','//localhost:8787/admin/Index/login','登录','{\"username\":\"admin\",\"password\":\"***\",\"keep\":false,\"captchaId\":\"8313cbd7-f9e8-4d7c-a0da-d64db43f3b6d\",\"captchaInfo\":\"\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775023754),(4,1,'admin','//localhost:8787/admin/crud.Crud/generateCheck','CRUD代码生成-生成前预检','{\"table\":\"game_channel\",\"connection\":null,\"webViewsDir\":\"web\\/src\\/views\\/backend\\/game\\/channel\",\"controllerFile\":\"app\\/admin\\/controller\\/game\\/Channel.php\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775024539),(5,1,'admin','//localhost:8787/admin/crud.Crud/generate','未知(generate)','{\"type\":\"create\",\"table\":{\"name\":\"game_channel\",\"comment\":\"渠道管理\",\"quickSearchField\":[\"id\",\"code\",\"name\"],\"defaultSortField\":\"id\",\"formFields\":[\"name\",\"remark\",\"admin_id\",\"status\",\"code\"],\"columnFields\":[\"id\",\"name\",\"user_count\",\"profit_amount\",\"create_time\",\"update_time\",\"status\",\"code\"],\"defaultSortType\":\"desc\",\"generateRelativePath\":\"game_channel\",\"isCommonModel\":1,\"modelFile\":\"app\\/common\\/model\\/GameChannel.php\",\"controllerFile\":\"app\\/admin\\/controller\\/game\\/Channel.php\",\"validateFile\":\"app\\/common\\/validate\\/GameChannel.php\",\"webViewsDir\":\"web\\/src\\/views\\/backend\\/game\\/channel\",\"databaseConnection\":null,\"designChange\":[],\"rebuild\":\"No\"},\"fields\":[{\"title\":\"主键\",\"name\":\"id\",\"comment\":\"ID\",\"designType\":\"pk\",\"formBuildExclude\":true,\"table\":{\"width\":70,\"operator\":\"RANGE\",\"sortable\":\"custom\"},\"form\":[],\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NONE\",\"null\":false,\"primaryKey\":true,\"unsigned\":true,\"autoIncrement\":true,\"uuid\":\"e590c47d-3de8-4b9d-9233-35037259c31b\"},{\"title\":\"字符串\",\"name\":\"code\",\"comment\":\"渠道标识\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"b0db6092-45ad-4784-b549-d5c7595100df\"},{\"title\":\"字符串\",\"name\":\"name\",\"comment\":\"渠道\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"6e3d7775-939a-48c6-862b-912b961cdee9\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"admin_id\",\"comment\":\"渠道管理员\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"username\",\"remote-table\":\"admin\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\auth\\\\Admin.php\",\"remote-model\":\"app\\\\admin\\\\model\\\\Admin.php\",\"relation-fields\":\"username\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"2a2d1bac-6406-4488-8626-760b0504f5b7\"},{\"title\":\"数字\",\"name\":\"user_count\",\"comment\":\"用户数\",\"designType\":\"number\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"RANGE\"},\"form\":{\"validator\":[\"integer\"],\"validatorMsg\":\"\",\"step\":1},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"8e98e5e0-6300-4c91-91d1-013b45ee5025\"},{\"title\":\"浮点数\",\"name\":\"profit_amount\",\"type\":\"decimal\",\"length\":5,\"precision\":2,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"comment\":\"利润\",\"designType\":\"float\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"RANGE\"},\"form\":{\"validator\":[\"float\"],\"validatorMsg\":\"\",\"step\":1},\"uuid\":\"6aa38660-d9ea-4242-b3fd-35f5bb3d61dc\"},{\"title\":\"状态\",\"name\":\"status\",\"comment\":\"状态:0=禁用,1=启用\",\"designType\":\"switch\",\"table\":{\"operator\":\"eq\",\"sortable\":\"false\",\"render\":\"switch\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\"},\"type\":\"tinyint\",\"length\":1,\"precision\":0,\"default\":\"1\",\"defaultType\":\"INPUT\",\"null\":false,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"d1c4c3ee-2824-481e-b104-0870d26cc0c0\"},{\"title\":\"备注\",\"name\":\"remark\",\"comment\":\"备注\",\"designType\":\"textarea\",\"tableBuildExclude\":true,\"table\":{\"operator\":\"false\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\",\"rows\":3},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"e32dfa84-9af7-40b3-b56f-852a125a96fa\"},{\"title\":\"创建时间\",\"name\":\"create_time\",\"comment\":\"创建时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"20111342-c41b-4f9d-bd61-412c3caba959\"},{\"title\":\"修改时间\",\"name\":\"update_time\",\"comment\":\"修改时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"593a8557-fe89-4ffe-95b2-91523e8feea7\"}]}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775024539),(6,1,'admin','//localhost:8787/admin/game.Channel/add','未知(add)','{\"status\":\"1\",\"admin_id\":\"1\",\"code\":\"test_game\",\"name\":\"测试渠道\",\"remark\":\"这是测试渠道\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775025725),(7,1,'admin','//localhost:8787/admin/game.Channel/add','未知(add)','{\"status\":\"1\",\"admin_id\":\"1\",\"code\":\"test_game\",\"name\":\"测试渠道\",\"remark\":\"这是测试渠道\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775025976),(8,1,'admin','//localhost:8787/admin/auth.Group/add','未知(add)','{\"status\":1,\"pid\":0,\"name\":\"游戏测试组\",\"rules\":[1,89,2,3,7,6,5,4,8,12,11,10,9,13,18,17,16,15,14,19,20,90,91,96,95,94,93,92]}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026281),(9,1,'admin','//localhost:8787/admin/auth.Group/add','未知(add)','{\"status\":1,\"pid\":0,\"name\":\"游戏测试2组\",\"rules\":[1,89,2,3,7,6,5,4,8,12,11,10,9,13,18,17,16,15,14,19,20,90,91,96,95,94,93,92]}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026316),(10,1,'admin','//localhost:8787/admin/crud.Crud/logStart','CRUD代码生成-从历史记录开始','{\"id\":1,\"type\":\"\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026328),(11,1,'admin','//localhost:8787/admin/crud.Crud/generateCheck','CRUD代码生成-生成前预检','{\"table\":\"game_channel\",\"connection\":null,\"webViewsDir\":\"web\\/src\\/views\\/backend\\/game\\/channel\",\"controllerFile\":\"app\\/admin\\/controller\\/game\\/Channel.php\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026506),(12,1,'admin','//localhost:8787/admin/crud.Crud/generate','未知(generate)','{\"type\":\"log\",\"table\":{\"name\":\"game_channel\",\"comment\":\"渠道管理\",\"quickSearchField\":[\"id\",\"code\",\"name\"],\"defaultSortField\":\"id\",\"formFields\":[\"name\",\"remark\",\"status\",\"code\",\"admin_group_id\",\"admin_id\"],\"columnFields\":[\"id\",\"name\",\"user_count\",\"profit_amount\",\"create_time\",\"update_time\",\"status\",\"code\"],\"defaultSortType\":\"desc\",\"generateRelativePath\":\"game_channel\",\"isCommonModel\":1,\"modelFile\":\"app\\/common\\/model\\/GameChannel.php\",\"controllerFile\":\"app\\/admin\\/controller\\/game\\/Channel.php\",\"validateFile\":\"app\\/common\\/validate\\/GameChannel.php\",\"webViewsDir\":\"web\\/src\\/views\\/backend\\/game\\/channel\",\"databaseConnection\":null,\"designChange\":[{\"type\":\"del-field\",\"oldName\":\"admin_id\",\"newName\":\"\",\"sync\":true},{\"type\":\"add-field\",\"index\":9,\"newName\":\"admin_group_id\",\"oldName\":\"\",\"after\":\"remark\",\"sync\":true},{\"type\":\"change-field-attr\",\"index\":2,\"oldName\":\"name\",\"newName\":\"\",\"sync\":true},{\"type\":\"add-field\",\"index\":10,\"newName\":\"admin_id\",\"oldName\":\"\",\"after\":\"remark\",\"sync\":true}],\"rebuild\":\"No\",\"empty\":false},\"fields\":[{\"title\":\"主键\",\"name\":\"id\",\"comment\":\"ID\",\"designType\":\"pk\",\"formBuildExclude\":true,\"table\":{\"width\":70,\"operator\":\"RANGE\",\"sortable\":\"custom\"},\"form\":[],\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NONE\",\"null\":false,\"primaryKey\":true,\"unsigned\":true,\"autoIncrement\":true,\"uuid\":\"066f98c0-db0c-4bed-9e44-e6fd3531df99\"},{\"title\":\"字符串\",\"name\":\"code\",\"comment\":\"渠道标识\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"21702f5c-5084-4d09-b591-a16d5702a9d0\"},{\"title\":\"字符串\",\"name\":\"name\",\"comment\":\"渠道名\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"e9a5b2d2-b2bb-4466-afed-85b6889e33a9\"},{\"title\":\"数字\",\"name\":\"user_count\",\"comment\":\"用户数\",\"designType\":\"number\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"RANGE\"},\"form\":{\"validator\":[\"integer\"],\"validatorMsg\":\"\",\"step\":1},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"2d3cfddd-97a7-44db-a76b-cd4fce580fa3\"},{\"title\":\"浮点数\",\"name\":\"profit_amount\",\"type\":\"decimal\",\"length\":5,\"precision\":2,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"comment\":\"利润\",\"designType\":\"float\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"RANGE\"},\"form\":{\"validator\":[\"float\"],\"validatorMsg\":\"\",\"step\":1},\"uuid\":\"a430ad3f-bf61-4be9-b63e-3decb371e8de\"},{\"title\":\"状态\",\"name\":\"status\",\"comment\":\"状态:0=禁用,1=启用\",\"designType\":\"switch\",\"table\":{\"operator\":\"eq\",\"sortable\":\"false\",\"render\":\"switch\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\"},\"type\":\"tinyint\",\"length\":1,\"precision\":0,\"default\":\"1\",\"defaultType\":\"INPUT\",\"null\":false,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"c07946b5-27f3-4d51-a347-a2a614d580ef\"},{\"title\":\"备注\",\"name\":\"remark\",\"comment\":\"备注\",\"designType\":\"textarea\",\"tableBuildExclude\":true,\"table\":{\"operator\":\"false\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\",\"rows\":3},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"ab09ed37-30a4-48b4-a524-2c021f13cc5d\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"admin_group_id\",\"comment\":\"管理角色组\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"name\",\"remote-table\":\"admin_group\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\auth\\\\Group.php\",\"remote-model\":\"app\\\\admin\\\\model\\\\AdminGroup.php\",\"relation-fields\":\"name\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"def64dda-5b7a-4cb3-9d83-688d370c3d77\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"admin_id\",\"comment\":\"管理员\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"username\",\"remote-table\":\"admin\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\auth\\\\Admin.php\",\"remote-model\":\"app\\\\admin\\\\model\\\\Admin.php\",\"relation-fields\":\"username\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"357d99cd-1bf5-4759-b733-e4fa16332b71\"},{\"title\":\"创建时间\",\"name\":\"create_time\",\"comment\":\"创建时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"a377a7cd-3c68-4b7a-a129-d62b0a3b61c3\"},{\"title\":\"修改时间\",\"name\":\"update_time\",\"comment\":\"修改时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"775b1311-c9d6-4640-a5c6-8bbaabbaa00a\"}]}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026508),(13,1,'admin','//localhost:8787/admin/game.Channel/edit','未知(edit)','{\"id\":1,\"code\":\"test_game_one\",\"name\":\"测试渠道1\",\"user_count\":null,\"profit_amount\":null,\"status\":1,\"remark\":\"这是测试渠道1\",\"admin_id\":\"1\",\"admin_group_id\":\"5\",\"create_time\":1775025976,\"update_time\":1775025976}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026582),(14,1,'admin','//localhost:8787/admin/ajax/upload','上传文件','{\"uuid\":\"617e2e1f-d939-4e8e-9751-6b28befacaf1\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026612),(15,1,'admin','//localhost:8787/admin/auth.Admin/add','未知(add)','{\"status\":\"enable\",\"group_arr\":[\"5\"],\"username\":\"admin1\",\"nickname\":\"测试渠道超管1\",\"avatar\":\"\\/storage\\/default\\/20260401\\/100px-页面_宠物_立绘_c1f1c5b029d71c096be47fb91195b8724346f073.png\",\"password\":\"***\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026617),(16,1,'admin','//localhost:8787/admin/auth.Group/edit','未知(edit)','{\"id\":5,\"pid\":0,\"name\":\"游戏测试1组\",\"rules\":[1,89,2,3,7,6,5,4,8,12,11,10,9,13,18,17,16,15,14,19,20,90,91,96,95,94,93,92],\"status\":1,\"update_time\":1775026281,\"create_time\":1775026281}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026629),(17,1,'admin','//localhost:8787/admin/auth.Admin/add','未知(add)','{\"status\":\"enable\",\"group_arr\":[\"6\"],\"username\":\"admin2\",\"nickname\":\"游戏测试2组\",\"password\":\"***\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026658),(18,1,'admin','//localhost:8787/admin/game.Channel/edit','未知(edit)','{\"id\":1,\"code\":\"test_game_one\",\"name\":\"测试渠道1\",\"user_count\":null,\"profit_amount\":null,\"status\":1,\"remark\":\"这是测试渠道1\",\"admin_id\":\"2\",\"admin_group_id\":\"5\",\"create_time\":1775025976,\"update_time\":1775026582}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026673),(19,1,'admin','//localhost:8787/admin/game.Channel/add','未知(add)','{\"status\":\"1\",\"admin_group_id\":\"6\",\"admin_id\":\"3\",\"code\":\"test_game_two\",\"name\":\"测试渠道2\",\"remark\":\"这是测试渠道2\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026721),(20,1,'admin','//localhost:8787/admin/crud.Crud/logStart','CRUD代码生成-从历史记录开始','{\"id\":2,\"type\":\"\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775026808),(21,1,'admin','//localhost:8787/admin/crud.Crud/generateCheck','CRUD代码生成-生成前预检','{\"table\":\"game_user\",\"connection\":null,\"webViewsDir\":\"web\\/src\\/views\\/backend\\/game\\/user\",\"controllerFile\":\"app\\/admin\\/controller\\/game\\/User.php\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775028742),(22,1,'admin','//localhost:8787/admin/crud.Crud/generate','未知(generate)','{\"type\":\"create\",\"table\":{\"name\":\"game_user\",\"comment\":\"用户管理\",\"quickSearchField\":[\"id\",\"username\",\"phone\"],\"defaultSortField\":\"id\",\"formFields\":[\"username\",\"password\",\"phone\",\"remark\",\"coin\",\"game_channel_id\",\"admin_id\"],\"columnFields\":[\"id\",\"username\",\"uuid\",\"phone\",\"coin\",\"create_time\",\"create_time1\"],\"defaultSortType\":\"desc\",\"generateRelativePath\":\"game_user\",\"isCommonModel\":1,\"modelFile\":\"app\\/common\\/model\\/GameUser.php\",\"controllerFile\":\"app\\/admin\\/controller\\/game\\/User.php\",\"validateFile\":\"app\\/common\\/validate\\/GameUser.php\",\"webViewsDir\":\"web\\/src\\/views\\/backend\\/game\\/user\",\"databaseConnection\":null,\"designChange\":[],\"rebuild\":\"No\"},\"fields\":[{\"title\":\"主键\",\"name\":\"id\",\"comment\":\"ID\",\"designType\":\"pk\",\"formBuildExclude\":true,\"table\":{\"width\":70,\"operator\":\"RANGE\",\"sortable\":\"custom\"},\"form\":[],\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NONE\",\"null\":false,\"primaryKey\":true,\"unsigned\":true,\"autoIncrement\":true,\"uuid\":\"23e7b867-f93b-40cf-8439-a676d9c238df\"},{\"title\":\"字符串\",\"name\":\"username\",\"comment\":\"用户名\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"eb47efa5-4e6f-47ec-a8b7-13b17781a0c0\"},{\"title\":\"密码\",\"name\":\"password\",\"comment\":\"密码\",\"designType\":\"password\",\"tableBuildExclude\":true,\"table\":{\"operator\":\"false\"},\"form\":{\"validator\":[\"password\",\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":32,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"a195c88f-7fec-4796-97ed-0ec9f8df1254\"},{\"title\":\"字符串\",\"name\":\"uuid\",\"comment\":\"用户唯一标识\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"e111afbd-eba4-443f-a270-8d2026ec196a\"},{\"title\":\"字符串\",\"name\":\"phone\",\"comment\":\"手机号\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"84637a97-ab2d-4808-a75d-a9ed08388b22\"},{\"title\":\"备注\",\"name\":\"remark\",\"comment\":\"备注\",\"designType\":\"textarea\",\"tableBuildExclude\":true,\"table\":{\"operator\":\"false\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\",\"rows\":3},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"cdadfaaf-4d14-43ef-bea4-f569a5944b1c\"},{\"title\":\"浮点数\",\"name\":\"coin\",\"type\":\"decimal\",\"length\":5,\"precision\":2,\"defaultType\":\"INPUT\",\"null\":true,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"comment\":\"平台币\",\"designType\":\"float\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"RANGE\"},\"form\":{\"validator\":[\"number\"],\"validatorMsg\":\"\",\"step\":1},\"uuid\":\"1a6ba5f5-3d4d-4041-91ad-9cbe5746a038\",\"default\":\"0\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"game_channel_id\",\"comment\":\"所属渠道\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"name\",\"remote-table\":\"game_channel\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\game\\\\Channel.php\",\"remote-model\":\"app\\\\common\\\\model\\\\GameChannel.php\",\"relation-fields\":\"name\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"07125609-9800-4335-a6a5-7afb0e0b538c\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"admin_id\",\"comment\":\"所属管理员\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"username\",\"remote-table\":\"admin\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\auth\\\\Admin.php\",\"remote-model\":\"app\\\\admin\\\\model\\\\Admin.php\",\"relation-fields\":\"username\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"5c411d6c-3af7-4734-920b-b0b8f8f170ec\"},{\"title\":\"创建时间\",\"name\":\"create_time\",\"comment\":\"创建时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"4d0e2cf6-b034-4153-9191-22305375f1c0\"},{\"title\":\"创建时间\",\"name\":\"create_time1\",\"comment\":\"创建时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"2c7c0661-779d-4fd9-99ce-2845b3be99cb\"}]}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775028742),(23,1,'admin','//localhost:8787/admin/game.User/add','未知(add)','{\"game_channel_id\":\"1\",\"admin_id\":\"2\",\"username\":\"+60123456789\",\"password\":\"***\",\"phone\":\"+60123456789\",\"remark\":\"测试渠道1用户名+60123456789\",\"coin\":0}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775028800),(24,1,'admin','//localhost:8787/admin/crud.Crud/logStart','CRUD代码生成-从历史记录开始','{\"id\":3,\"type\":\"\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775028883),(25,1,'admin','//localhost:8787/admin/crud.Crud/generateCheck','CRUD代码生成-生成前预检','{\"table\":\"game_user\",\"connection\":null,\"webViewsDir\":\"web\\/src\\/views\\/backend\\/game\\/user\",\"controllerFile\":\"app\\/admin\\/controller\\/game\\/User.php\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775028905),(26,1,'admin','//localhost:8787/admin/crud.Crud/generate','未知(generate)','{\"type\":\"log\",\"table\":{\"name\":\"game_user\",\"comment\":\"用户管理\",\"quickSearchField\":[\"id\",\"username\",\"phone\"],\"defaultSortField\":\"id\",\"formFields\":[\"username\",\"password\",\"phone\",\"remark\",\"coin\",\"game_channel_id\",\"admin_id\"],\"columnFields\":[\"id\",\"username\",\"uuid\",\"phone\",\"coin\",\"create_time\",\"update_time\"],\"defaultSortType\":\"desc\",\"generateRelativePath\":\"game_user\",\"isCommonModel\":1,\"modelFile\":\"app\\/common\\/model\\/GameUser.php\",\"controllerFile\":\"app\\/admin\\/controller\\/game\\/User.php\",\"validateFile\":\"app\\/common\\/validate\\/GameUser.php\",\"webViewsDir\":\"web\\/src\\/views\\/backend\\/game\\/user\",\"databaseConnection\":null,\"designChange\":[{\"type\":\"del-field\",\"oldName\":\"create_time1\",\"newName\":\"\",\"sync\":true},{\"type\":\"add-field\",\"index\":10,\"newName\":\"update_time\",\"oldName\":\"\",\"after\":\"create_time\",\"sync\":true}],\"rebuild\":\"No\",\"empty\":false},\"fields\":[{\"title\":\"主键\",\"name\":\"id\",\"comment\":\"ID\",\"designType\":\"pk\",\"formBuildExclude\":true,\"table\":{\"width\":70,\"operator\":\"RANGE\",\"sortable\":\"custom\"},\"form\":[],\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NONE\",\"null\":false,\"primaryKey\":true,\"unsigned\":true,\"autoIncrement\":true,\"uuid\":\"cfc0d93c-abaf-4179-bb6c-be5bc26757dd\"},{\"title\":\"字符串\",\"name\":\"username\",\"comment\":\"用户名\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"3f9d2698-2a74-4a30-84f9-9f3e5e534ef2\"},{\"title\":\"密码\",\"name\":\"password\",\"comment\":\"密码\",\"designType\":\"password\",\"tableBuildExclude\":true,\"table\":{\"operator\":\"false\"},\"form\":{\"validator\":[\"password\",\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":32,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"f05054fa-69ad-4871-abb6-2dab683c0c18\"},{\"title\":\"字符串\",\"name\":\"uuid\",\"comment\":\"用户唯一标识\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"d5ef457b-06eb-4912-bd38-9af2ada3f4ec\"},{\"title\":\"字符串\",\"name\":\"phone\",\"comment\":\"手机号\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"a561f6c6-6001-4ce1-a092-24bc43d51ceb\"},{\"title\":\"备注\",\"name\":\"remark\",\"comment\":\"备注\",\"designType\":\"textarea\",\"tableBuildExclude\":true,\"table\":{\"operator\":\"false\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\",\"rows\":3},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"f2b38bad-3d67-4141-ae33-6dd07c65ffec\"},{\"title\":\"浮点数\",\"name\":\"coin\",\"type\":\"decimal\",\"length\":5,\"precision\":2,\"defaultType\":\"INPUT\",\"null\":true,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"comment\":\"平台币\",\"designType\":\"float\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"RANGE\"},\"form\":{\"validator\":[\"number\"],\"validatorMsg\":\"\",\"step\":1},\"uuid\":\"c21513d6-73cd-409e-ac49-9b18dc607cef\",\"default\":\"0\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"game_channel_id\",\"comment\":\"所属渠道\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"name\",\"remote-table\":\"game_channel\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\game\\\\Channel.php\",\"remote-model\":\"app\\\\common\\\\model\\\\GameChannel.php\",\"relation-fields\":\"name\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"051b1b92-db3e-4b2b-8197-00cc58753cb4\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"admin_id\",\"comment\":\"所属管理员\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"username\",\"remote-table\":\"admin\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\auth\\\\Admin.php\",\"remote-model\":\"app\\\\admin\\\\model\\\\Admin.php\",\"relation-fields\":\"username\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"9b729ae2-ae31-43ff-9863-719c9758e5ee\"},{\"title\":\"创建时间\",\"name\":\"create_time\",\"comment\":\"创建时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"f3b8556c-552c-4ca3-b174-cf3e9dbe656a\"},{\"title\":\"修改时间\",\"name\":\"update_time\",\"comment\":\"修改时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"57bb21c4-4694-4106-bbcc-1c93750b6c3a\"}]}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775028907),(27,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"0\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029558),(28,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"0\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029591),(29,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"username\":\"+60123456789\",\"password\":\"***\",\"uuid\":\"\",\"phone\":\"+60123456789\",\"remark\":\"测试渠道1用户名+60123456789\",\"coin\":0,\"head_image\":null,\"game_channel_id\":\"1\",\"admin_id\":\"2\",\"status\":true,\"create_time\":1775028800,\"update_time\":null}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029631),(30,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"0\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029631),(31,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"0\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029633),(32,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"0\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029665),(33,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"1\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029666),(34,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"0\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029668),(35,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"1\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029677),(36,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"0\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029725),(37,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"1\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029727),(38,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"0\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029728),(39,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"1\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029746),(40,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"0\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029748),(41,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"1\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029803),(42,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"0\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029804),(43,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":1,\"status\":\"1\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775029804),(44,1,'admin','//localhost:8787/admin/game.User/add','未知(add)','{\"status\":\"1\",\"game_channel_id\":\"1\",\"admin_id\":\"2\",\"username\":\"+60123456788\",\"password\":\"***\",\"phone\":\"+60123456788\",\"remark\":\"测试渠道1\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775030236),(45,1,'admin','//localhost:8787/admin/game.User/add','未知(add)','{\"status\":\"1\",\"game_channel_id\":\"1\",\"admin_id\":\"2\",\"username\":\"+60123456788\",\"password\":\"***\",\"phone\":\"+60123456788\",\"remark\":\"测试渠道1\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775030248),(46,1,'admin','//localhost:8787/admin/auth.Rule/edit','未知(edit)','{\"id\":90,\"pid\":0,\"type\":\"menu_dir\",\"title\":\"游戏管理\",\"name\":\"game\",\"path\":\"game\",\"icon\":\"fa fa-circle-o\",\"menu_type\":null,\"url\":\"\",\"component\":\"\",\"keepalive\":0,\"extend\":\"none\",\"remark\":\"\",\"weigh\":0,\"status\":1,\"update_time\":1775024539,\"create_time\":1775024539}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775030351),(47,1,'admin','//localhost:8787/admin/auth.Group/add','未知(add)','{\"status\":1,\"pid\":\"5\",\"name\":\"游戏测试1组-主管\",\"rules\":[1,89,97,102,101,100,99,98,90]}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775030867),(48,1,'admin','//localhost:8787/admin/auth.Group/edit','未知(edit)','{\"id\":7,\"pid\":\"5\",\"name\":\"游戏测试1组-主管\",\"rules\":[1,89,2,3,7,6,5,4,8,12,11,10,9,13,18,17,16,15,14,19,20,97,102,101,100,99,98,90],\"status\":1,\"update_time\":1775030867,\"create_time\":1775030867}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775030873),(49,1,'admin','//localhost:8787/admin/auth.Group/add','未知(add)','{\"status\":1,\"pid\":\"6\",\"name\":\"游戏测试2组-主管\",\"rules\":[1,89,2,3,7,6,5,4,8,12,11,10,9,13,18,17,16,15,14,19,20,97,102,101,100,99,98,90]}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775030892),(50,1,'admin','//localhost:8787/admin/auth.Group/add','未知(add)','{\"status\":1,\"pid\":0,\"name\":\"游戏测试3组\",\"rules\":[1,89,2,3,7,6,5,4,8,12,11,10,9,13,18,17,16,15,14,19,20,90,97,102,101,100,99,98,91,96,95,94,93,92]}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775030906),(51,1,'admin','//localhost:8787/admin/auth.Admin/add','未知(add)','{\"status\":\"enable\",\"group_arr\":[\"7\"],\"username\":\"zhuguan1\",\"nickname\":\"游戏测试1组-主管\",\"password\":\"***\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775030948),(52,1,'admin','//localhost:8787/admin/auth.Admin/add','未知(add)','{\"status\":\"enable\",\"group_arr\":[\"8\"],\"username\":\"zhuguan2\",\"nickname\":\"游戏测试2组-主管\",\"password\":\"***\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775030976),(53,1,'admin','//localhost:8787/admin/game.User/edit','未知(edit)','{\"id\":2,\"username\":\"+60123456788\",\"password\":\"***\",\"uuid\":\"016168792eb933d58ba93f4dfecb10d5\",\"phone\":\"+60123456788\",\"remark\":\"测试渠道1\",\"coin\":0,\"head_image\":null,\"game_channel_id\":\"1\",\"admin_id\":\"2\",\"status\":1,\"create_time\":1775030248,\"update_time\":1775030248,\"salt\":\"***\",\"token\":\"***\",\"refresh_token\":\"***\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775031920),(54,1,'admin','//localhost:8787/admin/game.User/add','未知(add)','{\"status\":\"1\",\"username\":\"+60111111111\",\"password\":\"***\",\"admin_id\":\"3\",\"game_channel_id\":2,\"phone\":\"+60111111111\",\"remark\":\"测试渠道2用户+60111111111\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0',1775032301);
/*!40000 ALTER TABLE `admin_log` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `admin_rule`
--
DROP TABLE IF EXISTS `admin_rule`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `admin_rule` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`pid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '上级菜单',
`type` enum('menu_dir','menu','button') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'menu' COMMENT '类型:menu_dir=菜单目录,menu=菜单项,button=页面按钮',
`title` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '标题',
`name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '规则名称',
`path` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '路由路径',
`icon` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '图标',
`menu_type` enum('tab','link','iframe') COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '菜单类型:tab=选项卡,link=链接,iframe=Iframe',
`url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'Url',
`component` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '组件路径',
`keepalive` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '缓存:0=关闭,1=开启',
`extend` enum('none','add_rules_only','add_menu_only') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'none' COMMENT '扩展属性:none=无,add_rules_only=只添加为路由,add_menu_only=只添加为菜单',
`remark` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '备注',
`weigh` int(11) NOT NULL DEFAULT '0' COMMENT '权重',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态:0=禁用,1=启用',
`update_time` bigint(16) unsigned DEFAULT NULL COMMENT '更新时间',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`),
KEY `pid` (`pid`)
) ENGINE=InnoDB AUTO_INCREMENT=103 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='菜单和权限规则表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `admin_rule`
--
LOCK TABLES `admin_rule` WRITE;
/*!40000 ALTER TABLE `admin_rule` DISABLE KEYS */;
INSERT INTO `admin_rule` VALUES (1,0,'menu','控制台','dashboard','dashboard','fa fa-dashboard','tab','','/src/views/backend/dashboard.vue',1,'none','Remark lang',999,1,1775022962,1775022962),(2,0,'menu_dir','权限管理','auth','auth','fa fa-group',NULL,'','',0,'none','',100,1,1775022962,1775022962),(3,2,'menu','角色组管理','auth/group','auth/group','fa fa-group','tab','','/src/views/backend/auth/group/index.vue',1,'none','Remark lang',99,1,1775022962,1775022962),(4,3,'button','查看','auth/group/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(5,3,'button','添加','auth/group/add','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(6,3,'button','编辑','auth/group/edit','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(7,3,'button','删除','auth/group/del','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(8,2,'menu','管理员管理','auth/admin','auth/admin','el-icon-UserFilled','tab','','/src/views/backend/auth/admin/index.vue',1,'none','',98,1,1775022962,1775022962),(9,8,'button','查看','auth/admin/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(10,8,'button','添加','auth/admin/add','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(11,8,'button','编辑','auth/admin/edit','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(12,8,'button','删除','auth/admin/del','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(13,2,'menu','菜单规则管理','auth/rule','auth/rule','el-icon-Grid','tab','','/src/views/backend/auth/rule/index.vue',1,'none','',97,1,1775022962,1775022962),(14,13,'button','查看','auth/rule/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(15,13,'button','添加','auth/rule/add','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(16,13,'button','编辑','auth/rule/edit','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(17,13,'button','删除','auth/rule/del','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(18,13,'button','快速排序','auth/rule/sortable','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(19,2,'menu','管理员日志管理','auth/adminLog','auth/adminLog','el-icon-List','tab','','/src/views/backend/auth/adminLog/index.vue',1,'none','',96,1,1775022962,1775022962),(20,19,'button','查看','auth/adminLog/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(21,0,'menu_dir','会员管理','user','user','fa fa-drivers-license',NULL,'','',0,'none','',95,1,1775022962,1775022962),(22,21,'menu','会员管理','user/user','user/user','fa fa-user','tab','','/src/views/backend/user/user/index.vue',1,'none','',94,1,1775022962,1775022962),(23,22,'button','查看','user/user/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(24,22,'button','添加','user/user/add','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(25,22,'button','编辑','user/user/edit','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(26,22,'button','删除','user/user/del','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(27,21,'menu','会员分组管理','user/group','user/group','fa fa-group','tab','','/src/views/backend/user/group/index.vue',1,'none','',93,1,1775022962,1775022962),(28,27,'button','查看','user/group/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(29,27,'button','添加','user/group/add','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(30,27,'button','编辑','user/group/edit','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(31,27,'button','删除','user/group/del','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(32,21,'menu','会员规则管理','user/rule','user/rule','fa fa-th-list','tab','','/src/views/backend/user/rule/index.vue',1,'none','',92,1,1775022962,1775022962),(33,32,'button','查看','user/rule/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(34,32,'button','添加','user/rule/add','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(35,32,'button','编辑','user/rule/edit','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(36,32,'button','删除','user/rule/del','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(37,32,'button','快速排序','user/rule/sortable','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(38,21,'menu','会员余额管理','user/moneyLog','user/moneyLog','el-icon-Money','tab','','/src/views/backend/user/moneyLog/index.vue',1,'none','',91,1,1775022962,1775022962),(39,38,'button','查看','user/moneyLog/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(40,38,'button','添加','user/moneyLog/add','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(41,21,'menu','会员积分管理','user/scoreLog','user/scoreLog','el-icon-Discount','tab','','/src/views/backend/user/scoreLog/index.vue',1,'none','',90,1,1775022962,1775022962),(42,41,'button','查看','user/scoreLog/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(43,41,'button','添加','user/scoreLog/add','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(44,0,'menu_dir','常规管理','routine','routine','fa fa-cogs',NULL,'','',0,'none','',89,1,1775022962,1775022962),(45,44,'menu','系统配置','routine/config','routine/config','el-icon-Tools','tab','','/src/views/backend/routine/config/index.vue',1,'none','',88,1,1775022962,1775022962),(46,45,'button','查看','routine/config/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(47,45,'button','编辑','routine/config/edit','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(48,44,'menu','附件管理','routine/attachment','routine/attachment','fa fa-folder','tab','','/src/views/backend/routine/attachment/index.vue',1,'none','Remark lang',87,1,1775022962,1775022962),(49,48,'button','查看','routine/attachment/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(50,48,'button','编辑','routine/attachment/edit','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(51,48,'button','删除','routine/attachment/del','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(52,44,'menu','个人资料','routine/adminInfo','routine/adminInfo','fa fa-user','tab','','/src/views/backend/routine/adminInfo.vue',1,'none','',86,1,1775022962,1775022962),(53,52,'button','查看','routine/adminInfo/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(54,52,'button','编辑','routine/adminInfo/edit','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(55,0,'menu_dir','数据安全管理','security','security','fa fa-shield',NULL,'','',0,'none','',85,1,1775022962,1775022962),(56,55,'menu','数据回收站','security/dataRecycleLog','security/dataRecycleLog','fa fa-database','tab','','/src/views/backend/security/dataRecycleLog/index.vue',1,'none','',84,1,1775022962,1775022962),(57,56,'button','查看','security/dataRecycleLog/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(58,56,'button','删除','security/dataRecycleLog/del','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(59,56,'button','还原','security/dataRecycleLog/restore','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(60,56,'button','查看详情','security/dataRecycleLog/info','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(61,55,'menu','敏感数据修改记录','security/sensitiveDataLog','security/sensitiveDataLog','fa fa-expeditedssl','tab','','/src/views/backend/security/sensitiveDataLog/index.vue',1,'none','',83,1,1775022962,1775022962),(62,61,'button','查看','security/sensitiveDataLog/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(63,61,'button','删除','security/sensitiveDataLog/del','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(64,61,'button','回滚','security/sensitiveDataLog/rollback','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(65,61,'button','查看详情','security/sensitiveDataLog/info','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(66,55,'menu','数据回收规则管理','security/dataRecycle','security/dataRecycle','fa fa-database','tab','','/src/views/backend/security/dataRecycle/index.vue',1,'none','Remark lang',82,1,1775022962,1775022962),(67,66,'button','查看','security/dataRecycle/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(68,66,'button','添加','security/dataRecycle/add','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(69,66,'button','编辑','security/dataRecycle/edit','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(70,66,'button','删除','security/dataRecycle/del','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(71,55,'menu','敏感字段规则管理','security/sensitiveData','security/sensitiveData','fa fa-expeditedssl','tab','','/src/views/backend/security/sensitiveData/index.vue',1,'none','Remark lang',81,1,1775022962,1775022962),(72,71,'button','查看','security/sensitiveData/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(73,71,'button','添加','security/sensitiveData/add','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(74,71,'button','编辑','security/sensitiveData/edit','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(75,71,'button','删除','security/sensitiveData/del','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(76,0,'menu','BuildAdmin','buildadmin','buildadmin','local-logo','link','https://doc.buildadmin.com','',0,'none','',0,0,1775022962,1775022962),(77,45,'button','添加','routine/config/add','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(78,0,'menu','模块市场','moduleStore/moduleStore','moduleStore','el-icon-GoodsFilled','tab','','/src/views/backend/module/index.vue',1,'none','',86,1,1775022962,1775022962),(79,78,'button','查看','moduleStore/moduleStore/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(80,78,'button','安装','moduleStore/moduleStore/install','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(81,78,'button','调整状态','moduleStore/moduleStore/changeState','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(82,78,'button','卸载','moduleStore/moduleStore/uninstall','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(83,78,'button','更新','moduleStore/moduleStore/update','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(84,0,'menu','CRUD代码生成','crud/crud','crud/crud','fa fa-code','tab','','/src/views/backend/crud/index.vue',1,'none','',80,1,1775022962,1775022962),(85,84,'button','查看','crud/crud/index','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(86,84,'button','生成','crud/crud/generate','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(87,84,'button','删除','crud/crud/delete','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(88,45,'button','删除','routine/config/del','','',NULL,'','',0,'none','',0,1,1775022962,1775022962),(89,1,'button','查看','dashboard/index','','',NULL,'','',0,'none','',0,1,1775022964,1775022964),(90,0,'menu_dir','游戏管理','game','game','fa fa-circle-o',NULL,'','',0,'none','',0,1,1775030351,1775024539),(91,90,'menu','渠道管理','game/channel','game/channel','','tab','','/src/views/backend/game/channel/index.vue',1,'none','',0,1,1775024539,1775024539),(92,91,'button','查看','game/channel/index','','',NULL,'','',0,'none','',0,1,1775024539,1775024539),(93,91,'button','添加','game/channel/add','','',NULL,'','',0,'none','',0,1,1775024539,1775024539),(94,91,'button','编辑','game/channel/edit','','',NULL,'','',0,'none','',0,1,1775024539,1775024539),(95,91,'button','删除','game/channel/del','','',NULL,'','',0,'none','',0,1,1775024539,1775024539),(96,91,'button','快速排序','game/channel/sortable','','',NULL,'','',0,'none','',0,1,1775024539,1775024539),(97,90,'menu','用户管理','game/user','game/user','','tab','','/src/views/backend/game/user/index.vue',1,'none','',0,1,1775028742,1775028742),(98,97,'button','查看','game/user/index','','',NULL,'','',0,'none','',0,1,1775028742,1775028742),(99,97,'button','添加','game/user/add','','',NULL,'','',0,'none','',0,1,1775028742,1775028742),(100,97,'button','编辑','game/user/edit','','',NULL,'','',0,'none','',0,1,1775028742,1775028742),(101,97,'button','删除','game/user/del','','',NULL,'','',0,'none','',0,1,1775028742,1775028742),(102,97,'button','快速排序','game/user/sortable','','',NULL,'','',0,'none','',0,1,1775028742,1775028742);
/*!40000 ALTER TABLE `admin_rule` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `area`
--
DROP TABLE IF EXISTS `area`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `area` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`pid` int(11) unsigned DEFAULT NULL COMMENT '父id',
`shortname` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '简称',
`name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '名称',
`mergename` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '全称',
`level` tinyint(4) unsigned DEFAULT NULL COMMENT '层级:1=省,2=市,3=区/县',
`pinyin` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '拼音',
`code` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '长途区号',
`zip` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '邮编',
`first` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '首字母',
`lng` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '经度',
`lat` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '纬度',
PRIMARY KEY (`id`),
KEY `pid` (`pid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='省份地区表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `area`
--
LOCK TABLES `area` WRITE;
/*!40000 ALTER TABLE `area` DISABLE KEYS */;
/*!40000 ALTER TABLE `area` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `attachment`
--
DROP TABLE IF EXISTS `attachment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `attachment` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`topic` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '细目',
`admin_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '上传管理员ID',
`user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '上传用户ID',
`url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '物理路径',
`width` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '宽度',
`height` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '高度',
`name` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '原始名称',
`size` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '大小',
`mimetype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'mime类型',
`quote` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '上传(引用)次数',
`storage` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '存储方式',
`sha1` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'sha1编码',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
`last_upload_time` bigint(16) unsigned DEFAULT NULL COMMENT '最后上传时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='附件表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `attachment`
--
LOCK TABLES `attachment` WRITE;
/*!40000 ALTER TABLE `attachment` DISABLE KEYS */;
INSERT INTO `attachment` VALUES (1,'default',1,0,'/storage/default/20260401/100px-页面_宠物_立绘_c1f1c5b029d71c096be47fb91195b8724346f073.png',100,100,'100px-页面_宠物_立绘_蹦蹦花海神球形态_1.png',12698,'image/png',0,'local','c1f1c5b029d71c096be47fb91195b8724346f073',1775026612,NULL);
/*!40000 ALTER TABLE `attachment` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `captcha`
--
DROP TABLE IF EXISTS `captcha`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `captcha` (
`key` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '验证码Key',
`code` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '验证码(加密后)',
`captcha` text COLLATE utf8mb4_unicode_ci COMMENT '验证码数据',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
`expire_time` bigint(16) unsigned DEFAULT NULL COMMENT '过期时间',
PRIMARY KEY (`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='验证码表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `captcha`
--
LOCK TABLES `captcha` WRITE;
/*!40000 ALTER TABLE `captcha` DISABLE KEYS */;
INSERT INTO `captcha` VALUES ('7517c109c3d8a4f62b2272e55d84e92d','1dd53dbe18c2cb0a595a49b49d72145d','{\"text\":[{\"size\":19,\"icon\":true,\"name\":\"bomb\",\"text\":\"<炸弹>\",\"width\":32,\"height\":32,\"x\":154,\"y\":98},{\"size\":26,\"icon\":false,\"name\":\"bomb\",\"text\":\"气\",\"width\":33,\"height\":33,\"x\":117,\"y\":39}],\"width\":350,\"height\":200}',1775023748,1775024348);
/*!40000 ALTER TABLE `captcha` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `config`
--
DROP TABLE IF EXISTS `config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `config` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`name` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '变量名',
`group` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '分组',
`title` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '变量标题',
`tip` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '变量描述',
`type` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '变量输入组件类型',
`value` longtext COLLATE utf8mb4_unicode_ci COMMENT '变量值',
`content` longtext COLLATE utf8mb4_unicode_ci COMMENT '字典数据',
`rule` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '验证规则',
`extend` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '扩展属性',
`allow_del` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '允许删除:0=否,1=是',
`weigh` int(11) NOT NULL DEFAULT '0' COMMENT '权重',
`update_time` bigint(16) unsigned DEFAULT NULL COMMENT '更新时间',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='系统配置';
/*!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,'config_group','basics','Config group','','array','[{\"key\":\"basics\",\"value\":\"Basics\"},{\"key\":\"mail\",\"value\":\"Mail\"},{\"key\":\"config_quick_entrance\",\"value\":\"Config Quick entrance\"}]',NULL,'required','',0,-1,NULL,NULL),(2,'site_name','basics','Site Name','','string','BuildAdmin',NULL,'required','',0,99,NULL,NULL),(3,'record_number','basics','Record number','域名备案号','string','渝ICP备8888888号-1',NULL,'','',0,0,NULL,NULL),(4,'version','basics','Version number','系统版本号','string','v1.0.0',NULL,'required','',0,0,NULL,NULL),(5,'time_zone','basics','time zone','','string','Asia/Shanghai',NULL,'required','',0,0,NULL,NULL),(6,'no_access_ip','basics','No access ip','禁止访问站点的ip列表,一行一个','textarea',NULL,NULL,'','',0,0,NULL,NULL),(7,'smtp_server','mail','smtp server','','string','smtp.qq.com',NULL,'','',0,9,NULL,NULL),(8,'smtp_port','mail','smtp port','','string','465',NULL,'','',0,8,NULL,NULL),(9,'smtp_user','mail','smtp user','','string',NULL,NULL,'','',0,7,NULL,NULL),(10,'smtp_pass','mail','smtp pass','','string',NULL,NULL,'','',0,6,NULL,NULL),(11,'smtp_verification','mail','smtp verification','','select','SSL','{\"SSL\":\"SSL\",\"TLS\":\"TLS\"}','','',0,5,NULL,NULL),(12,'smtp_sender_mail','mail','smtp sender mail','','string',NULL,NULL,'email','',0,4,NULL,NULL),(13,'config_quick_entrance','config_quick_entrance','Config Quick entrance','','array','[{\"key\":\"\\u6570\\u636e\\u56de\\u6536\\u89c4\\u5219\\u914d\\u7f6e\",\"value\":\"security\\/dataRecycle\"},{\"key\":\"\\u654f\\u611f\\u6570\\u636e\\u89c4\\u5219\\u914d\\u7f6e\",\"value\":\"security\\/sensitiveData\"}]',NULL,'','',0,0,1775022964,NULL),(14,'backend_entrance','basics','Backend entrance','','string','/admin',NULL,'required','',0,1,NULL,NULL);
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `crud_log`
--
DROP TABLE IF EXISTS `crud_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `crud_log` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`table_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '数据表名',
`comment` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '注释',
`table` text COLLATE utf8mb4_unicode_ci COMMENT '数据表数据',
`fields` text COLLATE utf8mb4_unicode_ci COMMENT '字段数据',
`sync` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '同步记录',
`status` enum('delete','success','error','start') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'start' COMMENT '状态:delete=已删除,success=成功,error=失败,start=生成中',
`connection` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '数据库连接配置标识',
`create_time` bigint(20) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='CRUD记录表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `crud_log`
--
LOCK TABLES `crud_log` WRITE;
/*!40000 ALTER TABLE `crud_log` DISABLE KEYS */;
INSERT INTO `crud_log` VALUES (1,'game_channel','渠道管理','{\"name\":\"game_channel\",\"comment\":\"渠道管理\",\"quickSearchField\":[\"id\",\"code\",\"name\"],\"defaultSortField\":\"id\",\"formFields\":[\"name\",\"remark\",\"admin_id\",\"status\",\"code\"],\"columnFields\":[\"id\",\"name\",\"user_count\",\"profit_amount\",\"create_time\",\"update_time\",\"status\",\"code\"],\"defaultSortType\":\"desc\",\"generateRelativePath\":\"game_channel\",\"isCommonModel\":1,\"modelFile\":\"app\\/common\\/model\\/GameChannel.php\",\"controllerFile\":\"app\\/admin\\/controller\\/game\\/Channel.php\",\"validateFile\":\"app\\/common\\/validate\\/GameChannel.php\",\"webViewsDir\":\"web\\/src\\/views\\/backend\\/game\\/channel\",\"databaseConnection\":null,\"designChange\":[],\"rebuild\":\"No\"}','[{\"title\":\"主键\",\"name\":\"id\",\"comment\":\"ID\",\"designType\":\"pk\",\"formBuildExclude\":true,\"table\":{\"width\":70,\"operator\":\"RANGE\",\"sortable\":\"custom\"},\"form\":[],\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NONE\",\"null\":false,\"primaryKey\":true,\"unsigned\":true,\"autoIncrement\":true,\"uuid\":\"e590c47d-3de8-4b9d-9233-35037259c31b\"},{\"title\":\"字符串\",\"name\":\"code\",\"comment\":\"渠道标识\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"b0db6092-45ad-4784-b549-d5c7595100df\"},{\"title\":\"字符串\",\"name\":\"name\",\"comment\":\"渠道\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"6e3d7775-939a-48c6-862b-912b961cdee9\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"admin_id\",\"comment\":\"渠道管理员\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"username\",\"remote-table\":\"admin\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\auth\\\\Admin.php\",\"remote-model\":\"app\\\\admin\\\\model\\\\Admin.php\",\"relation-fields\":\"username\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"2a2d1bac-6406-4488-8626-760b0504f5b7\"},{\"title\":\"数字\",\"name\":\"user_count\",\"comment\":\"用户数\",\"designType\":\"number\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"RANGE\"},\"form\":{\"validator\":[\"integer\"],\"validatorMsg\":\"\",\"step\":1},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"8e98e5e0-6300-4c91-91d1-013b45ee5025\"},{\"title\":\"浮点数\",\"name\":\"profit_amount\",\"type\":\"decimal\",\"length\":5,\"precision\":2,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"comment\":\"利润\",\"designType\":\"float\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"RANGE\"},\"form\":{\"validator\":[\"float\"],\"validatorMsg\":\"\",\"step\":1},\"uuid\":\"6aa38660-d9ea-4242-b3fd-35f5bb3d61dc\"},{\"title\":\"状态\",\"name\":\"status\",\"comment\":\"状态:0=禁用,1=启用\",\"designType\":\"switch\",\"table\":{\"operator\":\"eq\",\"sortable\":\"false\",\"render\":\"switch\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\"},\"type\":\"tinyint\",\"length\":1,\"precision\":0,\"default\":\"1\",\"defaultType\":\"INPUT\",\"null\":false,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"d1c4c3ee-2824-481e-b104-0870d26cc0c0\"},{\"title\":\"备注\",\"name\":\"remark\",\"comment\":\"备注\",\"designType\":\"textarea\",\"tableBuildExclude\":true,\"table\":{\"operator\":\"false\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\",\"rows\":3},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"e32dfa84-9af7-40b3-b56f-852a125a96fa\"},{\"title\":\"创建时间\",\"name\":\"create_time\",\"comment\":\"创建时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"20111342-c41b-4f9d-bd61-412c3caba959\"},{\"title\":\"修改时间\",\"name\":\"update_time\",\"comment\":\"修改时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"593a8557-fe89-4ffe-95b2-91523e8feea7\"}]',0,'success','mysql',1775024539),(2,'game_channel','渠道管理','{\"name\":\"game_channel\",\"comment\":\"渠道管理\",\"quickSearchField\":[\"id\",\"code\",\"name\"],\"defaultSortField\":\"id\",\"formFields\":[\"name\",\"remark\",\"status\",\"code\",\"admin_group_id\",\"admin_id\"],\"columnFields\":[\"id\",\"name\",\"user_count\",\"profit_amount\",\"create_time\",\"update_time\",\"status\",\"code\"],\"defaultSortType\":\"desc\",\"generateRelativePath\":\"game_channel\",\"isCommonModel\":1,\"modelFile\":\"app\\/common\\/model\\/GameChannel.php\",\"controllerFile\":\"app\\/admin\\/controller\\/game\\/Channel.php\",\"validateFile\":\"app\\/common\\/validate\\/GameChannel.php\",\"webViewsDir\":\"web\\/src\\/views\\/backend\\/game\\/channel\",\"databaseConnection\":null,\"designChange\":[{\"type\":\"del-field\",\"oldName\":\"admin_id\",\"newName\":\"\",\"sync\":true},{\"type\":\"add-field\",\"index\":9,\"newName\":\"admin_group_id\",\"oldName\":\"\",\"after\":\"remark\",\"sync\":true},{\"type\":\"change-field-attr\",\"index\":2,\"oldName\":\"name\",\"newName\":\"\",\"sync\":true},{\"type\":\"add-field\",\"index\":10,\"newName\":\"admin_id\",\"oldName\":\"\",\"after\":\"remark\",\"sync\":true}],\"rebuild\":\"No\",\"empty\":false}','[{\"title\":\"主键\",\"name\":\"id\",\"comment\":\"ID\",\"designType\":\"pk\",\"formBuildExclude\":true,\"table\":{\"width\":70,\"operator\":\"RANGE\",\"sortable\":\"custom\"},\"form\":[],\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NONE\",\"null\":false,\"primaryKey\":true,\"unsigned\":true,\"autoIncrement\":true,\"uuid\":\"066f98c0-db0c-4bed-9e44-e6fd3531df99\"},{\"title\":\"字符串\",\"name\":\"code\",\"comment\":\"渠道标识\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"21702f5c-5084-4d09-b591-a16d5702a9d0\"},{\"title\":\"字符串\",\"name\":\"name\",\"comment\":\"渠道名\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"e9a5b2d2-b2bb-4466-afed-85b6889e33a9\"},{\"title\":\"数字\",\"name\":\"user_count\",\"comment\":\"用户数\",\"designType\":\"number\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"RANGE\"},\"form\":{\"validator\":[\"integer\"],\"validatorMsg\":\"\",\"step\":1},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"2d3cfddd-97a7-44db-a76b-cd4fce580fa3\"},{\"title\":\"浮点数\",\"name\":\"profit_amount\",\"type\":\"decimal\",\"length\":5,\"precision\":2,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"comment\":\"利润\",\"designType\":\"float\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"RANGE\"},\"form\":{\"validator\":[\"float\"],\"validatorMsg\":\"\",\"step\":1},\"uuid\":\"a430ad3f-bf61-4be9-b63e-3decb371e8de\"},{\"title\":\"状态\",\"name\":\"status\",\"comment\":\"状态:0=禁用,1=启用\",\"designType\":\"switch\",\"table\":{\"operator\":\"eq\",\"sortable\":\"false\",\"render\":\"switch\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\"},\"type\":\"tinyint\",\"length\":1,\"precision\":0,\"default\":\"1\",\"defaultType\":\"INPUT\",\"null\":false,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"c07946b5-27f3-4d51-a347-a2a614d580ef\"},{\"title\":\"备注\",\"name\":\"remark\",\"comment\":\"备注\",\"designType\":\"textarea\",\"tableBuildExclude\":true,\"table\":{\"operator\":\"false\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\",\"rows\":3},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"ab09ed37-30a4-48b4-a524-2c021f13cc5d\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"admin_group_id\",\"comment\":\"管理角色组\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"name\",\"remote-table\":\"admin_group\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\auth\\\\Group.php\",\"remote-model\":\"app\\\\admin\\\\model\\\\AdminGroup.php\",\"relation-fields\":\"name\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"def64dda-5b7a-4cb3-9d83-688d370c3d77\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"admin_id\",\"comment\":\"管理员\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"username\",\"remote-table\":\"admin\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\auth\\\\Admin.php\",\"remote-model\":\"app\\\\admin\\\\model\\\\Admin.php\",\"relation-fields\":\"username\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"357d99cd-1bf5-4759-b733-e4fa16332b71\"},{\"title\":\"创建时间\",\"name\":\"create_time\",\"comment\":\"创建时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"a377a7cd-3c68-4b7a-a129-d62b0a3b61c3\"},{\"title\":\"修改时间\",\"name\":\"update_time\",\"comment\":\"修改时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"775b1311-c9d6-4640-a5c6-8bbaabbaa00a\"}]',0,'success','mysql',1775026507),(3,'game_user','用户管理','{\"name\":\"game_user\",\"comment\":\"用户管理\",\"quickSearchField\":[\"id\",\"username\",\"phone\"],\"defaultSortField\":\"id\",\"formFields\":[\"username\",\"password\",\"phone\",\"remark\",\"coin\",\"game_channel_id\",\"admin_id\"],\"columnFields\":[\"id\",\"username\",\"uuid\",\"phone\",\"coin\",\"create_time\",\"create_time1\"],\"defaultSortType\":\"desc\",\"generateRelativePath\":\"game_user\",\"isCommonModel\":1,\"modelFile\":\"app\\/common\\/model\\/GameUser.php\",\"controllerFile\":\"app\\/admin\\/controller\\/game\\/User.php\",\"validateFile\":\"app\\/common\\/validate\\/GameUser.php\",\"webViewsDir\":\"web\\/src\\/views\\/backend\\/game\\/user\",\"databaseConnection\":null,\"designChange\":[],\"rebuild\":\"No\"}','[{\"title\":\"主键\",\"name\":\"id\",\"comment\":\"ID\",\"designType\":\"pk\",\"formBuildExclude\":true,\"table\":{\"width\":70,\"operator\":\"RANGE\",\"sortable\":\"custom\"},\"form\":[],\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NONE\",\"null\":false,\"primaryKey\":true,\"unsigned\":true,\"autoIncrement\":true,\"uuid\":\"23e7b867-f93b-40cf-8439-a676d9c238df\"},{\"title\":\"字符串\",\"name\":\"username\",\"comment\":\"用户名\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"eb47efa5-4e6f-47ec-a8b7-13b17781a0c0\"},{\"title\":\"密码\",\"name\":\"password\",\"comment\":\"密码\",\"designType\":\"password\",\"tableBuildExclude\":true,\"table\":{\"operator\":\"false\"},\"form\":{\"validator\":[\"password\",\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":32,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"a195c88f-7fec-4796-97ed-0ec9f8df1254\"},{\"title\":\"字符串\",\"name\":\"uuid\",\"comment\":\"用户唯一标识\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"e111afbd-eba4-443f-a270-8d2026ec196a\"},{\"title\":\"字符串\",\"name\":\"phone\",\"comment\":\"手机号\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"84637a97-ab2d-4808-a75d-a9ed08388b22\"},{\"title\":\"备注\",\"name\":\"remark\",\"comment\":\"备注\",\"designType\":\"textarea\",\"tableBuildExclude\":true,\"table\":{\"operator\":\"false\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\",\"rows\":3},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"cdadfaaf-4d14-43ef-bea4-f569a5944b1c\"},{\"title\":\"浮点数\",\"name\":\"coin\",\"type\":\"decimal\",\"length\":5,\"precision\":2,\"defaultType\":\"INPUT\",\"null\":true,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"comment\":\"平台币\",\"designType\":\"float\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"RANGE\"},\"form\":{\"validator\":[\"number\"],\"validatorMsg\":\"\",\"step\":1},\"uuid\":\"1a6ba5f5-3d4d-4041-91ad-9cbe5746a038\",\"default\":\"0\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"game_channel_id\",\"comment\":\"所属渠道\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"name\",\"remote-table\":\"game_channel\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\game\\\\Channel.php\",\"remote-model\":\"app\\\\common\\\\model\\\\GameChannel.php\",\"relation-fields\":\"name\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"07125609-9800-4335-a6a5-7afb0e0b538c\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"admin_id\",\"comment\":\"所属管理员\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"username\",\"remote-table\":\"admin\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\auth\\\\Admin.php\",\"remote-model\":\"app\\\\admin\\\\model\\\\Admin.php\",\"relation-fields\":\"username\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"5c411d6c-3af7-4734-920b-b0b8f8f170ec\"},{\"title\":\"创建时间\",\"name\":\"create_time\",\"comment\":\"创建时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"4d0e2cf6-b034-4153-9191-22305375f1c0\"},{\"title\":\"创建时间\",\"name\":\"create_time1\",\"comment\":\"创建时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"2c7c0661-779d-4fd9-99ce-2845b3be99cb\"}]',0,'success','mysql',1775028742),(4,'game_user','用户管理','{\"name\":\"game_user\",\"comment\":\"用户管理\",\"quickSearchField\":[\"id\",\"username\",\"phone\"],\"defaultSortField\":\"id\",\"formFields\":[\"username\",\"password\",\"phone\",\"remark\",\"coin\",\"game_channel_id\",\"admin_id\"],\"columnFields\":[\"id\",\"username\",\"uuid\",\"phone\",\"coin\",\"create_time\",\"update_time\"],\"defaultSortType\":\"desc\",\"generateRelativePath\":\"game_user\",\"isCommonModel\":1,\"modelFile\":\"app\\/common\\/model\\/GameUser.php\",\"controllerFile\":\"app\\/admin\\/controller\\/game\\/User.php\",\"validateFile\":\"app\\/common\\/validate\\/GameUser.php\",\"webViewsDir\":\"web\\/src\\/views\\/backend\\/game\\/user\",\"databaseConnection\":null,\"designChange\":[{\"type\":\"del-field\",\"oldName\":\"create_time1\",\"newName\":\"\",\"sync\":true},{\"type\":\"add-field\",\"index\":10,\"newName\":\"update_time\",\"oldName\":\"\",\"after\":\"create_time\",\"sync\":true}],\"rebuild\":\"No\",\"empty\":false}','[{\"title\":\"主键\",\"name\":\"id\",\"comment\":\"ID\",\"designType\":\"pk\",\"formBuildExclude\":true,\"table\":{\"width\":70,\"operator\":\"RANGE\",\"sortable\":\"custom\"},\"form\":[],\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NONE\",\"null\":false,\"primaryKey\":true,\"unsigned\":true,\"autoIncrement\":true,\"uuid\":\"cfc0d93c-abaf-4179-bb6c-be5bc26757dd\"},{\"title\":\"字符串\",\"name\":\"username\",\"comment\":\"用户名\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"3f9d2698-2a74-4a30-84f9-9f3e5e534ef2\"},{\"title\":\"密码\",\"name\":\"password\",\"comment\":\"密码\",\"designType\":\"password\",\"tableBuildExclude\":true,\"table\":{\"operator\":\"false\"},\"form\":{\"validator\":[\"password\",\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":32,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"f05054fa-69ad-4871-abb6-2dab683c0c18\"},{\"title\":\"字符串\",\"name\":\"uuid\",\"comment\":\"用户唯一标识\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"d5ef457b-06eb-4912-bd38-9af2ada3f4ec\"},{\"title\":\"字符串\",\"name\":\"phone\",\"comment\":\"手机号\",\"designType\":\"string\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"LIKE\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\"},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"a561f6c6-6001-4ce1-a092-24bc43d51ceb\"},{\"title\":\"备注\",\"name\":\"remark\",\"comment\":\"备注\",\"designType\":\"textarea\",\"tableBuildExclude\":true,\"table\":{\"operator\":\"false\"},\"form\":{\"validator\":[],\"validatorMsg\":\"\",\"rows\":3},\"type\":\"varchar\",\"length\":255,\"precision\":0,\"defaultType\":\"EMPTY STRING\",\"null\":false,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"uuid\":\"f2b38bad-3d67-4141-ae33-6dd07c65ffec\"},{\"title\":\"浮点数\",\"name\":\"coin\",\"type\":\"decimal\",\"length\":5,\"precision\":2,\"defaultType\":\"INPUT\",\"null\":true,\"primaryKey\":false,\"unsigned\":false,\"autoIncrement\":false,\"comment\":\"平台币\",\"designType\":\"float\",\"table\":{\"render\":\"none\",\"sortable\":\"false\",\"operator\":\"RANGE\"},\"form\":{\"validator\":[\"number\"],\"validatorMsg\":\"\",\"step\":1},\"uuid\":\"c21513d6-73cd-409e-ac49-9b18dc607cef\",\"default\":\"0\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"game_channel_id\",\"comment\":\"所属渠道\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"name\",\"remote-table\":\"game_channel\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\game\\\\Channel.php\",\"remote-model\":\"app\\\\common\\\\model\\\\GameChannel.php\",\"relation-fields\":\"name\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"051b1b92-db3e-4b2b-8197-00cc58753cb4\"},{\"title\":\"远程下拉(关联表)\",\"name\":\"admin_id\",\"comment\":\"所属管理员\",\"designType\":\"remoteSelect\",\"tableBuildExclude\":true,\"table\":{\"render\":\"tags\",\"operator\":\"LIKE\",\"comSearchRender\":\"string\",\"comSearchInputAttr\":\"\"},\"form\":{\"validator\":[\"required\"],\"validatorMsg\":\"\",\"select-multi\":false,\"remote-pk\":\"id\",\"remote-field\":\"username\",\"remote-table\":\"admin\",\"remote-controller\":\"app\\\\admin\\\\controller\\\\auth\\\\Admin.php\",\"remote-model\":\"app\\\\admin\\\\model\\\\Admin.php\",\"relation-fields\":\"username\",\"remote-url\":\"\",\"remote-primary-table-alias\":\"\",\"remote-source-config-type\":\"crud\"},\"type\":\"int\",\"length\":10,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"9b729ae2-ae31-43ff-9863-719c9758e5ee\"},{\"title\":\"创建时间\",\"name\":\"create_time\",\"comment\":\"创建时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"f3b8556c-552c-4ca3-b174-cf3e9dbe656a\"},{\"title\":\"修改时间\",\"name\":\"update_time\",\"comment\":\"修改时间\",\"designType\":\"timestamp\",\"formBuildExclude\":true,\"table\":{\"render\":\"datetime\",\"operator\":\"RANGE\",\"comSearchRender\":\"datetime\",\"comSearchInputAttr\":\"\",\"sortable\":\"custom\",\"width\":160,\"timeFormat\":\"yyyy-mm-dd hh:MM:ss\"},\"form\":{\"validator\":[\"date\"],\"validatorMsg\":\"\"},\"type\":\"bigint\",\"length\":16,\"precision\":0,\"defaultType\":\"NULL\",\"null\":true,\"primaryKey\":false,\"unsigned\":true,\"autoIncrement\":false,\"uuid\":\"57bb21c4-4694-4106-bbcc-1c93750b6c3a\"}]',0,'success','mysql',1775028906);
/*!40000 ALTER TABLE `crud_log` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `game_channel`
--
DROP TABLE IF EXISTS `game_channel`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `game_channel` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '渠道标识',
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '渠道名',
`user_count` int(10) DEFAULT NULL COMMENT '用户数',
`profit_amount` decimal(5,2) DEFAULT NULL COMMENT '利润',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态:0=禁用,1=启用',
`remark` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '备注',
`admin_id` int(10) unsigned DEFAULT NULL COMMENT '管理员',
`admin_group_id` int(10) unsigned DEFAULT NULL COMMENT '管理角色组',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
`update_time` bigint(16) unsigned DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='渠道管理';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `game_channel`
--
LOCK TABLES `game_channel` WRITE;
/*!40000 ALTER TABLE `game_channel` DISABLE KEYS */;
INSERT INTO `game_channel` VALUES (1,'test_game_one','测试渠道1',NULL,NULL,1,'这是测试渠道1',2,5,1775025976,1775026673),(2,'test_game_two','测试渠道2',NULL,NULL,1,'这是测试渠道2',3,6,1775026721,1775026721);
/*!40000 ALTER TABLE `game_channel` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `game_user`
--
DROP TABLE IF EXISTS `game_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `game_user` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '用户名',
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '密码',
`uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '用户唯一标识',
`phone` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '手机号',
`remark` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '备注',
`coin` decimal(5,2) DEFAULT '0.00' COMMENT '平台币',
`head_image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '头像',
`game_channel_id` int(10) unsigned DEFAULT NULL COMMENT '所属渠道',
`admin_id` int(10) unsigned DEFAULT NULL COMMENT '所属管理员',
`status` tinyint(1) unsigned DEFAULT '0' COMMENT '状态:0=禁用,1=启用',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
`update_time` bigint(16) unsigned DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='用户管理';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `game_user`
--
LOCK TABLES `game_user` WRITE;
/*!40000 ALTER TABLE `game_user` DISABLE KEYS */;
INSERT INTO `game_user` VALUES (1,'+60123456789','123456','','+60123456789','测试渠道1用户名+60123456789',0.00,NULL,1,2,1,1775028800,1775029804),(2,'+60123456788','$2y$10$TzITCDJCXRVGooMmrmcfzOiEF/sODUoQMRAD/0Gj3xSVe/rOM9RHC','016168792eb933d58ba93f4dfecb10d5','+60123456788','测试渠道1',0.00,NULL,1,2,1,1775030248,1775031920),(3,'+60111111111','$2y$10$scHhriv/UaTl9yJX6b1VxukQhd6RjuYoekAvi1m5kQfz1/tlDKsam','485c1a5d045e036a1683bc7f16ef8291','+60111111111','测试渠道2用户+60111111111',0.00,NULL,2,3,1,1775032301,1775032301);
/*!40000 ALTER TABLE `game_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `mall_player`
--
DROP TABLE IF EXISTS `mall_player`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `mall_player` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`username` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '用户名',
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '密码',
`score` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '积分',
`create_time` bigint(20) unsigned DEFAULT NULL COMMENT '创建时间',
`update_time` bigint(20) unsigned DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`id`),
KEY `username` (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='积分商城用户表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `mall_player`
--
LOCK TABLES `mall_player` WRITE;
/*!40000 ALTER TABLE `mall_player` DISABLE KEYS */;
/*!40000 ALTER TABLE `mall_player` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `migrations`
--
DROP TABLE IF EXISTS `migrations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `migrations` (
`version` bigint(20) NOT NULL,
`migration_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`start_time` timestamp NULL DEFAULT NULL,
`end_time` timestamp NULL DEFAULT NULL,
`breakpoint` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `migrations`
--
LOCK TABLES `migrations` WRITE;
/*!40000 ALTER TABLE `migrations` DISABLE KEYS */;
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `phinxlog`
--
DROP TABLE IF EXISTS `phinxlog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `phinxlog` (
`version` bigint(20) NOT NULL,
`migration_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`start_time` timestamp NULL DEFAULT NULL,
`end_time` timestamp NULL DEFAULT NULL,
`breakpoint` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `phinxlog`
--
LOCK TABLES `phinxlog` WRITE;
/*!40000 ALTER TABLE `phinxlog` DISABLE KEYS */;
INSERT INTO `phinxlog` VALUES (20230620180908,'Install','2026-04-01 05:50:46','2026-04-01 05:50:48',0),(20230620180916,'InstallData','2026-04-01 05:56:02','2026-04-01 05:56:02',0),(20230622221507,'Version200','2026-04-01 05:56:02','2026-04-01 05:56:04',0),(20230719211338,'Version201','2026-04-01 05:56:04','2026-04-01 05:56:04',0),(20230905060702,'Version202','2026-04-01 05:56:04','2026-04-01 05:56:04',0),(20231111000000,'AddConfigTimestamps','2026-04-01 05:56:04','2026-04-01 05:56:04',0),(20231112093414,'Version205','2026-04-01 05:56:04','2026-04-01 05:56:04',0),(20231229043002,'Version206','2026-04-01 05:56:04','2026-04-01 05:56:05',0),(20250318120000,'MallPlayer','2026-04-01 05:56:05','2026-04-01 05:56:05',0),(20250412134127,'Version222','2026-04-01 05:56:05','2026-04-01 05:56:08',0);
/*!40000 ALTER TABLE `phinxlog` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `security_data_recycle`
--
DROP TABLE IF EXISTS `security_data_recycle`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `security_data_recycle` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '规则名称',
`controller` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '控制器',
`controller_as` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '控制器别名',
`data_table` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '对应数据表',
`connection` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '数据库连接配置标识',
`primary_key` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '数据表主键',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态:0=禁用,1=启用',
`update_time` bigint(16) unsigned DEFAULT NULL COMMENT '更新时间',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='回收规则表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `security_data_recycle`
--
LOCK TABLES `security_data_recycle` WRITE;
/*!40000 ALTER TABLE `security_data_recycle` DISABLE KEYS */;
INSERT INTO `security_data_recycle` VALUES (1,'管理员','auth/Admin.php','auth/admin','admin','','id',1,1775022962,1775022962),(2,'管理员日志','auth/AdminLog.php','auth/adminlog','admin_log','','id',1,1775022962,1775022962),(3,'菜单规则','auth/Menu.php','auth/menu','menu_rule','','id',1,1775022962,1775022962),(4,'系统配置项','routine/Config.php','routine/config','config','','id',1,1775022962,1775022962),(5,'会员','user/User.php','user/user','user','','id',1,1775022962,1775022962),(6,'数据回收规则','security/DataRecycle.php','security/datarecycle','security_data_recycle','','id',1,1775022962,1775022962);
/*!40000 ALTER TABLE `security_data_recycle` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `security_data_recycle_log`
--
DROP TABLE IF EXISTS `security_data_recycle_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `security_data_recycle_log` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`admin_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '操作管理员',
`recycle_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '回收规则ID',
`data` text COLLATE utf8mb4_unicode_ci COMMENT '回收的数据',
`data_table` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '数据表',
`connection` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '数据库连接配置标识',
`primary_key` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '数据表主键',
`is_restore` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '是否已还原:0=否,1=是',
`ip` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '操作者IP',
`useragent` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'User-Agent',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='数据回收记录表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `security_data_recycle_log`
--
LOCK TABLES `security_data_recycle_log` WRITE;
/*!40000 ALTER TABLE `security_data_recycle_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `security_data_recycle_log` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `security_sensitive_data`
--
DROP TABLE IF EXISTS `security_sensitive_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `security_sensitive_data` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '规则名称',
`controller` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '控制器',
`controller_as` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '控制器别名',
`data_table` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '对应数据表',
`connection` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '数据库连接配置标识',
`primary_key` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '数据表主键',
`data_fields` text COLLATE utf8mb4_unicode_ci COMMENT '敏感数据字段',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态:0=禁用,1=启用',
`update_time` bigint(16) unsigned DEFAULT NULL COMMENT '更新时间',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='敏感数据规则表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `security_sensitive_data`
--
LOCK TABLES `security_sensitive_data` WRITE;
/*!40000 ALTER TABLE `security_sensitive_data` DISABLE KEYS */;
INSERT INTO `security_sensitive_data` VALUES (1,'管理员数据','auth/Admin.php','auth/admin','admin','','id','{\"username\":\"用户名\",\"mobile\":\"手机\",\"password\":\"密码\",\"status\":\"状态\"}',1,1775022962,1775022962),(2,'会员数据','user/User.php','user/user','user','','id','{\"username\":\"用户名\",\"mobile\":\"手机号\",\"password\":\"密码\",\"status\":\"状态\",\"email\":\"邮箱地址\"}',1,1775022962,1775022962),(3,'管理员权限','auth/Group.php','auth/group','admin_group','','id','{\"rules\":\"权限规则ID\"}',1,1775022962,1775022962);
/*!40000 ALTER TABLE `security_sensitive_data` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `security_sensitive_data_log`
--
DROP TABLE IF EXISTS `security_sensitive_data_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `security_sensitive_data_log` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`admin_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '操作管理员',
`sensitive_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '敏感数据规则ID',
`data_table` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '数据表',
`connection` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '数据库连接配置标识',
`primary_key` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '数据表主键',
`data_field` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '被修改字段',
`data_comment` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '被修改项',
`id_value` int(11) NOT NULL DEFAULT '0' COMMENT '被修改项主键值',
`before` text COLLATE utf8mb4_unicode_ci COMMENT '修改前',
`after` text COLLATE utf8mb4_unicode_ci COMMENT '修改后',
`ip` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '操作者IP',
`useragent` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'User-Agent',
`is_rollback` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '是否已回滚:0=否,1=是',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='敏感数据修改记录';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `security_sensitive_data_log`
--
LOCK TABLES `security_sensitive_data_log` WRITE;
/*!40000 ALTER TABLE `security_sensitive_data_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `security_sensitive_data_log` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `test_build`
--
DROP TABLE IF EXISTS `test_build`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `test_build` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`title` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '标题',
`keyword_rows` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '关键词',
`content` text COLLATE utf8mb4_unicode_ci COMMENT '内容',
`views` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '浏览量',
`likes` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '有帮助数',
`dislikes` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '无帮助数',
`note_textarea` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '备注',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态:0=禁用,1=启用',
`weigh` int(11) NOT NULL DEFAULT '0' COMMENT '权重',
`update_time` bigint(20) unsigned DEFAULT NULL COMMENT '更新时间',
`create_time` bigint(20) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='知识库表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `test_build`
--
LOCK TABLES `test_build` WRITE;
/*!40000 ALTER TABLE `test_build` DISABLE KEYS */;
/*!40000 ALTER TABLE `test_build` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `token`
--
DROP TABLE IF EXISTS `token`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `token` (
`token` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'Token',
`type` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '类型',
`user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户ID',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
`expire_time` bigint(16) unsigned DEFAULT NULL COMMENT '过期时间',
PRIMARY KEY (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='用户Token表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `token`
--
LOCK TABLES `token` WRITE;
/*!40000 ALTER TABLE `token` DISABLE KEYS */;
INSERT INTO `token` VALUES ('d7017c989f504aa85e9e1fa494d15801eb137f6b','admin',1,1775023754,1775282954);
/*!40000 ALTER TABLE `token` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user`
--
DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `user` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`group_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '分组ID',
`username` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '用户名',
`nickname` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '昵称',
`email` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '邮箱',
`mobile` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '手机',
`avatar` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '头像',
`gender` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '性别:0=未知,1=男,2=女',
`birthday` date DEFAULT NULL COMMENT '生日',
`money` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '余额',
`score` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '积分',
`last_login_time` bigint(16) unsigned DEFAULT NULL COMMENT '上次登录时间',
`last_login_ip` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '上次登录IP',
`login_failure` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '登录失败次数',
`join_ip` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '加入IP',
`join_time` bigint(16) unsigned DEFAULT NULL COMMENT '加入时间',
`motto` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '签名',
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '密码',
`salt` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '密码盐(废弃待删)',
`status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '状态:enable=启用,disable=禁用',
`update_time` bigint(16) unsigned DEFAULT NULL COMMENT '更新时间',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='会员表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user`
--
LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` VALUES (1,1,'user','User','18888888888@qq.com','18888888888','',2,'2026-04-01',0,0,NULL,'',0,'',NULL,'','$2y$10$VP0dl2.sJRMHirspaS2wg.Z/FZFPRMcyFyw0VJkLP7Ow0HpUNFzI.','','enable',1775022962,1775022962);
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user_group`
--
DROP TABLE IF EXISTS `user_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `user_group` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '组名',
`rules` text COLLATE utf8mb4_unicode_ci COMMENT '权限节点',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态:0=禁用,1=启用',
`update_time` bigint(16) unsigned DEFAULT NULL COMMENT '更新时间',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='会员组表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user_group`
--
LOCK TABLES `user_group` WRITE;
/*!40000 ALTER TABLE `user_group` DISABLE KEYS */;
INSERT INTO `user_group` VALUES (1,'默认分组','*',1,1775022962,1775022962);
/*!40000 ALTER TABLE `user_group` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user_money_log`
--
DROP TABLE IF EXISTS `user_money_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `user_money_log` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '会员ID',
`money` int(11) NOT NULL DEFAULT '0' COMMENT '变更余额',
`before` int(11) NOT NULL DEFAULT '0' COMMENT '变更前余额',
`after` int(11) NOT NULL DEFAULT '0' COMMENT '变更后余额',
`memo` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '备注',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='会员余额变动表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user_money_log`
--
LOCK TABLES `user_money_log` WRITE;
/*!40000 ALTER TABLE `user_money_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_money_log` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user_rule`
--
DROP TABLE IF EXISTS `user_rule`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `user_rule` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`pid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '上级菜单',
`type` enum('route','menu_dir','menu','nav_user_menu','nav','button') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'menu' COMMENT '类型:route=路由,menu_dir=菜单目录,menu=菜单项,nav_user_menu=顶栏会员菜单下拉项,nav=顶栏菜单项,button=页面按钮',
`title` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '标题',
`name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '规则名称',
`path` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '路由路径',
`icon` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '图标',
`menu_type` enum('tab','link','iframe') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'tab' COMMENT '菜单类型:tab=选项卡,link=链接,iframe=Iframe',
`url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'Url',
`component` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '组件路径',
`no_login_valid` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '未登录有效:0=否,1=是',
`extend` enum('none','add_rules_only','add_menu_only') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'none' COMMENT '扩展属性:none=无,add_rules_only=只添加为路由,add_menu_only=只添加为菜单',
`remark` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '备注',
`weigh` int(11) NOT NULL DEFAULT '0' COMMENT '权重',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态:0=禁用,1=启用',
`update_time` bigint(16) unsigned DEFAULT NULL COMMENT '更新时间',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`),
KEY `pid` (`pid`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='会员菜单权限规则表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user_rule`
--
LOCK TABLES `user_rule` WRITE;
/*!40000 ALTER TABLE `user_rule` DISABLE KEYS */;
INSERT INTO `user_rule` VALUES (1,0,'menu_dir','我的账户','account','account','fa fa-user-circle','tab','','',0,'none','',98,1,1775022962,1775022962),(2,1,'menu','账户概览','account/overview','account/overview','fa fa-home','tab','','/src/views/frontend/user/account/overview.vue',0,'none','',99,1,1775022962,1775022962),(3,1,'menu','个人资料','account/profile','account/profile','fa fa-user-circle-o','tab','','/src/views/frontend/user/account/profile.vue',0,'none','',98,1,1775022962,1775022962),(4,1,'menu','修改密码','account/changePassword','account/changePassword','fa fa-shield','tab','','/src/views/frontend/user/account/changePassword.vue',0,'none','',97,1,1775022962,1775022962),(5,1,'menu','积分记录','account/integral','account/integral','fa fa-tag','tab','','/src/views/frontend/user/account/integral.vue',0,'none','',96,1,1775022962,1775022962),(6,1,'menu','余额记录','account/balance','account/balance','fa fa-money','tab','','/src/views/frontend/user/account/balance.vue',0,'none','',95,1,1775022962,1775022962);
/*!40000 ALTER TABLE `user_rule` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user_score_log`
--
DROP TABLE IF EXISTS `user_score_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `user_score_log` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '会员ID',
`score` int(11) NOT NULL DEFAULT '0' COMMENT '变更积分',
`before` int(11) NOT NULL DEFAULT '0' COMMENT '变更前积分',
`after` int(11) NOT NULL DEFAULT '0' COMMENT '变更后积分',
`memo` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '备注',
`create_time` bigint(16) unsigned DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='会员积分变动表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user_score_log`
--
LOCK TABLES `user_score_log` WRITE;
/*!40000 ALTER TABLE `user_score_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_score_log` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2026-04-01 17:11:33