小程序优化
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user