修改登录模块~支持多用户登录
This commit is contained in:
43
NX.ERP.U8/ufsoft.cs
Normal file
43
NX.ERP.U8/ufsoft.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.U8
|
||||
{
|
||||
|
||||
public class ufsoft
|
||||
{
|
||||
[System.Xml.Serialization.XmlElement(Type = typeof(UserTokenData), ElementName = "data")]
|
||||
public UserTokenData UserTokenData { get; set; }
|
||||
[System.Xml.Serialization.XmlElement(Type = typeof(AppServer), ElementName = "AppServerName")]
|
||||
public AppServer AppServerName { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class AppServer
|
||||
{
|
||||
[System.Xml.Serialization.XmlAttribute]
|
||||
public string Name { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class UserTokenData
|
||||
{
|
||||
[System.Xml.Serialization.XmlElement(Type = typeof(SignedToken), ElementName = "SignedToken")]
|
||||
public SignedToken SignedToken { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class SignedToken
|
||||
{
|
||||
[System.Xml.Serialization.XmlAttribute(AttributeName="id")]
|
||||
public string Id { get; set; }
|
||||
[System.Xml.Serialization.XmlAttribute(AttributeName = "value")]
|
||||
public string Value { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user