|
@@ -121,7 +121,7 @@ class Consult extends Base
|
|
|
$value['image'] = image_path($value['image']);
|
|
|
if($value['type'] == 1){ //后台媒体
|
|
|
//媒体信息
|
|
|
- $media_info = Db::name('store_media')->field('logo,title')->where('id',$value['user_id'])->find();
|
|
|
+ $media_info = Db::name('store_media')->field('logo,title')->where('id',$value['media_id'])->find();
|
|
|
$value['media_logo'] = $media_info['logo'];
|
|
|
$value['media_title'] = $media_info['title'];
|
|
|
}else{ //用户
|