This commit is contained in:
aozhiwei 2020-10-16 14:04:00 +08:00
parent fcfa46369c
commit aecbbf9a31

View File

@ -51,7 +51,7 @@ CREATE TABLE `orderinfo` (
`confirmtime` int(11) NOT NULL DEFAULT '0' COMMENT 'GameServer订单确认时间', `confirmtime` int(11) NOT NULL DEFAULT '0' COMMENT 'GameServer订单确认时间',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`sp_orderid` varchar(128) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT '平台的订单id', `sp_orderid` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT '平台的订单id',
`sp_amount` int(11) NOT NULL DEFAULT '0' COMMENT 'sp_amount', `sp_amount` int(11) NOT NULL DEFAULT '0' COMMENT 'sp_amount',
`sp_confirm_time` int(11) NOT NULL DEFAULT '0' COMMENT '平台确认时间', `sp_confirm_time` int(11) NOT NULL DEFAULT '0' COMMENT '平台确认时间',
`sp_pay_result` int(11) NOT NULL DEFAULT '0' COMMENT '0: 未确认 1: 支付成功 -1:支付失败', `sp_pay_result` int(11) NOT NULL DEFAULT '0' COMMENT '0: 未确认 1: 支付成功 -1:支付失败',
@ -62,6 +62,8 @@ CREATE TABLE `orderinfo` (
KEY `openid` (`openid`), KEY `openid` (`openid`),
KEY `channel` (`channel`), KEY `channel` (`channel`),
KEY `unified_channel` (`unified_channel`), KEY `unified_channel` (`unified_channel`),
KEY `createtime` (`createtime`),
KEY `sp_confirm_time` (`sp_confirm_time`),
KEY `sp_orderid` (`sp_orderid`), KEY `sp_orderid` (`sp_orderid`),
KEY `gameid` (`gameid`) KEY `gameid` (`gameid`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; ) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;