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