api/expert_manage/getList 加国家筛选

解析简历信息
This commit is contained in:
wyn
2026-06-08 11:00:54 +08:00
parent 1d54946fef
commit aee9b00c6f
5 changed files with 100 additions and 3 deletions

View File

@@ -2141,9 +2141,12 @@ class EmailClient extends Base
$where['l.state'] = intval($state);
}
if ($keyword !== '') {
$where['e.email|e.name'] = ['like',"%".trim($keyword)."%"];
$where['e.email|e.name'] = ['like', '%' . $keyword . '%'];
}
$total = Db::name('promotion_email_log')->alias('l')->where($where)->count();
$total = Db::name('promotion_email_log')->alias('l')
->join('t_expert e', 'l.expert_id = e.expert_id', 'LEFT')
->where($where)
->count('l.log_id');
$list = Db::name('promotion_email_log')->alias('l')
->join('t_expert e', 'l.expert_id = e.expert_id', 'LEFT')
->where($where)