@@ -51,6 +51,7 @@ class ShopController extends BaseController
$addShopList = ShopClass::getAllByCondition(['mainId' => ['in', $mainIdList]], null, 'id,shopName,merchantName,sjId,mainId', 'id');
}
$all = array_merge($shopList, $addShopList);
+ $all = array_unique($all);
$list = array_values($all);
util::success(['list' => $list]);