...
|
...
|
@@ -197,7 +197,7 @@ class Common extends Api |
|
|
public function addOrder()
|
|
|
{
|
|
|
$map['type'] = ['eq', 1];
|
|
|
$map1['updatetime'] = ['LT', time() - 86400];
|
|
|
$map1['updatetime'] = ['GT', time() - 86400];
|
|
|
Db::name('renwu')->where($map)->where($map1)->update(
|
|
|
[
|
|
|
'type' => 0,
|
...
|
...
|
|