正在显示
1 个修改的文件
包含
1 行增加
和
9 行删除
@@ -295,15 +295,7 @@ class Order extends Backend | @@ -295,15 +295,7 @@ class Order extends Backend | ||
295 | */ | 295 | */ |
296 | public function chackordershow(){ | 296 | public function chackordershow(){ |
297 | $res=Db::name("order")->where("driver_id",null)->count(); | 297 | $res=Db::name("order")->where("driver_id",null)->count(); |
298 | - print_r($res);return; | ||
299 | - $isreturn=0; | ||
300 | - if(!empty($res)){ | ||
301 | - $isreturn=1; | ||
302 | - $updateres=Db::name("order")->where("is_show",0)->update(["is_show"=>1]); | ||
303 | - return $updateres; | ||
304 | - }else{ | ||
305 | - return $isreturn; | ||
306 | - } | 298 | + return $res; |
307 | } | 299 | } |
308 | /** | 300 | /** |
309 | * 添加 | 301 | * 添加 |
-
请 注册 或 登录 后发表评论