临时加-限制特定用户抽中巡乐会主奖品

This commit is contained in:
2025-12-20 19:35:28 +08:00
parent ff5222e333
commit 32815cc578
2 changed files with 58 additions and 9 deletions

View File

@@ -36,7 +36,7 @@ class User extends adminApi
$search_str = input('search', '');
$search_user_code = input('search_user_code', '');
$order_type = input('order_type', 'id');
$order_type_val = input('order_type_val', 'desc');
$order_type_val = input('order_type_val', '');
$where['a.is_robot'] =0;
// $where['a.delete_time'] = 0;
//如果是手机号查手机号
@@ -100,10 +100,10 @@ class User extends adminApi
a.init_code,
a.status
';
if($order_type_val ==1){
$order_type_val_str = 'desc';
}else{
if($order_type_val ==2){
$order_type_val_str = 'asc';
}else{
$order_type_val_str = 'desc';
}
$order = 'a.id '.$order_type_val_str;
if($order_type=='coin'){