35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
namespace CRM.Core.DTO.Res
|
||
{
|
||
public class ResetMobileDto
|
||
{
|
||
/// <summary>
|
||
/// 用户名
|
||
/// </summary>
|
||
public string username { get; set; }
|
||
/// <summary>
|
||
/// 类型,0:绑定,1:解绑,2:修改
|
||
/// 0:绑定时需要新手机号
|
||
/// 1:解绑时需要旧手机号
|
||
/// 2:修改时需要新旧手机号
|
||
/// </summary>
|
||
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即可
|
||
}
|
||
}
|