$type,'source'=>2])->findOrEmpty()->toArray(); return $detail; } /** * @notes 获取装修风格 * @return array * @author cjhao * @date 2024/10/8 15:13 */ public function style() { $detail = DecorateStyle::where(['source'=>2])->findOrEmpty()->toArray(); return $detail; } /** * @notes 底部菜单 * @return array * @author cjhao * @date 2024/10/8 15:59 */ public function tabbar() { $detail = DecorateTabbar::where(['source'=>2])->findOrEmpty()->toArray(); return $detail; } }