Commit 5ab11b7d by hcy001

1

parent eded1fd7
Showing with 1 additions and 1 deletions
......@@ -48,7 +48,7 @@ class QuoteModel extends Model
->toArray();
if (!$list) return [20001, '没有数据'];
foreach ($list['data'] as $k=>&$v){
$v["price_origin"] = $v["currency"] == 2 ? "$".$v["price_origin"] : "--";
$v["price_origin"] = $v["currency"] >1 ? "$".$v["price_origin"] : "--";
$v["price_rmb"] = $v["currency"] == 1 ? "¥".$v["price_rmb"]:"--";
$v['status'] = QuoteMap::$status[$v["status"]];
if ($v["create_name"] == "digikey"){
......
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