vesh-cli
Version:
码农村nodejs版本VESH框架脚手架搭建器
20 lines • 724 B
JavaScript
(function(V) {
var merge = function() {
var ret = VJ.merge.apply(this, arguments);
//mysql特有
if (!ret.hasMarge && ret.PageIndex) { ret.hasMarge = true, ret.PageIndex = ret.PageIndex * ret.PageSize; }
return ret;
};
window.ni = VJ.getValue(window.ni, {});
if (top.location == location) {
window.top.ni = window.ni;
}
V.merge(window.ni, {
Ni: {
//缓存占位
'Module.Cache': { params: {} },
'Module.Set': { params: {} },
'home.updateProductStatus': { command: 'home/updateProductStatus.tjson?_n=MT', dbtype: 'tjson', params: {}, template: 'template1', merge: merge }
}
}, true);
})(VJ);