[HttpGet("{Act}/{UserID}", Name = "GetDevList")] //action不能用,act改为action,编译无问题,测试时提示404 public string Get(string Act, string UserID) { return UserID + Act + Request.Host; }
[HttpGet("{Act}/{UserID}", Name = "GetDevList")] //action不能用,act改为action,编译无问题,测试时提示404 public string Get(string Act, string UserID) { return UserID + Act + Request.Host; }