dever 7 years ago
parent
commit
83052e4400
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Wechat.php

+ 1 - 1
lib/Wechat.php

@@ -42,7 +42,7 @@ class Wechat extends Core
 		$input->SetBody($name);
 		$input->SetAttach($name);
 		$input->SetOut_trade_no($order_id);
-		$input->SetTotal_fee($num);
+		$input->SetTotal_fee($cash);
 		$input->SetTime_start(date("YmdHis"));
 		$input->SetTime_expire(date("YmdHis", time() + $this->config->GetTimeOut()));
 		//$input->SetGoods_tag($name);