更新时间:2023-11-16 15:47:52
使用get
动词时,没有身体.
With get
verb, there is no body.
您需要像这样更改远程方法:
You need to change the remote method like this :
accepts: {arg: 'id', type: 'number', http: { source: 'path' } },
http: {
path: '/list/:id',
verb: 'get'
}