【代理商管理页面可通过代理商账号和手机号都能搜索】

https://www.tapd.cn/tapd_fe/67163502/story/detail/1167163502001000055
This commit is contained in:
“wanyongkang”
2025-05-27 17:38:58 +08:00
parent 853e9d4855
commit 02c7af374b

View File

@@ -24,7 +24,7 @@ class Agent extends Controller
}
$where = [];
if(!empty($_GET['keyWord'])){
$where['username'] = $_GET['keyWord'];
$where = 'username = '.$_GET['keyWord'].' OR phone='.$_GET['keyWord'];
}
$agent_user_model = new AgentUser;
$user_model = new UserModel;