在高级应用程序中,我创建了新的模块 api(只需复制后端)。
并在 OpenServer 中修复路由:
像这样设置 RestApi 设置:https ://www.yiiframework.com/doc/guide/2.0/en/rest-quick-start
但是对于 url http://api/users我得到 404
怎么修?
在高级应用程序中,我创建了新的模块 api(只需复制后端)。
并在 OpenServer 中修复路由:
像这样设置 RestApi 设置:https ://www.yiiframework.com/doc/guide/2.0/en/rest-quick-start
但是对于 url http://api/users我得到 404
怎么修?