request->get('id', 0); $info = GoodsClass::getGoodsInfo($id); GoodsService::valid($info, $this->mainId); $setting = GoodsSettingClass::getByCondition(['mainId' => $this->mainId]); $intro = isset($setting['goodsIntroduce']) ? $setting['goodsIntroduce'] : ''; $info['commonIntro'] = $intro; util::success($info); } }