namespace CRM.Core.DTO.Res
{
public class ResetMobileDto
{
///
/// 用户名
///
public string username { get; set; }
///
/// 类型,0:绑定,1:解绑,2:修改
/// 0:绑定时需要新手机号
/// 1:解绑时需要旧手机号
/// 2:修改时需要新旧手机号
///
public int type { get; set; }
public string oldmobile { get; set; }
public string newmobile { get; set; }
public string ip { get; set; }
}
public class ResetMobileRet
{
public int ret { get; set; }
public string msg { get; set; }
}
public class ChangeMobile
{
public string mobile { get; set; }
public string newsoftusername { get; set; }
public string oldsoftusername { get; set; }
public int type { get; set; } //1:换绑,传了oldsoftusername会做解绑,没传只做换绑
//2:解绑,只做解绑操作,只传oldsoftusername和tpe=2即可
}
}