Commit eddb3936 by 朱继来

调整

parent a5ec370c
Showing with 3 additions and 2 deletions
......@@ -745,8 +745,9 @@ class QuoteModel extends Model
$quote_info = $input['quote_info'];
if ($quote_info['currency'] == 2) {
$CommonModel = new CommonModel;
$CommonModel = new CommonModel;
if ($quote_info['currency'] == 2) {
$rate = $CommonModel->getRate();
$quote_info['price_rmb'] = $rate ? number_format($quote_info['price_origin'] * $rate, 6) : 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment