1、文件目录:app/adminapi/controller/v1/application/wechat/WechatNewsCategory.php155行
修改代码:
$wechatNews['image_input'] = $list['new'][0]['image_input'];
2、文件目录:app/services/wechat/WechatReplyServices.php
搜索:[size=9pt]redact([/size][size=9pt]$data[/size][size=9pt], [/size][size=9pt]$id[/size][size=9pt], [/size][size=9pt]$key[/size][size=9pt], [/size][size=9pt]$type[/size][size=9pt], [/size][size=9pt]$status [/size][size=9pt]= [/size][size=9pt]1[/size][size=9pt])[/size]
修改代码
$data = $data['list'][0] ?? [];
搜索:整理图文资源
if (count($data['image_input'])) $data['image'] = $data['image_input'][0];
搜索:获取关键字
$title = $res['data']['title'] ?? ''; $image = $res['data']['image'][0] ?? ''; $description = $res['data']['synopsis'] ?? ''; $url = $res['data']['url'] ?? '';
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}