using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace APT.Utility { public class TokenRequest { public string UserName { get; set; } public string Password { get; set; } public string random { get; set; } public string phoneCode { get; set; } public string orgId { get; set; } public string verificationCode { get; set; } /// /// 0:密码 1:令牌 /// public int Grant_type { get; set; } public string ClientId { get; set; } public string ClinetSecret { get; set; } public string RefreshToken { get; set; } } public class TokenLoginRequest { /// /// 手机号 /// public string phone { get; set; } /// /// 密码 /// public string password { get; set; } /// /// 验证码 /// public string phoneCode { get; set; } /// /// 验证类型 /// public int grantType { get; set; } /// /// 刷新token /// public string refreshToken { get; set; } public string userId { get; set; } } }