///
/// 点播存储服务器 [Pub_PlaySaveServer] Ajax提交类
///
var PlaySaveServerAjax = new Object();
///
/// 点播存储服务器 [Pub_PlaySaveServer] 获取记录信息
///
PlaySaveServerAjax.GetInfo = function (key, send, fun, errorFun, target, html) {
return Global.Ajax(
{
ajaxCache: false,
ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.PlaySaveServerAjax.Get",
ajaxData: "key=" + encodeURIComponent(key),
ajaxAsync: true,
ajaxFunSuccess: fun,
ajaxFunError: errorFun
}, send, target, html);
};
///
/// 点播存储服务器 [Pub_PlaySaveServer] 添加记录
///
PlaySaveServerAjax.Insert = function (form, send, fun, errorFun, target, html) {
return Global.Ajax(
{
ajaxCache: false,
ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.PlaySaveServerAjax.Insert",
ajaxData: Global.GetFormValue(form),
ajaxAsync: true,
ajaxFunSuccess: fun,
ajaxFunError: errorFun
}, send, target, html);
};
///
/// 点播存储服务器 [Pub_PlaySaveServer] 修改记录
///
PlaySaveServerAjax.Update = function (form, send, fun, errorFun, target, html) {
return Global.Ajax(
{
ajaxCache: false,
ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.PlaySaveServerAjax.Update",
ajaxData: Global.GetFormValue(form),
ajaxAsync: true,
ajaxFunSuccess: fun,
ajaxFunError: errorFun
}, send, target, html);
};
///
/// 点播存储服务器 [Pub_PlaySaveServer] 删除记录
///
PlaySaveServerAjax.Delete = function (key, send, fun, errorFun, target, html) {
return Global.Ajax(
{
ajaxCache: false,
ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.PlaySaveServerAjax.Delete",
ajaxData: "key=" + encodeURIComponent(key),
ajaxAsync: true,
ajaxFunSuccess: fun,
ajaxFunError: errorFun
}, send, target, html);
};
///
/// 点播存储服务器 [Pub_PlaySaveServer] 批量删除记录
///
PlaySaveServerAjax.BatchDelete = function (key, send, fun, errorFun, target, html) {
return Global.Ajax(
{
ajaxCache: false,
ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.PlaySaveServerAjax.BatchDelete",
ajaxData: key,
ajaxAsync: true,
ajaxFunSuccess: fun,
ajaxFunError: errorFun
}, send, target, html);
};
/*******************************************
* 以下为自定义方法
*******************************************/