game2006api/webapp/models/GoldBullion.php
aozhiwei 556b5e42cb 1
2024-06-10 17:32:49 +08:00

28 lines
572 B
PHP

<?php
namespace models;
class GoldBullion extends BaseModel {
const OPEN_STATUS_SENT = 1;
const OPEN_STATUS_PENDING = 2;
const OPEN_STATUS_SEND_BEGIN = 3;
const OPEN_STATUS_SEND_END = 4;
public static function onLogin()
{
$rows = SqlHelper::ormSelect(
myself()->_getSelfMysql(),
't_gold_bullion',
array(
'open_address' => myself()->_getAddress(),
'open_status' => self::OPEN_STATUS_PENDING,
)
);
if (count($rows) > 0) {
}
}
}