修改验证代码
This commit is contained in:
parent
02ac4e3961
commit
cb73982ef0
|
|
@ -1,9 +0,0 @@
|
|||
using System;
|
||||
|
||||
namespace HuanMeng.Utility
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,11 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace HuanMeng.MiaoYu.Code.Other
|
||||
namespace HuanMeng.Utility
|
||||
{
|
||||
/// <summary>
|
||||
/// 手机号
|
||||
|
|
@ -6,6 +6,7 @@ using HuanMeng.MiaoYu.Code.Users;
|
|||
using HuanMeng.MiaoYu.Model.Dto;
|
||||
using HuanMeng.MiaoYu.Model.Dto.Account;
|
||||
using HuanMeng.MiaoYu.WebApi.Base;
|
||||
using HuanMeng.Utility;
|
||||
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
|
@ -29,10 +30,11 @@ namespace HuanMeng.MiaoYu.WebApi.Controllers
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// 发送手机号验证码
|
||||
/// 发送手机号验证码
|
||||
/// </summary>
|
||||
/// <param name="PhoneNumber">手机号</param>
|
||||
/// <param name="phone"></param>
|
||||
/// <returns></returns>
|
||||
/// <exception cref="ArgumentException"></exception>
|
||||
[HttpPost]
|
||||
public async Task<BaseResponse<bool>> SendPhoneNumber([FromBody] RequestPhoneNumberModel phone)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user