@@ -34,7 +34,10 @@ class AdviceModel extends BaseModel
{
$info = parent::getInfo($id); // TODO: Change the autogenerated stub
if ($info) {
-
+ // 图片
+ if ($info['thumb']) {
+ $info['thumb'] = get_image_url($info['thumb']);
+ }
}
return $info;