修改验证代码

This commit is contained in:
zpc 2024-07-12 16:56:46 +08:00
parent 02ac4e3961
commit cb73982ef0
4 changed files with 9 additions and 15 deletions

View File

@ -1 +1,4 @@
# HuanMengProject
# HuanMengProject 开发文档
###

View File

@ -1,9 +0,0 @@
using System;
namespace HuanMeng.Utility
{
public class Class1
{
}
}

View File

@ -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>
/// 手机号

View File

@ -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)
{