request->params([ ['campus_id', ''], ['salary_month', ''] ]); return success('操作成功', (new StatisticsService())->getSummary($data)); } /** * 工资趋势数据 * @return \think\Response */ public function trend() { $data = $this->request->params([ ['campus_id', ''], ['start_month', ''], ['end_month', ''] ]); return success('操作成功', (new StatisticsService())->getTrend($data)); } }