|
@@ -26,12 +26,12 @@ class Core
|
|
|
}
|
|
|
|
|
|
|
|
|
- protected function pic($data, $type = 't1')
|
|
|
+ public function pic($data, $type = 't1')
|
|
|
{
|
|
|
|
|
|
$config = array
|
|
|
(
|
|
|
- 'pic_cover', 'pic_cover_169', 'content', 'share_pic'
|
|
|
+ 'pic','pic_cover', 'pic_cover_169', 'content', 'share_pic'
|
|
|
);
|
|
|
|
|
|
foreach ($config as $k => $v) {
|
|
@@ -43,7 +43,7 @@ class Core
|
|
|
return $data;
|
|
|
}
|
|
|
|
|
|
- protected function replacePic($pic, $type = 't1')
|
|
|
+ public function replacePic($pic, $type = 't1')
|
|
|
{
|
|
|
$pic = Dever::pic($pic, $type);
|
|
|
|