From bdbbeab1a012ce290aa1384c58f5f75d12f5672c Mon Sep 17 00:00:00 2001 From: zhengchanglong Date: Wed, 12 Feb 2020 10:31:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B5=8B=E8=AF=95=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=BD=95=E5=85=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Data/update.sql b/Data/update.sql index cf7f2f909..c2e2bfc62 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -1101,3 +1101,22 @@ ADD COLUMN `can_view_recharge` tinyint(1) NOT NULL default 0 COMMENT '是否显 ALTER TABLE `tab_promote_belong` ADD COLUMN `can_view_recharge` tinyint(1) NOT NULL default 0 COMMENT '是否显示充值数据 0否 1是'; + +-- 添加测试订单录入表 郑昌隆 2020-02-12 +DROP TABLE IF EXISTS `tab_test_order`; +CREATE TABLE `tab_test_order` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `order_type` tinyint(2) DEFAULT '0' COMMENT '0-未知,1-sdk充值,2-平台币充值,3-超级签充值', + `server_type` tinyint(2) DEFAULT '1' COMMENT '1-测试内网 2-测试外网', + `order_no` varchar(256) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '平台充值订单号', + `cp_order_no` varchar(256) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'CP订单号', + `user_account` varchar(30) COLLATE utf8mb4_bin DEFAULT '' COMMENT '用户账号', + `game_id` int(11) DEFAULT '0' COMMENT '游戏ID', + `game_name` varchar(30) COLLATE utf8mb4_bin DEFAULT '' COMMENT '游戏名称', + `order_amount` decimal(10,2) DEFAULT NULL COMMENT '订单金额', + `pay_amount` decimal(10,2) DEFAULT NULL COMMENT '支付金额', + `pay_time` int(11) DEFAULT '0' COMMENT '交易时间', + `pay_way` int(11) DEFAULT NULL COMMENT '-1绑币,0平台币,1支付宝,2微信,7金猪,9双乾支付-支付宝,10双乾支付-银联,15双乾支付-快捷', + `add_time` int(11) DEFAULT '0' COMMENT '添加时间', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;