partnerId; } /** * 点赞与否 * @return mixed */ public function getThumb() { return $this->thumb; } public function requestRules() { return [ ['partnerId', 'partner_id', 'bail|integer', Constants::INTEGER, null], ['thumb', 'thumb', PartnerThumb::class, Constants::ENUM, null], ]; } public function responseRules() { return [ ['result', 'result', 'bail', null, null], ]; } public function setResponse($result) { $this->result = $result; } }