dever 5 years ago
parent
commit
851fdb9693
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Wechat.php

+ 1 - 1
lib/Wechat.php

@@ -72,7 +72,7 @@ class Wechat extends Core
 	public function refund($order_id, $cash)
 	{
 		$out_trade_no = $order_id;
-		$info['cash'] = $cash * 100;
+		$cash = $cash * 100;
 		$total_fee = $cash;
 		$refund_fee = $cash;
 		$input = new \WxPayRefund();