|
@@ -5054,7 +5054,7 @@ class CarController extends CommonController
|
|
|
$wxfydata['debug'] = false;
|
|
|
$wxfydata['filepath'] = $lib_path . 'Weixin/cert/';
|
|
|
$prefix = 1450;
|
|
|
- $wxfydata['mchnt_order_no'] = $prefix . 'ssss'.time(); //商户订单号, 商户系统内部的订单号(5 到 30 个字符、 只能包含字母数字,区分大小写)
|
|
|
+ $wxfydata['mchnt_order_no'] = $prefix . $out_trade_no; //商户订单号, 商户系统内部的订单号(5 到 30 个字符、 只能包含字母数字,区分大小写)
|
|
|
$wxfydata['random_str'] = $nonce_str;
|
|
|
$wxfydata['goods_des'] = base64_encode($body);
|
|
|
$wxfydata['term_ip'] = $_SERVER['HTTP_X_FORWARDED_FOR'];
|