mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改媒体数据
This commit is contained in:
parent
f4c4329a45
commit
3f50646503
@ -100,5 +100,4 @@ if(typeof wx === 'object'){
|
|||||||
}
|
}
|
||||||
EOF;
|
EOF;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,7 @@ class MediaService extends Service
|
|||||||
$query = WechatNewsArticle::mk();
|
$query = WechatNewsArticle::mk();
|
||||||
$query->whereIn('id', $data['articleids'])->orderField('id', $data['articleids']);
|
$query->whereIn('id', $data['articleids'])->orderField('id', $data['articleids']);
|
||||||
$data['articles'] = $query->withoutField('create_by,create_at')->select()->toArray();
|
$data['articles'] = $query->withoutField('create_by,create_at')->select()->toArray();
|
||||||
return $data;
|
return $data->toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user