【代理商管理页面可通过代理商账号和手机号都能搜索】
https://www.tapd.cn/tapd_fe/67163502/story/detail/1167163502001000055
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user