setUserParam($params, "goods_page", $this->goodsPage); $this->setUserParam($params, "goods_page_size", $this->goodsPageSize); $this->setUserParam($params, "need_goods_info", $this->needGoodsInfo); $this->setUserParam($params, "room_id", $this->roomId); } public function getVersion() { return "V1"; } public function getDataType() { return "JSON"; } public function getType() { return "pdd.ddk.live.detail"; } public function setGoodsPage($goodsPage) { $this->goodsPage = $goodsPage; } public function setGoodsPageSize($goodsPageSize) { $this->goodsPageSize = $goodsPageSize; } public function setNeedGoodsInfo($needGoodsInfo) { $this->needGoodsInfo = $needGoodsInfo; } public function setRoomId($roomId) { $this->roomId = $roomId; } }