public void TestAction333(IRequest request, IApplication app, CatLib.API.Routing.IResponse response) //这样是不行的,由于容器注入优先匹配传入参数 { Debug.Log(response); //null Debug.Log(request); Debug.Log(app); Debug.Log("call TestController.TestAction22222"); }
public void TestAction(IRequest request, CatLib.API.Routing.IResponse response) { Debug.Log("call TestController.TestAction"); }