[code="java"]
autoLoad : true,
proxy : {
type : 'rest',
// 通过拼接url的方式不太友好。
// url : 'api/machine/device?organization='+ewayUser.organizationId,
url : 'api/machine/device',
reader : {
type : 'json',
root : 'data'
},
params : {
organization : ewayUser.organizationId
}
}
[/code]