diff --git a/sql/gamedb.sql b/sql/gamedb.sql index 10310756..8942142b 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -1746,4 +1746,34 @@ CREATE TABLE `t_sub_user_bind` ( `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', PRIMARY KEY (`idx`), UNIQUE KEY `org_account_id` (`org_account_id`) -) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; \ No newline at end of file +) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `t_gold_bullion` +-- + +DROP TABLE IF EXISTS `t_gold_bullion`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `t_gold_bullion` ( + `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', + `src_account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id(channel + "_" + gameid + "_" + openid)', + `src_address` varchar(60) COMMENT 'src_address', + `token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id', + `net_id` int(11) NOT NULL DEFAULT '0' COMMENT '链id', + `gold` bigint NOT NULL DEFAULT '0' COMMENT '金币', + `address` varchar(60) COMMENT 'address', + `status` int(11) NOT NULL DEFAULT '0' COMMENT '状态 0:初始 1:超时已领取', + `returned` int(11) NOT NULL DEFAULT '0' COMMENT '是否已超时返还', + `activated` int(11) NOT NULL DEFAULT '0' COMMENT '是否已上连', + `activate_time` int(11) NOT NULL DEFAULT '0' COMMENT '上链成功时间', + `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', + `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', + PRIMARY KEY (`idx`), + UNIQUE KEY `idx_token_id` (`token_id`), + UNIQUE KEY `idx_token_id_net_id` (`token_id`, `net_id`), + KEY `idx_address` (`address`), + KEY `idx_address_createtime_activate_status` (`address`, `createtime`, `activate`, `status`) +) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; +/*!40101 SET character_set_client = @saved_cs_client */; diff --git a/webapp/controller/OpsController.class.php b/webapp/controller/OpsController.class.php deleted file mode 120000 index 62c93519..00000000 --- a/webapp/controller/OpsController.class.php +++ /dev/null @@ -1 +0,0 @@ -../../third_party/phpcommon/Controller/OpsController.class.php \ No newline at end of file diff --git a/webapp/controller/OpsController.class.php b/webapp/controller/OpsController.class.php new file mode 100644 index 00000000..227cfc26 --- /dev/null +++ b/webapp/controller/OpsController.class.php @@ -0,0 +1,31 @@ + 0, + 'errmsg' => '', + 'healthy' => 1, + 'max_rundelay' => 1, + )); + } + +} diff --git a/webapp/services/MailApiService.php b/webapp/services/MailApiService.php index 501c5bf2..43238b63 100644 --- a/webapp/services/MailApiService.php +++ b/webapp/services/MailApiService.php @@ -3,6 +3,7 @@ namespace services; use phpcommon\SqlHelper; + class MailApiService extends BaseService { const SELL_UNIKEY_PRE = 'ingame.market.sell:';