pay debug

feat/task1-c-wallet
devil_gong 2019-01-07 15:43:30 +08:00
parent a1457dee66
commit 7c1b3ed01f
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ class WeixinMini
'openid' => $params['user_openid'],
'out_trade_no' => $params['order_no'],
'spbill_create_ip' => GetClientIP(),
'total_fee' => $params['total_price']*100,
'total_fee' => intval($params['total_price']*100),
'trade_type' => empty($params['trade_type']) ? 'JSAPI' : $params['trade_type'],
'attach' => empty($params['attach']) ? 'shopxo-attach' : $params['attach'],
'sign_type' => 'MD5',