1
我想知道是否有可能像在extjs 3.x.x中调用php api。
让我解释一下,我有一个店,我想从PHP获取数据:Extjs 4数据存储和php
Ext.define('KY.store.watcherStore',{
extend: 'Ext.data.Store',
model: 'KY.model.WatcherModel',
proxy: {
type: 'ajax',
url : '/admin/rest/ksThresholdWatcher/loadAllRef',
//reader: {
// type: 'json'
//},
}
});
的网址PARAM调用ksThresholdWatcher.php方法loadAllRef
(我有一个PHP REST API); 但它永远不会调用我的PHP脚本。我卡住了,我现在不怎么做,所有例子我看到设置url参数像这样的网址:'myPHP.php'。
我该如何让它按照我的方式工作?
thx求助 它的工作如果我使用Ext.create – user1167186