This commit is contained in:
aozhiwei 2022-11-04 14:03:20 +08:00
parent 8f43c6ea16
commit 7614d7ff24

View File

@ -28,6 +28,17 @@ class Chip extends BaseModel
return $chipList;
}
public static function findByTokenId($tokenId)
{
$row = SqlHelper::ormSelectOne(
myself()->_getMysql($tokenId),
't_chip',
array(
'token_id' => $tokenId
)
);
}
public static function getChipList($cb)
{
// SqlHelper::ormSelect(
@ -333,4 +344,4 @@ class Chip extends BaseModel
return $MaxStrength;
}
}
}