1
This commit is contained in:
parent
5371029978
commit
4c44c04310
@ -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;
|
||||
) 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 */;
|
||||
|
@ -1 +0,0 @@
|
||||
../../third_party/phpcommon/Controller/OpsController.class.php
|
31
webapp/controller/OpsController.class.php
Normal file
31
webapp/controller/OpsController.class.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
class OpsController {
|
||||
|
||||
public function handlePre()
|
||||
{
|
||||
}
|
||||
|
||||
public function handlePost()
|
||||
{
|
||||
}
|
||||
|
||||
public function _handlePre()
|
||||
{
|
||||
}
|
||||
|
||||
public function _handlePost()
|
||||
{
|
||||
}
|
||||
|
||||
public function selfChecking()
|
||||
{
|
||||
echo json_encode(array(
|
||||
'errcode' => 0,
|
||||
'errmsg' => '',
|
||||
'healthy' => 1,
|
||||
'max_rundelay' => 1,
|
||||
));
|
||||
}
|
||||
|
||||
}
|
@ -3,6 +3,7 @@
|
||||
namespace services;
|
||||
|
||||
use phpcommon\SqlHelper;
|
||||
|
||||
class MailApiService extends BaseService {
|
||||
|
||||
const SELL_UNIKEY_PRE = 'ingame.market.sell:';
|
||||
|
Loading…
x
Reference in New Issue
Block a user