Merge branch 'star' of git.kingsome.cn:server/game2006api into star

This commit is contained in:
hujiabin 2023-06-20 11:31:28 +08:00
commit b6ee6763d7
3 changed files with 36 additions and 4 deletions

View File

@ -1128,7 +1128,7 @@ DROP TABLE IF EXISTS `t_first_topup`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_first_topup` (
`idx` bigint(20) NOT NULL AUTO_INCREMENT,
`account_id` varchar(64) NOT NULL COMMENT '账户id',
`address` varchar(64) NOT NULL COMMENT '账户id',
`createtime` int(11) NOT NULL COMMENT '首充时间',
`status1` int(11) NOT NULL DEFAULT '0' COMMENT '领取状态1 0 不能领取 1 可领取状态 2 已领取',
`status2` int(11) NOT NULL DEFAULT '0' COMMENT '领取状态2',
@ -1148,7 +1148,7 @@ DROP TABLE IF EXISTS `t_shop_buy_order`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_shop_buy_order` (
`idx` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '订单id',
`account_id` varchar(60) NOT NULL COMMENT '账户id',
`address` varchar(60) NOT NULL COMMENT '账户id',
`createtime` int(11) NOT NULL COMMENT '订单开始时间',
`item_id` int(11) NOT NULL COMMENT '道具id',
`goods_num` int(11) NOT NULL COMMENT '购买个数',
@ -1200,3 +1200,31 @@ CREATE TABLE `t_bc_order` (
UNIQUE KEY `order_id` (`order_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t_shop_dailyselection`
--
DROP TABLE IF EXISTS `t_shop_dailyselection`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_shop_dailyselection` (
`idx` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增id',
`address` varchar(60) NOT NULL COMMENT 'address',
`refresh_mode` int(11) NOT NULL COMMENT '0-每日自动刷新时间 1-手动刷新时间',
`refresh_time` int(11) NOT NULL DEFAULT '0' COMMENT '刷新时间',
`grid_1` int(11) NOT NULL,
`grid_2` int(11) NOT NULL,
`grid_3` int(11) NOT NULL,
`grid_4` int(11) NOT NULL,
`grid_5` int(11) NOT NULL,
`grid_6` int(11) NOT NULL,
`count_1` tinyint(4) NOT NULL,
`count_2` tinyint(4) NOT NULL,
`count_3` tinyint(4) NOT NULL,
`count_4` tinyint(4) NOT NULL,
`count_5` tinyint(4) NOT NULL,
`count_6` tinyint(4) NOT NULL,
PRIMARY KEY (`idx`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;

View File

@ -6,5 +6,7 @@ namespace services;
class BuyShopGoodsCbService
{
public function process($order){
}
}

View File

@ -4,6 +4,7 @@ namespace services;
require_once('phpcommon/bchelper.php');
require_once ('services/callback/BuyPassCbService.php');
require_once ('services/callback/BuyShopGoodsCbService.php');
use phpcommon\SqlHelper;
@ -29,7 +30,8 @@ class gameItemMallBuyOk {
} else {
// 老宋 处理...
$shopGoodsCbService = new BuyShopGoodsCbService();
$shopGoodsCbService->process($orderDb);
}