コード例 #1
0
 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");
 }
コード例 #2
0
 public void TestAction(IRequest request, CatLib.API.Routing.IResponse response)
 {
     Debug.Log("call TestController.TestAction");
 }