dever 6 年之前
父节点
当前提交
cacacf3fac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Wechat.php

+ 1 - 1
lib/Wechat.php

@@ -46,7 +46,7 @@ class Wechat extends Core
 		$input->SetTotal_fee($cash * 100);
 		$input->SetTime_start(date("YmdHis"));
 		$input->SetTime_expire(date("YmdHis", time() + $this->config->GetTimeOut()));
-		//$input->SetGoods_tag($name);
+		$input->SetSpbill_create_ip(Dever::ip());
 		$input->SetNotify_url($this->config->GetNotifyUrl());
 		$input->SetTrade_type($trade_type);
 		$input->SetProduct_id($product_id);