From ebc2855a6188478203cae739b074c9d30a0e173e Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 2 Aug 2023 16:36:44 +0800 Subject: [PATCH] 1 --- sql/gamedb.sql | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sql/gamedb.sql b/sql/gamedb.sql index 5feac79f..fea8dc19 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -1359,15 +1359,14 @@ CREATE TABLE `t_outapp_order` ( `platform` int(11) NOT NULL DEFAULT '0' COMMENT '0: ios 1: android', `account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '申请账号id', `address` varchar(60) DEFAULT NULL COMMENT '申请时账号绑定的钱包', - `item_id` int(11) NOT NULL DEFAULT '0' COMMENT '物品id', - `item_num` bigint(20) NOT NULL DEFAULT '0' COMMENT '物品数量', - `price` bigint(20) NOT NULL DEFAULT '0' COMMENT '价格', + `goods_id` int(11) NOT NULL DEFAULT '0' COMMENT '物品id', + `price` double NOT NULL DEFAULT '0' COMMENT '价格', `status` int(11) NOT NULL DEFAULT '0' COMMENT 'status', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', PRIMARY KEY (`idx`), UNIQUE KEY `order_id` (`order_id`), - UNIQUE KEY `platform_sp_order_id` (`platform_sp_order_id`), + UNIQUE KEY `platform_sp_order_id` (`platform`, `sp_order_id`), KEY `account_id` (`account_id`), KEY `address` (`address`), KEY `sp_order_id` (`sp_order_id`)