我要怎么样在一次 POST 请求中向服务器发送整个商店数据?可以使用 JSON 格式。
谢谢。
更新:
这是我的商店代码:
谢谢。
更新:
这是我的商店代码:
Ext.define('App.store.consultorio.Receita', {
extend: 'Ext.data.Store',
model: 'App.model.consultorio.Receita',
autoLoad: false,
proxy: {
type: 'rest',
reader: {
type: 'json'
},
writer: {
type: 'json'
},
url: 'consultas/receita.json'
}
});