...
|
...
|
@@ -180,8 +180,7 @@ class Common extends Api |
|
|
{
|
|
|
$map = [];
|
|
|
$beginToday = mktime(0, 0, 0, date('m'), date('d'), date('Y'));
|
|
|
$map['createtime'] = array('LT', 1594956500);
|
|
|
// Db::name('so_level_day')->where(['createtime','<',$beginToday])->delete();
|
|
|
$map['createtime'] = array('LT', $beginToday);
|
|
|
Db::name('so_level_day')->where($map)->delete();
|
|
|
|
|
|
}
|
...
|
...
|
|