ABP 错误 No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. The response had HTTP status code 500.

完整错误:

 No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. The response had HTTP status code 500.

运行后台

 

当前的错误原因:

出现了同名的方法

 解决方法:

修改同名方法中一个方法名

猜你喜欢

转载自www.cnblogs.com/sugarwxx/p/12964014.html