|
|
@@ -63,7 +63,7 @@ class ProductController extends Controller
|
|
|
// ./yii product/get-img
|
|
|
public function actionGetImg()
|
|
|
{
|
|
|
- $list = ProductClass::getAllByCondition(['shopId' => 10], null, '*');
|
|
|
+ $list = ProductClass::getAllByCondition(['shopId' => 10], null, '*', null, true);
|
|
|
$arr = [];
|
|
|
if (!empty($list)) {
|
|
|
foreach ($list as $key => $val) {
|