Multiple actions were found that match the request Web API时间:2023-03-09 08:39:10 在WebAPI工程入口不对外公开的接口不能使用public。 [HttpPost] public string PostRequest([FromBody] Model model) { /// } //Validate方法是不对外公布的,得弄成私有的。 private bool Validate(Model model) { return true; }