微信模版消息

This commit is contained in:
ASUS 2025-10-20 17:50:04 +08:00
parent 22c4b3cd7b
commit ed31bd3e02
1 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,12 @@ class SendWechatTemp implements Consumer
if(!$user_list) {
return false;
}
foreach ($user_list as $k => &$v) {
$u = Db::name('tb_user_info')->where(['id' => $v['u_user_id']])->find();
if($u) {
$v['wechat_ac_open_id'] = $u['wechat_ac_open_id'];
}
}
}else {
Log::info('范围用户查找出错');
return false;