提交 1beeb3ae 编写于 作者: T Terry

Merge branch 'master' of github.com:fancyecommerce/yii2_fecshop

......@@ -161,7 +161,7 @@ class Currency extends Service
if (isset($this->currencys[$current_currency]['rate'])) {
$rate = $this->currencys[$current_currency]['rate'];
if ($rate) {
return bcmul($current_price, $rate, 2);
return bcdiv($current_price, $rate, 2);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册