...
|
...
|
@@ -189,9 +189,9 @@ class Index extends Frontend |
|
|
->select();
|
|
|
foreach ($order_list as &$v) {
|
|
|
if($v['expirationtime'] + 14*24*60*60 < time()){
|
|
|
Db::name('order')->where('id',$v['id'])->update(['xian'=>3]);
|
|
|
}else{
|
|
|
Db::name('order')->where('id',$v['id'])->update(['xian'=>2]);
|
|
|
}else{
|
|
|
Db::name('order')->where('id',$v['id'])->update(['xian'=>3]);
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|