diff --git a/sql/marketdb.sql b/sql/marketdb.sql index 6819f81c..dc1138db 100644 --- a/sql/marketdb.sql +++ b/sql/marketdb.sql @@ -45,6 +45,7 @@ DROP TABLE IF EXISTS `t_box_order`; CREATE TABLE `t_box_order` ( `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', `game_id` int(11) NOT NULL DEFAULT '0' COMMENT 'game id', + `func_id` int(11) NOT NULL DEFAULT '0' COMMENT 'func_id 1:预售 2:商店', `batch_idx` int(11) NOT NULL DEFAULT '0' COMMENT '批次号idx', `order_id` varchar(60) NOT NULL DEFAULT '' COMMENT '订单id', `type` varchar(60) NOT NULL DEFAULT '' COMMENT 'type', diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index 8cf05ae3..8db68dfd 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -193,6 +193,7 @@ class MarketController extends BaseController { $tokenType = 0; $fieldsKv = array( 'game_id' => 2006, + 'func_id' => funcId, 'batch_idx' => $currBatchMeta['id'], 'order_id' => $orderId, 'type' => $type,