TG.WXCRM.V4/Core.DTO/Res/ResetMobileDto.cs

35 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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即可
}
}