初始版本

This commit is contained in:
贾祥聪
2025-08-19 14:16:51 +08:00
commit f937a1f9b9
4373 changed files with 359728 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
<?php
namespace app\coachapi\controller;
use app\coachapi\logic\DecorateLogic;
/**
* 装修风格控制器类
* Class DecorateController
* @package app\api\controller
*/
class DecorateController extends BaseCoachController
{
public array $notNeedLogin = ['page','style','tabbar'];
/**
* @notes 获取装修页面
* @return \think\response\Json
* @author cjhao
* @date 2024/10/8 15:13
*/
public function page()
{
$type = $this->request->get('type',1);
$detail = (new DecorateLogic())->page($type);
return $this->success('',$detail);
}
/**
* @notes 获取装修风格
* @return \think\response\Json
* @author cjhao
* @date 2024/10/8 15:14
*/
public function style()
{
$detail = (new DecorateLogic())->style();
return $this->success('',$detail);
}
/**
* @notes 底部菜单
* @return \think\response\Json
* @author cjhao
* @date 2024/10/8 15:57
*/
public function tabbar()
{
$detail = (new DecorateLogic())->tabbar();
return $this->success('',$detail);
}
}