コード例 #1
0
def get_effect_notice_list():
    return Notice.query(condition="start_time<=now() and end_time>=now() and status=1")
コード例 #2
0
def get_effect_notice_list():
    return Notice.query(
        condition="start_time<=now() and end_time>=now() and status=1")