setUserParam($params, "cat_id", $this->catId); } public function getVersion() { return "V1"; } public function getDataType() { return "JSON"; } public function getType() { return "pdd.goods.cat.template.get"; } public function setCatId($catId) { $this->catId = $catId; } }