$today = date('m-d');
$where = [
'right(user_birthday, 5)' => $today, //今天生日
// 'user_status' => 0,
'record_status' => 0,
];
$users = Db::name('user_info')
->where($where)
->field('id,user_name,system_flag,user_birthday')
->select();
$today = date('m-d');
$where = [
'right(user_birthday, 5)' => $today, //今天生日
// 'user_status' => 0,
'record_status' => 0,
];
$users = Db::name('user_info')
->where($where)
->field('id,user_name,system_flag,user_birthday')
->select();