/// <summary> /// 保存信息 /// </summary> public void Save() { UserCookie cookie = new UserCookie(); cookie.m_key = "BSSTOCK"; cookie.m_value = AESHelper.Encrypt(JsonConvert.SerializeObject(m_bsStocks)); UserCookieService cookieService = DataCenter.UserCookieService; cookieService.AddCookie(cookie); }
/// <summary> /// 保存信息 /// </summary> public void Save() { UserCookie cookie = new UserCookie(); cookie.m_key = "CALENDAR"; cookie.m_value = AESHelper.Encrypt(JsonConvert.SerializeObject(m_calendars)); UserCookieService cookieService = DataCenter.UserCookieService; cookieService.AddCookie(cookie); }
/// <summary> /// 保存信息 /// </summary> public void Save() { UserCookie cookie = new UserCookie(); cookie.m_key = "BUSINESSCARD"; cookie.m_value = AESHelper.Encrypt(JsonConvert.SerializeObject(m_businessCards)); UserCookieService cookieService = DataCenter.UserCookieService; cookieService.AddCookie(cookie); }
/// <summary> /// 保存信息 /// </summary> public void Save() { UserCookie cookie = new UserCookie(); cookie.m_key = "DIMENSION"; cookie.m_value = AESHelper.Encrypt(JsonConvert.SerializeObject(m_dimensions)); UserCookieService cookieService = DataCenter.UserCookieService; cookieService.AddCookie(cookie); }
/// <summary> /// 保存信息 /// </summary> public void Save() { UserCookie cookie = new UserCookie(); cookie.m_key = "PERSONAL"; cookie.m_value = AESHelper.Encrypt(JsonConvert.SerializeObject(m_personals)); UserCookieService cookieService = DataCenter.UserCookieService; cookieService.AddCookie(cookie); }