mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 23:10:45 +00:00
【程序目录】优化代码
This commit is contained in:
parent
c78eb32365
commit
8ba11b1f18
@ -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();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user