From 2ed9efc77cc81183d7f26d206b8adaa21aaff6e6 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 9 Nov 2020 20:22:39 +0800 Subject: [PATCH] 1 --- sql/paydb.sql | 2 +- webapp/bootstrap/config_loader.php | 13 ++++++++++--- webapp/controller/UnitTestController.class.php | 18 +++++++++++++++++- 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/sql/paydb.sql b/sql/paydb.sql index 3654aa2..7bfdab1 100644 --- a/sql/paydb.sql +++ b/sql/paydb.sql @@ -48,7 +48,7 @@ CREATE TABLE `orderinfo` ( `try_count` int(11) NOT NULL DEFAULT '0' COMMENT '补单次数', `price` int(11) NOT NULL DEFAULT '0' COMMENT 'price', `ipv4` varchar(50) NOT NULL DEFAULT '' COMMENT 'ipv4地址', - `status` int(11) NOT NULL DEFAULT '0' COMMENT '0: 新添加订单 1:已经完成订单 2:发货成功', + `status` int(11) NOT NULL DEFAULT '0' COMMENT '0: 新添加订单 1:已经完成订单', `confirmtime` int(11) NOT NULL DEFAULT '0' COMMENT 'GameServer订单确认时间', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', diff --git a/webapp/bootstrap/config_loader.php b/webapp/bootstrap/config_loader.php index 792d431..8d453f7 100644 --- a/webapp/bootstrap/config_loader.php +++ b/webapp/bootstrap/config_loader.php @@ -1,7 +1,8 @@ 0, + 'errmsg' => '', + 'orderid' => $order_ctrl->genOrder($_REQUEST['account_id'] + )) + ); + } + }