...
|
...
|
@@ -199,7 +199,7 @@ class Common extends Api |
|
|
$map2['endtime'] = ['LT', time()];
|
|
|
Db::name('renwu')->where($map2)->delete();
|
|
|
$map['type'] = ['eq', 1];
|
|
|
$map1['updatetime'] = ['GT', time() - 86400];
|
|
|
$map1['updatetime'] = ['GT', time() - 172800];
|
|
|
Db::name('renwu')->where($map)->where($map1)->update(
|
|
|
[
|
|
|
'type' => 0,
|
...
|
...
|
|