...
|
...
|
@@ -295,15 +295,7 @@ class Order extends Backend |
|
|
*/
|
|
|
public function chackordershow(){
|
|
|
$res=Db::name("order")->where("driver_id",null)->count();
|
|
|
print_r($res);return;
|
|
|
$isreturn=0;
|
|
|
if(!empty($res)){
|
|
|
$isreturn=1;
|
|
|
$updateres=Db::name("order")->where("is_show",0)->update(["is_show"=>1]);
|
|
|
return $updateres;
|
|
|
}else{
|
|
|
return $isreturn;
|
|
|
}
|
|
|
return $res;
|
|
|
}
|
|
|
/**
|
|
|
* 添加
|
...
|
...
|
|