getBottomList()); } /** * 获取底部导航 * @return Response */ public function getBottomConfig() { $params = $this->request->params([ [ 'key', 'app' ], ]); return success(( new DiyConfigService() )->getBottomConfig($params[ 'key' ])); } /** * 设置底部导航 * @return Response */ public function setBottomConfig() { $data = $this->request->params([ [ 'value', [] ], [ 'key', 'app' ] ]); ( new DiyConfigService() )->setBottomConfig($data[ 'value' ], $data[ 'key' ]); return success(); } }