提交 2d3b3687 编写于 作者: D devil_gong

pay debug

上级 7c1b3ed0
...@@ -113,6 +113,7 @@ class OrderService ...@@ -113,6 +113,7 @@ class OrderService
'total_price' => $order['total_price'], 'total_price' => $order['total_price'],
'notify_url' => $url.'_notify.php', 'notify_url' => $url.'_notify.php',
'call_back_url' => $call_back_url, 'call_back_url' => $call_back_url,
'site_name' => MyC('home_seo_site_title', 'ShopXO', true),
); );
$pay_name = 'payment\\'.$payment[0]['payment']; $pay_name = 'payment\\'.$payment[0]['payment'];
$ret = (new $pay_name($payment[0]['config']))->Pay($pay_data); $ret = (new $pay_name($payment[0]['config']))->Pay($pay_data);
......
...@@ -202,7 +202,7 @@ class WeixinMini ...@@ -202,7 +202,7 @@ class WeixinMini
$data = [ $data = [
'appid' => $this->config['appid'], 'appid' => $this->config['appid'],
'mch_id' => $this->config['mch_id'], 'mch_id' => $this->config['mch_id'],
'body' => $params['name'], 'body' => $params['site_name'].'-'.$params['name'],
'nonce_str' => md5(time().rand().$params['order_no']), 'nonce_str' => md5(time().rand().$params['order_no']),
'notify_url' => $params['notify_url'], 'notify_url' => $params['notify_url'],
'openid' => $params['user_openid'], 'openid' => $params['user_openid'],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册