Update waAPIController.class.php

When you need to apply to the method plug-in, you turn to the address:
[domain]/[app]/[plugin].[method] 
but however, some third-party clients should refer to a specific endpart URL, for example /cart.


This commit allows such a request method:
[domain]/[app]/[plugin]/[method]