From b2313ee1eb3cb4a809f3670224060698da240611 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 17 Aug 2024 15:56:15 +0800 Subject: [PATCH] 1 --- sql/bcnftdb.sql | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/sql/bcnftdb.sql b/sql/bcnftdb.sql index 9a9498f1..df282f70 100644 --- a/sql/bcnftdb.sql +++ b/sql/bcnftdb.sql @@ -333,6 +333,8 @@ CREATE TABLE `t_recharge_order` ( `item_num` bigint NOT NULL DEFAULT '0' COMMENT '道具数量', `price` varchar(80) COLLATE utf8_bin NOT NULL COMMENT '价格', `diamond` double NOT NULL DEFAULT '0' COMMENT 'diamond', + `present_diamond` double NOT NULL DEFAULT '0' COMMENT '充值赠送钻石', + `return_contribution` double NOT NULL DEFAULT '0' COMMENT '返贡献点', `pay_status` int(11) NOT NULL DEFAULT '0' COMMENT '0:支付中 1:支付成功', `pay_time` int(11) NOT NULL DEFAULT '0' COMMENT '支付成功时间', `delivery_status` int(11) NOT NULL DEFAULT '0' COMMENT '0:未发货 1:发货成功', @@ -358,4 +360,27 @@ CREATE TABLE `t_recharge_order` ( ) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; +-- +-- Table structure for table `t_recharge_return_contribution` +-- + +DROP TABLE IF EXISTS `t_recharge_return_contribution`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `t_recharge_return_contribution` ( + `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', + `net_id` bigint NOT NULL DEFAULT '0' COMMENT 'net_id', + `short_order_id` bigint NOT NULL DEFAULT '0' COMMENT '短订单号-客户端显示用', + `user_identity` varchar(60) NOT NULL COMMENT 'account_id or account_address or email', + `pay_time` int(11) NOT NULL DEFAULT '0' COMMENT '支付成功时间', + `return_contribution` double NOT NULL DEFAULT '0' COMMENT '返贡献点', + `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', + `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', + PRIMARY KEY (`idx`), + UNIQUE KEY `uk_short_order_id` (`short_order_id`), + KEY `idx_user_identity` (`user_identity`), + KEY `idx_pay_time` (`pay_time`) +) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; +/*!40101 SET character_set_client = @saved_cs_client */; + -- Dump completed on 2015-08-19 18:51:22