|
|
@@ -13,7 +13,7 @@ class TestController extends Controller
|
|
|
|
|
|
public function actionDel()
|
|
|
{
|
|
|
- $shopList = ShopClass::getAllByCondition(['ptStyle' => 2], null, '*', true);
|
|
|
+ $shopList = ShopClass::getAllByCondition(['ptStyle' => 2], null, '*', null, true);
|
|
|
if (!empty($shopList)) {
|
|
|
foreach ($shopList as $shop) {
|
|
|
$mainId = $shop->mainId ?? 0;
|