mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改微信媒体图片保存
This commit is contained in:
parent
87ff875e0b
commit
cad080a7fb
@ -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'];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user