Authored by Rock Zhang

修复支付金额单位为分时导致微信扫码支付失败的bug

@@ -93,7 +93,7 @@ class Service extends PayAbstract @@ -93,7 +93,7 @@ class Service extends PayAbstract
93 $rsp->bankName = "WX"; 93 $rsp->bankName = "WX";
94 $rsp->orderCode = $data['orderCode']; 94 $rsp->orderCode = $data['orderCode'];
95 $rsp->payTime = $result["time_end"]; 95 $rsp->payTime = $result["time_end"];
96 - $rsp->totalFee = $result["total_fee"]; 96 + $rsp->totalFee = $result["total_fee"] / 100;
97 $rsp->resultMsg = '支付成功'; 97 $rsp->resultMsg = '支付成功';
98 //添加支付订单号和交易号 98 //添加支付订单号和交易号
99 $rsp->payOrderCode = $data["orderCode"]; 99 $rsp->payOrderCode = $data["orderCode"];