protected void Page_Load(object sender, EventArgs e) { OperateLoger.FunctionInfo =new FunctionInfo { PageCode= "PageCode",ModuleName= "模块名称",PowerCode= "PowerCode",PowerName = "功能名称",OperateLogEnabled=true };//PermissionManager.GetFunctionInfo(functionCode: "GetCustomerInfo", pagecode: this.PageCode, powerName: "获取用户余额", pageTitle: this.PageTitle, creatNewIfNotExists: false); OperateLoger.InputMessage = "这里是输入信息"; OperateLoger.OperationResult = OperationResult.Success; //这里是操作结果 OperateLoger.OutputMessage = "这里是输出信息"; OperateLoger.SaveLog(); Response.Write("OK"); }
时间: 2024-10-25 06:00:15