修改为同时间可查

This commit is contained in:
“wanyongkang”
2025-05-27 18:03:44 +08:00
parent 02c7af374b
commit 1a4dbef678

View File

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