作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

interface

... ... @@ -28,9 +28,9 @@ use think\Db;
class AdminStatisticsController extends AdminBaseController{
public function index(){
$hospital=$this->request->param('hospital');
$param=$this->request->param();
$where=array();
dump($hospital);
dump($param);
//医院总体时长统计
$data=Db::name('order')
... ... @@ -98,6 +98,8 @@ class AdminStatisticsController extends AdminBaseController{
$interval[$k]=$interval[$k][0]['num'];
}
$this->assign('interval',json_encode($interval));
$this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : '');
return $this->fetch();
}
... ...