/// <summary> /// 定制跟单 /// </summary> /// <param name="info"></param> public void TogetherFollow_AfterTranCommit(TogetherFollowerRuleInfo info) { if (info == null) { return; } else if (string.IsNullOrEmpty(info.CreaterUserId) || string.IsNullOrEmpty(info.FollowerUserId)) { return; } UserBalanceManager userBalanceManger = new UserBalanceManager(); var createUserInfo = userBalanceManger.GetUserRegister(info.CreaterUserId); if (createUserInfo == null) { return; } var followUserInfo = userBalanceManger.GetUserRegister(info.FollowerUserId); if (followUserInfo == null) { return; } var gameCodeName = string.Empty; var gameTypeName = string.Empty; gameCodeName = BusinessHelper.FormatGameCode(info.GameCode); if (!string.IsNullOrEmpty(info.GameType)) { gameTypeName = BusinessHelper.FormatGameType_Each(info.GameCode, info.GameType); } SiteMessageControllBusiness siteMsgBusiness = new SiteMessageControllBusiness(); var array = new string[] { "[UserName]=" + followUserInfo.DisplayName + "", "[CreateUser]=" + createUserInfo.DisplayName + "", "[GameCodeName]=" + gameCodeName + "", "[GameTypeName]=" + gameTypeName + "" }; siteMsgBusiness.DoSendSiteMessage(info.FollowerUserId, string.Empty, "ON_User_Scheme_Together_FollowerRule", array); }