|
|
@@ -615,6 +615,9 @@ class WechatService
|
|
|
// 使用动态时间戳
|
|
|
$current_timestamp = time();
|
|
|
// $contract_code = preg_replace("/[^0-9]/", "", $contract_code);
|
|
|
+ if ($return_web != '1'){
|
|
|
+ $return_web ='http://red.igxys.com/'.$return_web;
|
|
|
+ }
|
|
|
$params = [
|
|
|
// 'appid' => 'wx5681205d1ef4d9d3',
|
|
|
'appid' => $app_id,
|
|
|
@@ -626,7 +629,7 @@ class WechatService
|
|
|
'notify_url' => 'http://red.igxys.com/api/wechat/notify/'.$cid,
|
|
|
'timestamp' => $current_timestamp, // 动态时间戳
|
|
|
'version' => '1.0',
|
|
|
- 'return_web' => 'http://red.igxys.com/'.$return_web
|
|
|
+ 'return_web' => $return_web
|
|
|
];
|
|
|
|
|
|
// 关键步骤1:先对需要编码的参数进行原始值存储
|