修改媒体数据

This commit is contained in:
邹景立 2021-09-15 23:33:21 +08:00
parent f4c4329a45
commit 3f50646503
2 changed files with 1 additions and 2 deletions

View File

@ -100,5 +100,4 @@ if(typeof wx === 'object'){
}
EOF;
}
}

View File

@ -52,7 +52,7 @@ class MediaService extends Service
$query = WechatNewsArticle::mk();
$query->whereIn('id', $data['articleids'])->orderField('id', $data['articleids']);
$data['articles'] = $query->withoutField('create_by,create_at')->select()->toArray();
return $data;
return $data->toArray();
}
/**