修复回复media_id

This commit is contained in:
JaguarJack 2020-06-30 07:17:55 +08:00
parent b9f055e052
commit 7dedec17d9

View File

@ -33,7 +33,7 @@ class WechatReplyRepository extends CatchRepository
$material = WeChat::officialAccount()->material; $material = WeChat::officialAccount()->material;
$mediaUrl = $this->getLocalPath($data['media_url'] ?? ''); $mediaUrl = $this->getLocalPath($data['media_url'] ?? '');
$imageUrl = $this->getLocalPath($data['imageUrl'] ?? ''); $imageUrl = $this->getLocalPath($data['image_url'] ?? '');
if ($imageUrl) { if ($imageUrl) {
// 音乐 // 音乐