feat : spu

This commit is contained in:
2025-03-26 16:55:31 +08:00
parent 87808f2c6e
commit b1f79620fb
8 changed files with 121 additions and 16 deletions

View File

@@ -12,9 +12,11 @@ use Hyperf\DbConnection\Model\Model;
/**
* @property int $id
* @property int $user_id
* @property int $order_type
* @property int $order_type
* @property int $type
* @property int $order_id
* @property int $pay_id
* @property int $pay_id
* @property string $good_ids
* @property int $refund_status
* @property string $refund_money
* @property string $refund_time
@@ -98,9 +100,9 @@ class RefundOrder extends Model
/**
* @param string $orderSno
* @param int $type
* @return \Hyperf\Database\Model\Model|null
* @return \Hyperf\Database\Model\Model|RefundOrder|null
*/
public function getInfoByOrderSnoAndType(string $orderSno, int $type): \Hyperf\Database\Model\Model|null
public function getInfoByOrderSnoAndType(string $orderSno, int $type): \Hyperf\Database\Model\Model|null|RefundOrder
{
return $this->where('refund_order_sno',$orderSno)->where('refund_type',$type)->first();
}