|
|
@@ -317,6 +317,9 @@ class ShopController extends BaseController
|
|
|
}
|
|
|
$shopList[$key]['balance'] = $balance;
|
|
|
$shopList[$key]['todaySale'] = $todaySale;
|
|
|
+ $count = CustomClass::getCount(['ownMainId' => $mainId]);
|
|
|
+ $count = $count > 0 ? $count : 0;
|
|
|
+ $shopList[$key]['shopNum'] = $count;
|
|
|
}
|
|
|
$shopList = arrayUtil::arraySort($shopList, 'todaySale');
|
|
|
}
|