//写日志 By 阮创 2017/11/30 public static void Write(Result result) { T_User_Log t_User_Log = new T_User_Log(); t_User_Log.F_User_Id = ManageProvider.Provider.Current().User.F_Id; t_User_Log.F_Account = ManageProvider.Provider.Current().User.F_Account; t_User_Log.F_IPAddress = URIHelper.GetUserIP(); t_User_Log.F_Menu = AuthApp.CurrentMenu; t_User_Log.F_Action = AuthApp.CurrentAction; t_User_Log.F_Result_Mark = (int)result; t_User_Log.F_Enable_Mark = 1; t_User_Log.F_Delete_Mark = 0; userLogBusiness.Write(t_User_Log); }