你这种方式应该是没办法区分它们的。这里有两种方法调用你的函数: (1)指定路由:GetCustom()方法写下代码[Route("api/customers/GetCustomer ")],然后你可以用get方法调用地址"api/customers/GetCustomer". (2).修改WebAipConfig类中Registe。