26 lines
705 B
PHP
Executable File
26 lines
705 B
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace app\adminapi\controller\stats;
|
|
|
|
use app\adminapi\controller\BaseAdminController;
|
|
use app\adminapi\logic\stats\DoctorDailyStatsLogic;
|
|
|
|
/**
|
|
* 医生日统计(系统/手动开方、成交、挂号状态)
|
|
*
|
|
* - GET stats.doctorDailyStats/overview
|
|
* ?start_date=&end_date=&channel_code=
|
|
* 不传/忽略 dept_ids(医生统计不按展示部门检索);未传日期时由后端默认当日。
|
|
*/
|
|
class DoctorDailyStatsController extends BaseAdminController
|
|
{
|
|
public function overview()
|
|
{
|
|
$params = $this->request->get();
|
|
|
|
return $this->data(DoctorDailyStatsLogic::overview($params, $this->adminId, $this->adminInfo));
|
|
}
|
|
}
|