Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 ng-admin 状态下更改 url。例如,我需要/在 URL 处添加尾随以获取用户列表。(http://localhost/api/v1/users/ instead的http://localhost/api/v1/users)
/
http://localhost/api/v1/users/ instead
http://localhost/api/v1/users
EntityandView类提供了一个方法baseUrl(),所以它可能不是很难。只需按照文档中的说明进行操作:
Entity
View
baseUrl()