Commit 4fd55ce1 authored by zw's avatar zw

pk

门店排行显示名字
parent 4c8b01bc
...@@ -157,7 +157,7 @@ class RankingListService ...@@ -157,7 +157,7 @@ class RankingListService
foreach ($store_sort as $key => $value) { foreach ($store_sort as $key => $value) {
$store_arr = $this->agentModel->getStoreOrDistrict(["store_id" => $value["store_id"], "level" => ["in", "20"]]); $store_arr = $this->agentModel->getStoreOrDistrict(["store_id" => $value["store_id"], "level" => ["in", "20"]]);
if (count($store_arr) > 0) { if (count($store_arr) > 0) {
$value["name"] = count($store_arr) > 0 ? $store_arr[0]["name"] : "---"; //$value["name"] = count($store_arr) > 0 ? $store_arr[0]["name"] : "---";
$value["img"] = $store_arr[0]["img"]; $value["img"] = $store_arr[0]["img"];
} }
} }
......
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