From 5cecae6f6cc916dea7e04782ddb7f8c8d8e1f976 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Sun, 21 Apr 2024 18:42:06 +0800 Subject: [PATCH 1/2] 1 --- sql/gamedb.sql | 2 +- sql/gamedb2006_migrate_240305_01.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/gamedb.sql b/sql/gamedb.sql index 49a9700b..0a53a658 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -1432,7 +1432,7 @@ CREATE TABLE `t_ingame_mall` ( `order_id` varchar(255) NOT NULL DEFAULT '' COMMENT '订单id', `order_type` int(11) NOT NULL DEFAULT '0' COMMENT '1:英雄 2:芯片 3:碎片 4:宝箱', `seller` varchar(60) NOT NULL DEFAULT '' COMMENT 'seller', - `seller_address` varchar(60) NOT NULL DEFAULT '' COMMENT 'seller_address', + `seller_address` varchar(60) DEFAULT '' COMMENT 'seller_address', `goods_uniid` varchar(50) NOT NULL DEFAULT '0' COMMENT '物品id', `item_id` int(11) NOT NULL DEFAULT '0' COMMENT '物品itemId', `item_num` bigint NOT NULL DEFAULT '0' COMMENT '物品数量', diff --git a/sql/gamedb2006_migrate_240305_01.sql b/sql/gamedb2006_migrate_240305_01.sql index 4021de76..f31b8d68 100644 --- a/sql/gamedb2006_migrate_240305_01.sql +++ b/sql/gamedb2006_migrate_240305_01.sql @@ -16,7 +16,7 @@ CREATE TABLE `t_ingame_mall` ( `order_id` varchar(255) NOT NULL DEFAULT '' COMMENT '订单id', `order_type` int(11) NOT NULL DEFAULT '0' COMMENT '1:英雄 2:芯片 3:碎片 4:宝箱', `seller` varchar(60) NOT NULL DEFAULT '' COMMENT 'seller', - `seller_address` varchar(60) NOT NULL DEFAULT '' COMMENT 'seller_address', + `seller_address` varchar(60) DEFAULT '' COMMENT 'seller_address', `goods_uniid` varchar(50) NOT NULL DEFAULT '0' COMMENT '物品id', `item_id` int(11) NOT NULL DEFAULT '0' COMMENT '物品itemId', `item_num` bigint NOT NULL DEFAULT '0' COMMENT '物品数量', From 609fdf82300443108486bdd10f1a665633e44fd5 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 21 Apr 2024 18:56:49 +0800 Subject: [PATCH 2/2] 1 --- webapp/controller/BagController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/BagController.class.php b/webapp/controller/BagController.class.php index e2da21dd..74f54b0f 100644 --- a/webapp/controller/BagController.class.php +++ b/webapp/controller/BagController.class.php @@ -50,7 +50,7 @@ class BagController extends BaseAuthedController { public function createGuildConsume() { - $consume = explode("|",mt\Parameter::getVal('create_club_cost')); + $consume = explode("|",mt\Parameter::getVal('create_club_cost', '')); $costItems = array( array( 'item_id' => $consume[0],