|
...
|
...
|
@@ -48,7 +48,9 @@ class AiBlogController extends BaseController |
|
|
|
'id.required' => '主键不能为空',
|
|
|
|
]);
|
|
|
|
$info = $aiBlog->read(['id'=>$this->param['id']]);
|
|
|
|
$info['anchor'] = json_decode($info['anchor'] ?? [],true);
|
|
|
|
if(!empty($info['anchor'])){
|
|
|
|
$info['anchor'] = json_decode($info['anchor'],true);
|
|
|
|
}
|
|
|
|
$info['image'] = getImageUrl($info['image']);
|
|
|
|
$this->response('success',Code::SUCCESS,$info);
|
|
|
|
}
|
...
|
...
|
|