代码提交

This commit is contained in:
wong
2025-10-20 14:22:20 +08:00
parent 87bf284943
commit 527d5341db
8 changed files with 301 additions and 9 deletions

View File

@@ -223,7 +223,6 @@ class PostCreateAddFriendPlanV1Controller extends BaseController
if (!empty($params['wechatGroups']) && is_array($params['wechatGroups'])) {
$rows = Db::name('wechat_group_member')->alias('gm')
->join('wechat_account wa', 'gm.identifier = wa.wechatId')
->where('gm.companyId', $this->getUserInfo('companyId'))
->whereIn('gm.groupId', $params['wechatGroups'])
->group('gm.identifier')
->column('wa.id,wa.wechatId,wa.alias,wa.phone');