/*访问后台的代码*/ layui.define([], function(exports) { var api={ updateXzxUserRoleInfo:function(form,callback){ Lib.submitForm("/admin/xzxUserRoleInfo/edit.json",form,{},callback) }, addXzxUserRoleInfo:function(form,callback){ Lib.submitForm("/admin/xzxUserRoleInfo/add.json",form,{},callback) }, del:function(ids,callback){ Common.post("/admin/xzxUserRoleInfo/delete.json",{"ids":ids},function(){ callback(); }) }, /* queryXzxUserRoleInfo:function(roleId,callback){ Common.post("/admin/xzxUserRoleInfo/ids.json",{"roleId":roleId},function(data){ callback(data); }) }*/ }; exports('xzxUserRoleInfoApi',api); });