|
|
@@ -3,6 +3,7 @@ namespace backendApi\modules\v1\models\lists\ad;
|
|
|
|
|
|
use backendApi\modules\v1\models\Admin;
|
|
|
use backendApi\modules\v1\models\AdminCountry;
|
|
|
+use common\helpers\LoggerTool;
|
|
|
use common\libs\dataList\DataListInterface;
|
|
|
use common\models\Ad;
|
|
|
use common\models\AdLocation;
|
|
|
@@ -29,6 +30,8 @@ class AdIndexList extends \common\libs\dataList\DataList implements DataListInte
|
|
|
'orderBy' => 'AD.STATUS DESC,AD.SORT DESC,AD.CREATED_AT ASC',
|
|
|
]);
|
|
|
|
|
|
+ LoggerTool::error(json_encode($this->listData));
|
|
|
+
|
|
|
// COUNTRY_ID是逗号分割的ID,需要提取国家名称、CODE
|
|
|
foreach($this->listData as $key => $row){
|
|
|
$countryIds = explode(',', $row['COUNTRY_ID']);
|