【程序目录】优化代码

This commit is contained in:
wuhaotian 2025-05-07 11:33:43 +08:00
parent c78eb32365
commit 8ba11b1f18

View File

@ -178,7 +178,7 @@ class UserWechatUserDao extends BaseDao
if (strpos($where['label_id'], ',') !== false) {
$query->name('user_label_relation')->whereIn('label_id', explode(',', $where['label_id']))->field('uid')->select();
} else {
$query->name('user_label_relation')->where('label_id', $where['label_id'])->field('uid')->select();
$query->name('user_label_relation')->where('label_id', (int)$where['label_id'])->field('uid')->select();
}
}
});