From 0ea5aff9d320a86968fc00d7f772c05978ba3ccf Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Wed, 30 Jul 2025 16:15:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cunkebao/controller/plan/PosterWeChatMiniProgram.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Server/application/cunkebao/controller/plan/PosterWeChatMiniProgram.php b/Server/application/cunkebao/controller/plan/PosterWeChatMiniProgram.php index 85bd2e06..aa5c2b53 100644 --- a/Server/application/cunkebao/controller/plan/PosterWeChatMiniProgram.php +++ b/Server/application/cunkebao/controller/plan/PosterWeChatMiniProgram.php @@ -150,10 +150,10 @@ class PosterWeChatMiniProgram extends Controller $sceneConf = json_decode($task['sceneConf'], true); - if(isset($sceneConf['posters'][0]['url']) || isset($sceneConf['posters'][0]['preview'])) { - $posterUrl = !empty($sceneConf['posters'][0]['url']) ? $sceneConf['posters'][0]['url'] : $sceneConf['posters'][0]['preview']; + if(isset($sceneConf['posters']['url'])) { + $posterUrl = !empty($sceneConf['posters']['url']); } else { - $posterUrl = ''; + $posterUrl = 'https://hebbkx1anhila5yf.public.blob.vercel-storage.com/%E7%82%B9%E5%87%BB%E5%92%A8%E8%AF%A2-FTiyAMAPop2g9LvjLOLDz0VwPg3KVu.gif'; }