diff --git a/Application/Admin/Controller/SuperSignController.class.php b/Application/Admin/Controller/SuperSignController.class.php index c0e7b827e..3b909e685 100644 --- a/Application/Admin/Controller/SuperSignController.class.php +++ b/Application/Admin/Controller/SuperSignController.class.php @@ -38,7 +38,7 @@ class SuperSignController extends ThinkController $map['game_name'] = ['like',I('game_name').'%']; } - if (I('promote_id')||I('promote_id')==0) { + if (I('promote_id')||I('promote_id')=='0') { $map['tab_user.promote_id'] = I('promote_id'); } diff --git a/Data/update.sql b/Data/update.sql index 68d6fd901..df4438449 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -694,4 +694,18 @@ ALTER TABLE `tab_pay_info` ADD COLUMN `server_name` varchar(30) DEFAULT '' COMME ALTER TABLE `tab_pay_info` ADD COLUMN `promote_id` int(11) NOT NULL DEFAULT '0' COMMENT '推广员id'; ALTER TABLE `tab_pay_info` ADD COLUMN `game_player_id` int(11) DEFAULT '0' COMMENT '玩家游戏内id'; ALTER TABLE `tab_pay_info` ADD COLUMN `sdk_version` tinyint(2) DEFAULT '1' COMMENT '区别sdk版本1安卓 2苹果 '; -ALTER TABLE `tab_pay_info` ADD COLUMN `promote_account` varchar(30) DEFAULT '' COMMENT '推广员账号'; \ No newline at end of file +ALTER TABLE `tab_pay_info` ADD COLUMN `promote_account` varchar(30) DEFAULT '' COMMENT '推广员账号'; + +--平台币表增加字段,model变修改内容 zyx 2019-12-11 +UPDATE `sys_model` SET `list_grid` = 'id:编号\r\npay_order_number:订单号\r\nuser_account:用户账号\r\npromote_account:所属推广员\r\npay_amount:支付金额\r\npay_way:充值方式\r\ncreate_time|set_show_time:支付时间\r\npay_status|get_info_status*12:支付状态\r\npay_ip:支付IP\r\nsdk_status:游戏SDK状态\r\n' WHERE `id` = 9 + +ALTER TABLE `tab_deposit` ADD COLUMN `sdk_status` tinyint(2) NULL DEFAULT 0 COMMENT 'sdk通知状态 0未通知 1已通知' AFTER `pay_url`; +CREATE TABLE `tab_test_white_list` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `user_id` int(11) NOT NULL COMMENT '用户id', + `account` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT '白名单账号', + `show_status` tinyint(2) NULL DEFAULT 1 COMMENT '显示状态', + `add_user` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '后台添加账号', + `create_ime` int(11) NULL DEFAULT NULL COMMENT '添加时间', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic; \ No newline at end of file