This commit is contained in:
Your Name
2026-08-25 15:05:49 +08:00
parent 381fe65367
commit b5b14516a1
3 changed files with 12 additions and 1 deletions
@@ -758,6 +758,7 @@ class WecomPromotionLogic
}
$query = Db::name('admin')->alias('a')
->whereNull('a.delete_time')
->where('a.disable', 0)
->where('a.work_wechat_userid', '<>', '');
if ($visibleIds !== null) {
$query->whereIn('a.id', $visibleIds);