game2006api/webapp/models/FragmentPool.php
aozhiwei 68481fc610 1
2022-09-19 17:35:58 +08:00

34 lines
683 B
PHP

<?php
namespace models;
use mt;
use phpcommon\SqlHelper;
class FragmentPool extends BaseModel {
public static function dropHero()
{
$allocTime = myself()->_getNowDaySeconds() +
intval((myself()->_getNowTime() - myself()->_getNowDaySeconds()) / 3600) * 3600;
$rows = SqlHelper::ormSelect
(myself()->_getMysql($targetId),
't_fragment_pool',
array(
'fragment_type' => 0,
'alloc_time' => $allocTime,
)
);
if ($rows) {
}
return null;
}
public static function dropGun()
{
}
}