mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-04 04:53:00 +08:00
微信支付优化
This commit is contained in:
@ -231,7 +231,7 @@ class Weixin
|
||||
'mch_id' => $this->config['mch_id'],
|
||||
'body' => $params['site_name'].'-'.$params['name'],
|
||||
'nonce_str' => md5(time().rand().$params['order_no']),
|
||||
'notify_url' => $params['notify_url'],
|
||||
'notify_url' => str_replace('https', 'http', $params['notify_url']),
|
||||
'openid' => ($trade_type == 'JSAPI') ? $params['user']['weixin_openid'] : '',
|
||||
'out_trade_no' => $params['order_no'].GetNumberCode(6),
|
||||
'spbill_create_ip' => GetClientIP(),
|
||||
|
||||
Reference in New Issue
Block a user