Commit be0999e0 authored by luhongguang's avatar luhongguang

update:字段类型问题

parent 3fe5af0e
......@@ -399,7 +399,7 @@ class MarketingPindanGoodsService
$count = PindanGoodsSku::count("*", $where);
if (!empty($list)) {
foreach ($list as $key => $item) {
$list[$key]["original_price"] = $item["original_price"] / 100;
$list[$key]["original_price"] = (int)$item["original_price"] / 100;
$list[$key]["price"] = $item["price"] / 100;
if (!empty($otaData) && !empty($otaData[$item["ota_id"]])) {
$list[$key]["ota_name"] = $otaData[$item["ota_id"]]["ota_name"];
......
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 to comment