public function getGiftMsg() { return $this->has_gift ? "满{$this->gift_upper}送{$this->gift_val}" : null; }