1、Controller 类名必须以Controller 结尾
2、访问Controller时, 必须去掉Controller,比如 :访问 ChatTestController 中的Action:
http://xxx.com/api/ChatTest/actionA
1、Controller 类名必须以Controller 结尾
2、访问Controller时, 必须去掉Controller,比如 :访问 ChatTestController 中的Action:
http://xxx.com/api/ChatTest/actionA
转载于:https://www.cnblogs.com/perpetual/p/3769954.html