40 lines
808 B
C#
40 lines
808 B
C#
namespace YLErp.Web.Models
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class LogOnModel
|
|
{
|
|
public string UserName { get; set; }
|
|
|
|
public string Password { get; set; }
|
|
|
|
public DateTime LoadTime { get; set; }
|
|
|
|
public string SID { get; set; }
|
|
|
|
public string ErrorMessage { get; set; }
|
|
|
|
public bool NeedCaptcha { get; set; }
|
|
|
|
public string CaptchaCode { get; set; }
|
|
|
|
public Exception Exception { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 单点登录
|
|
/// </summary>
|
|
public class SsoLogOnModel
|
|
{
|
|
public string SsoUrl { get; set; }
|
|
|
|
public string Error { get; set; }
|
|
|
|
public SsoLogOnModel SetError(string error)
|
|
{
|
|
Error = error;
|
|
return this;
|
|
}
|
|
}
|
|
} |