[更新]修改微信媒体图片保存

This commit is contained in:
Anyon 2018-05-04 14:25:41 +08:00
parent 87ff875e0b
commit cad080a7fb

View File

@ -72,7 +72,7 @@ class MediaService
WechatService::wechat()->rmFile($local_url);
}
$data = ['local_url' => $local_url, 'media_url' => $info['url'], 'md5' => $map['md5']];
DataService::save('WechatNewsImage', $data, 'md5', ['type' => 'image']);
DataService::save('WechatNewsImage', $data, 'md5');
return $info['url'];
}