From 5e5b950e83dff438e64ce7e088aaa31455091b0c Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 07 七月 2021 14:57:42 +0800
Subject: [PATCH] 2021-7-7-1

---
 HDL_ON/Common/UserInfo.cs |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/Common/UserInfo.cs b/HDL_ON/Common/UserInfo.cs
index 18d4f19..a242194 100644
--- a/HDL_ON/Common/UserInfo.cs
+++ b/HDL_ON/Common/UserInfo.cs
@@ -5,6 +5,7 @@
 using System.Drawing;
 using HDL_ON.DAL;
 using HDL_ON.DAL.Server;
+using Shared;
 
 namespace HDL_ON
 {
@@ -24,6 +25,40 @@
             {
                 if (m_Current == null)
                 {
+                    //Dome妯″紡
+                    if (MainPage.NoLoginMode)
+                    {
+                        if (Language.CurrentLanguage == "Chinese")
+                        {
+                            m_Current = new UserInfo()
+                            {
+                                ID = "浣撻獙璐﹀彿1234567890",
+                                userName = "浣撻獙璐﹀彿",
+                                AccountString = "浣撻獙璐﹀彿",
+                                userMobileInfo = "浣撻獙璐﹀彿",
+                                userEmailInfo = "浣撻獙璐﹀彿",
+                                language = "Chinese",
+                                areaCode = "86",
+                                headImagePagePath = "LoginIcon/2.png",
+                            };
+                        }
+                        else
+                        {
+                            m_Current = new UserInfo()
+                            {
+                                ID = "1234567890",
+                                userName = "Trial account",
+                                AccountString = "Trial account",
+                                userMobileInfo = "Trial account",
+                                userEmailInfo = "Trial account",
+                                language = "English",
+                                areaCode = "86",
+                                headImagePagePath = "LoginIcon/2.png",
+                            };
+                        }
+                        return m_Current;
+                    }
+
                     try
                     {
                         UserInfo temp = Newtonsoft.Json.JsonConvert.DeserializeObject<UserInfo>(

--
Gitblit v1.8.0