type = OrderCode::ORDER_TYPE_GOOD; } public function handle() { $this->getOrderInfo(); $this->getPayOrder(); $this->getRefundAmount(); if ($this->refundAmount <= 0) throw new Exception('退款金额不能小于等于0'); } }