pay debug

feat/task1-c-wallet
devil_gong 2019-01-08 14:26:55 +08:00
parent 1410af4c9d
commit 95301089c1
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ class WeixinMini
'body' => $params['site_name'].'-'.$params['name'],
'nonce_str' => md5(time().rand().$params['order_no']),
'notify_url' => $params['notify_url'],
'openid' => $params['user']['weixin_openid'],
'openid' => ($trade_type == 'JSAPI') ? $params['user']['weixin_openid'] : '',
'out_trade_no' => $params['order_no'].GetNumberCode(6),
'spbill_create_ip' => GetClientIP(),
'total_fee' => intval($params['total_price']*100),