- 置顶排序sql(时间限制)
#istop: 是否置顶 0=不置顶 1=置顶
#starttime: 置顶开始时间(时间戳)
#endtime: 置顶结束时间(时间戳)
(istop and starttime<unix_timestamp(now()) and endtime>unix_timestamp(now())) desc
#istop: 是否置顶 0=不置顶 1=置顶
#starttime: 置顶开始时间(时间戳)
#endtime: 置顶结束时间(时间戳)
(istop and starttime<unix_timestamp(now()) and endtime>unix_timestamp(now())) desc