我有假的 api 用于前端测试。
我已经看到 id 需要在 json-server 包中放置或发布您的数据,我的问题是我可以使用不同的密钥而不是 id 来代替 id 吗?
{ id: 1, ---> i want to change this with my custom id name: 'Test' }
npm json-server
json-server ×1
npm ×1