适配登录方式传送机制

This commit is contained in:
dathlin
2017-07-24 20:54:40 +08:00
parent 417dc64fa7
commit 4fc472fced
5 changed files with 13 additions and 5 deletions

View File

@@ -209,8 +209,9 @@ namespace 软件系统客户端模版
//包装数据
JObject json = new JObject
{
{ UserAccount.UserNameText, new Newtonsoft.Json.Linq.JValue(textBox_userName.Text) },
{ UserAccount.PasswordText, new Newtonsoft.Json.Linq.JValue(textBox_password.Text) }
{ UserAccount.UserNameText, new JValue(textBox_userName.Text) },
{ UserAccount.PasswordText, new JValue(textBox_password.Text) },
{ UserAccount.LoginWayText, new JValue("winform") }
};
result = UserClient.Net_simplify_client.ReadFromServer(CommonLibrary.CommonHeadCode.SimplifyHeadCode., json.ToString());
if (result.IsSuccess)