index($this->userId); return $this->success('', $index); } /** * @notes 主题配置 * @return \think\response\Json * @author cjhao * @date 2021/8/13 10:18 */ public function getConfig() { $config = (new DecorateThemeLogic())->getConfig(); return $this->success('', $config); } /** * @notes 根据类型获取主题页面(个人中心和商品分类) * @return \think\response\Json * @author cjhao * @date 2021/8/12 15:02 */ public function getPage() { $type = $this->request->get('type', ThemePageEnum::TYPE_MEMBER_CENTRE); $goodsId = $this->request->get('goods_id',''); $detail = (new DecorateThemeLogic())->getPage($type,$this->userId,$goodsId); return $this->success('', $detail); } /** * @notes 获取首页微页面 * @author cjhao * @date 2021/9/1 14:51 */ public function getIndexPage() { $id = $this->request->get('id'); $detail = (new DecorateThemeLogic())->getIndexPage($id); return $this->success('', $detail); } }