|
...
|
...
|
@@ -35,6 +35,12 @@ class AiBlogController extends BaseController |
|
|
|
*/
|
|
|
|
public function getAiBlog(AiBlog $aiBlog){
|
|
|
|
$lists = $aiBlog->lists($this->map,$this->page,$this->row,'id',['id','new_title','task_id','status','created_at','updated_at']);
|
|
|
|
if(!empty($lists) && !empty($lists['list'])){
|
|
|
|
foreach ($lists['list'] as $k => $v){
|
|
|
|
$v['image'] = getImageUrl($v['url'],$this->user['storage_type'],$this->user['project_location']);
|
|
|
|
$lists['list'][$k] = $v;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$this->response('success',Code::SUCCESS,$lists);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|