mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 03:19:49 +08:00
【优化】接口短信发送方法增加code类型判断。
This commit is contained in:
@@ -382,6 +382,11 @@ namespace CoreCms.Net.Web.WebApi.Controllers
|
||||
jm.msg = "请输入合法的手机号码";
|
||||
return jm;
|
||||
}
|
||||
if (string.IsNullOrEmpty(entity.code))
|
||||
{
|
||||
jm.msg = "请提交合法的短信类型";
|
||||
return jm;
|
||||
}
|
||||
//此验证貌似没意义。
|
||||
//if (entity.code == "login")
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user