1
This commit is contained in:
parent
4ca1524484
commit
2aad8ca948
@ -8,11 +8,11 @@ class AnncController extends BaseController {
|
|||||||
// myself()->_rspData(require('../config/annc.php'));
|
// myself()->_rspData(require('../config/annc.php'));
|
||||||
$data = array();
|
$data = array();
|
||||||
$row = myself()->_getConfDbMysql()->execQueryOne(
|
$row = myself()->_getConfDbMysql()->execQueryOne(
|
||||||
'SELECT * FROM t_game_annc WHERE begin_time < :star_time AND end_time > :end_time AND is_open = :open_state',
|
'SELECT * FROM t_game_annc WHERE begin_date < :begin_date AND end_date > :end_date AND is_open = :is_open',
|
||||||
array(
|
array(
|
||||||
':star_time' => myself()->_getNowTime(),
|
':begin_date' => myself()->_getNowTime(),
|
||||||
':end_time' => myself()->_getNowTime(),
|
':end_date' => myself()->_getNowTime(),
|
||||||
':open_state' => 1,
|
':is_open' => 1,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
if ($row){
|
if ($row){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user