@ -525,7 +525,7 @@ CREATE TABLE `tab_user_play_data_count` (
KEY ` search ` ( ` user_id ` , ` promote_id ` , ` game_id ` , ` server_id ` , ` role_id ` , ` create_time ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 0 DEFAULT CHARSET = utf8 ;
- - 身 份 证 认 证 信 息
-- 身份证认证信 息
CREATE TABLE ` tab_idcard_log ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 80 ) NOT NULL COMMENT ' 姓名 ' ,
@ -538,15 +538,51 @@ CREATE TABLE `tab_idcard_log` (
PRIMARY KEY ( ` id ` )
) ENGINE = MyISAM AUTO_INCREMENT = 12 DEFAULT CHARSET = utf8 COMMENT = ' 身份证认证信息 ' ;
-- 公告已读表
CREATE TABLE ` tab_notice_read ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT ,
` notice_id ` int ( 11 ) NOT NULL COMMENT ' 广告id ' ,
` game_id ` int ( 11 ) DEFAULT NULL ,
` user_id ` int ( 11 ) NOT NULL COMMENT ' 用户id ' ,
` is_read ` tinyint ( 2 ) DEFAULT ' 0 ' COMMENT ' 0未读1已读 ' ,
` create_time ` int ( 11 ) DEFAULT NULL COMMENT ' 创建时间 ' ,
PRIMARY KEY ( ` id ` )
) ENGINE = InnoDB AUTO_INCREMENT = 0 DEFAULT CHARSET = utf8 ;
-- 短信日志
CREATE TABLE ` tab_sms_log ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT ,
` code ` int ( 11 ) DEFAULT NULL COMMENT ' 验证码 ' ,
` phone ` varchar ( 20 ) NOT NULL COMMENT ' 手机号 ' ,
` content ` text NOT NULL COMMENT ' 发送内容 ' ,
` status ` tinyint ( 2 ) NOT NULL COMMENT ' 发送状态 ' ,
` msg ` varchar ( 80 ) DEFAULT NULL COMMENT ' 发送返回的信息 ' ,
` ip ` varchar ( 20 ) DEFAULT NULL COMMENT ' ip地址 ' ,
` create_time ` int ( 11 ) DEFAULT NULL COMMENT ' 创建时间 ' ,
PRIMARY KEY ( ` id ` )
) ENGINE = InnoDB AUTO_INCREMENT = 0 DEFAULT CHARSET = utf8 COMMENT = ' 短信日志 ' ;
- - 提 现 表 添 加 最 后 更 新 时 间
ALTER TABLE ` tab_withdraw `
ADD COLUMN ` last_up_update_time ` int ( 10 ) NOT NULL DEFAULT 0 COMMENT ' 最后更新时间 ' ,
ADD COLUMN ` spend_ids ` longtext NOT NULL COMMENT ' 充值订单id ' ;
- - 推 广 员 添 加 oa 关 联
-- 推广员添加oa关 联
ALTER TABLE ` tab_promote `
ADD COLUMN ` oa_associated ` tinyint ( 1 ) DEFAULT ' 0 ' COMMENT ' oa是否关联 ' ,
- - 玩 家 角 色 表 - - 添 加 索 引
ALTER TABLE ` tab_user_play_info `
ADD INDEX ` game_id ` ( ` game_id ` , ` server_id ` , ` role_id ` ) ;
ADD INDEX ` game_id ` ( ` game_id ` , ` server_id ` , ` role_id ` ) ;
-- SDK菜单配置
INSERT INTO ` tab_tool ` ( ` name ` , ` title ` , ` config ` , ` template ` , ` type ` , ` status ` , ` create_time ` )
VALUES
( ' personal_menu ' , ' 个人中心列表 ' , ' [{\"name\":\"gift\",\"title\":\"\\u793c\\u5305\",\"menu_version\":\"0\",\"url\":\"\\/sdk.php\\/GameGiftPage\\/gift_list\",\"type\":\"0\",\"act\":\"gift\",\"ios_url\":\"?action=gift\",\"sort\":\"1\",\"id\":1,\"icon\":\"\\/Uploads\\/Picture\\/2019-11-20\\/5dd526395e339.png\",\"cover\":\"1986\"},{\"name\":\"balance\",\"title\":\"\\u4f59\\u989d\",\"menu_version\":\"0\",\"url\":\"\\/sdk.php\\/UserH\\/get_user_money\",\"type\":\"0\",\"act\":\"\\/sdk.php\\/UserH\\/get_user_money\",\"ios_url\":\"\\/sdk.php\\/UserH\\/get_user_money\",\"sort\":\"2\",\"id\":\"2\",\"icon\":\"\\/Uploads\\/Picture\\/2019-11-20\\/5dd5264d1e202.png\",\"cover\":\"1987\"},{\"name\":\"message\",\"title\":\"\\u6d88\\u606f\",\"menu_version\":\"0\",\"url\":\"\",\"type\":\"1\",\"act\":\"msg\",\"ios_url\":\"\",\"sort\":\"3\",\"id\":3,\"icon\":\"\\/Uploads\\/Picture\\/2019-11-20\\/5dd5265fb396d.png\",\"cover\":\"1988\"},{\"name\":\"support\",\"title\":\"\\u5ba2\\u670d\",\"menu_version\":\"0\",\"url\":\"\",\"type\":\"1\",\"act\":\"support\",\"ios_url\":\"\",\"sort\":\"4\",\"id\":4,\"icon\":\"\\/Uploads\\/Picture\\/2019-11-20\\/5dd52674492b7.png\",\"cover\":\"1989\"}] ' , ' ' , 5 , 1 , 1571723212 ) ;
INSERT INTO ` tab_tool ` ( ` name ` , ` title ` , ` config ` , ` template ` , ` type ` , ` status ` , ` create_time ` )
VALUES
( ' contact_cs ' , ' 联系客服 ' , ' [{\"name\":\"support\",\"title\":\"\\u8054\\u7cfb\\u5ba2\\u670d\",\"menu_version\":\"0\",\"url\":\"\",\"type\":\"2\",\"act\":\"3007567814\",\"ios_url\":\"3007567814\",\"sort\":\"1\",\"id\":1,\"icon\":\"\",\"cover\":\"\"}] ' , ' ' , 5 , 1 , 1571723212 ) ;
INSERT INTO ` tab_tool ` ( ` name ` , ` title ` , ` config ` , ` template ` , ` type ` , ` status ` , ` create_time ` )
VALUES
( ' sdk_menu ' , ' SDK用户菜单 ' , ' [{\"name\":\"mine\",\"title\":\"\\u6211\\u7684\",\"menu_version\":\"0\",\"url\":\"\",\"type\":\"1\",\"act\":\"my\",\"ios_url\":\"\",\"sort\":\"1\",\"id\":\"1\",\"icon\":\"\\/Uploads\\/Picture\\/2019-11-20\\/5dd524dfd76fa.png\",\"cover\":\"1980\"},{\"name\":\"gift\",\"title\":\"\\u793c\\u5305\",\"menu_version\":\"0\",\"url\":\"\\/sdk.php\\/GameGiftPage\\/gift_list\",\"type\":\"0\",\"act\":\"gift\",\"ios_url\":\"?action=gift\",\"sort\":\"2\",\"id\":2,\"icon\":\"\\/Uploads\\/Picture\\/2019-11-20\\/5dd52509f3767.png\",\"cover\":\"1981\"},{\"name\":\"support\",\"title\":\"\\u5ba2\\u670d\",\"menu_version\":\"0\",\"url\":\"\",\"type\":\"1\",\"act\":\"support\",\"ios_url\":\"\",\"sort\":\"3\",\"id\":3,\"icon\":\"\\/Uploads\\/Picture\\/2019-11-20\\/5dd5251e0aee3.png\",\"cover\":\"1982\"},{\"name\":\"message\",\"title\":\"\\u6d88\\u606f\",\"menu_version\":\"0\",\"url\":\"\",\"type\":\"1\",\"act\":\"msg\",\"ios_url\":\"\",\"sort\":\"4\",\"id\":4,\"icon\":\"\\/Uploads\\/Picture\\/2019-11-20\\/5dd525606ff53.png\",\"cover\":\"1983\"},{\"name\":\"logout\",\"title\":\"\\u9000\\u51fa\",\"menu_version\":\"0\",\"url\":\"\",\"type\":\"1\",\"act\":\"logout\",\"ios_url\":\"\",\"sort\":\"5\",\"id\":5,\"icon\":\"\\/Uploads\\/Picture\\/2019-11-20\\/5dd525d99ed99.png\",\"cover\":\"1984\"},{\"name\":\"suppersign\",\"title\":\"\\u8d85\\u7ea7\\u7b7e\",\"menu_version\":\"2\",\"url\":\"\\/mobile.php\\/ssg\\/home\",\"type\":\"2\",\"act\":\"suppersign\",\"ios_url\":\"http:\\/\\/m.wmtxkj.cn\\/mobile.php\\/ssg\\/home\",\"sort\":\"6\",\"id\":6,\"icon\":\"\\/Uploads\\/Picture\\/2019-11-20\\/5dd525f388843.png\",\"cover\":\"1985\"}] ' , ' ' , 5 , 1 , 1571723212 ) ;