dever 3 years ago
parent
commit
378894ae53
1 changed files with 3 additions and 0 deletions
  1. 3 0
      lib/Yspay.php

+ 3 - 0
lib/Yspay.php

@@ -196,6 +196,9 @@ class Yspay extends Core
 	# 退款
 	public function refund($order_id, $cash, $order, $refund_order_id = false)
 	{
+		if ($refund_order_id) {
+			$refund_order_id = $refund_order_id . '_' . Dever::order();
+		}
 		if (isset($this->config['prefix']) && $this->config['prefix']) {
 			$request['merOrderId'] = $this->config['prefix'] . $order_id;
 			if ($refund_order_id) {