Browse Source

后台设置界面读取L1账套相关信息

chen_yjin 2 months ago
parent
commit
cb48c37561
1 changed files with 5 additions and 0 deletions
  1. 5 0
      JLHHJSvr/JLHHJSvrConfig.cs

+ 5 - 0
JLHHJSvr/JLHHJSvrConfig.cs

@@ -41,6 +41,11 @@ namespace JLHHJSvr
             }
 
             textBox5.Text = xmlconfig.GetXmlFileValue(configFile, string.Empty, "port", "9075");
+            textBox6.Text = xmlconfig.GetXmlFileValue(configFile, string.Empty, "httpport", "");
+            textBox7.Text = xmlconfig.GetXmlFileValue(configFile, string.Empty, "L1Server", "");
+            textBox10.Text = xmlconfig.GetXmlFileValue(configFile, string.Empty, "L1API", "");
+            textBox8.Text = xmlconfig.GetXmlFileValue(configFile, string.Empty, "L1Usercode", "");
+            textBox9.Text = DESEncrypt.Decrypt(xmlconfig.GetXmlFileValue(configFile, string.Empty, "L1Password", ""), "4A61A8B51C3E42BCAE991F6C913A6A33");
         }
 
         private void button1_Click(object sender, EventArgs e)