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);