|
@@ -31,7 +31,7 @@ class Core
|
|
|
|
|
|
$config = array
|
|
|
(
|
|
|
- 'pic', 'content', 'contact', 'logo', 'top', 'img', 'link', 'background', 'audio_pic'
|
|
|
+ 'pic_cover', 'pic_cover_169', 'content', 'share_pic'
|
|
|
);
|
|
|
|
|
|
foreach ($config as $k => $v) {
|
|
@@ -48,7 +48,7 @@ class Core
|
|
|
$pic = Dever::pic($pic, $type);
|
|
|
|
|
|
if (strstr($pic, 'http://')) {
|
|
|
- $pic = str_replace('http://', 'https://', $pic);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
return $pic;
|
|
@@ -78,6 +78,7 @@ class Core
|
|
|
|
|
|
protected function getInfo($type, $info, $content = false)
|
|
|
{
|
|
|
+ $info = $this->pic($info);
|
|
|
$info['type'] = $type;
|
|
|
$info['data_id'] = $info['id'];
|
|
|
if (isset($info['content']) && !$content) {
|