1
This commit is contained in:
parent
6d43cacd1f
commit
409dcb5e14
@ -81,6 +81,7 @@ CREATE TABLE `t_staking` (
|
||||
`address` varchar(60) NOT NULL DEFAULT '' COMMENT 'address',
|
||||
`order_id` varchar(60) COMMENT 'order_id',
|
||||
`token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id',
|
||||
`item_id` int(11) NOT NULL COMMENT 'item_id',
|
||||
`token_type` int(11) NOT NULL DEFAULT '0' COMMENT 'nft类型 1:英雄 2:枪支 3:芯片 6:荣誉 7:徽章',
|
||||
`net_id` bigint NOT NULL DEFAULT '0' COMMENT 'net_id',
|
||||
`contract_address` varchar(60) NOT NULL DEFAULT '' COMMENT 'contract_address',
|
||||
|
@ -101,7 +101,7 @@ class Staking extends BaseModel {
|
||||
public static function repair721NftInfo($tokenId, $contractAddress, $netId, $startTime,
|
||||
&$itemId, &$tokenType)
|
||||
{
|
||||
$row = SqlHelper::ormSelect(
|
||||
$row = SqlHelper::ormSelectOne(
|
||||
myself()->_getMarketMysql(),
|
||||
't_nft',
|
||||
array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user