|
|
@@ -172,8 +172,8 @@ namespace CallCenterApi.Interface.Controllers
|
|
172
|
172
|
ActionResult res = NoToken("未知错误,请重新登录");
|
|
173
|
173
|
if (Request.IsAuthenticated)
|
|
174
|
174
|
{
|
|
175
|
|
- if (!RegexHelper.RegexPwd(input.Password.Trim()))
|
|
176
|
|
- return Error("密码必须为6-16个字符,大、小写字母和数字的组合");
|
|
|
175
|
+ //if (!RegexHelper.RegexPwd(input.Password.Trim()))
|
|
|
176
|
+ // return Error("密码必须为6-16个字符,大、小写字母和数字的组合");
|
|
177
|
177
|
|
|
178
|
178
|
|
|
179
|
179
|
var model = sysUserAccountBll.GetModel(int.Parse(input.Usercode));
|
|
|
@@ -439,8 +439,8 @@ namespace CallCenterApi.Interface.Controllers
|
|
439
|
439
|
var res = NoToken("未知错误,请重新登录");
|
|
440
|
440
|
if (Request.IsAuthenticated)
|
|
441
|
441
|
{
|
|
442
|
|
- if (!RegexHelper.RegexPwd(pwd))
|
|
443
|
|
- return Error("密码必须为6-16个字符,大、小写字母和数字的组合");
|
|
|
442
|
+ //if (!RegexHelper.RegexPwd(pwd))
|
|
|
443
|
+ // return Error("密码必须为6-16个字符,大、小写字母和数字的组合");
|
|
444
|
444
|
var model = sysUserAccountBll.GetModel(usercode);
|
|
445
|
445
|
if (model == null) return Error("此用户不存在");
|
|
446
|
446
|
model.F_Password = pwd;
|
|
|
@@ -457,8 +457,8 @@ namespace CallCenterApi.Interface.Controllers
|
|
457
|
457
|
var res = NoToken("未知错误,请重新登录");
|
|
458
|
458
|
if (Request.IsAuthenticated)
|
|
459
|
459
|
{
|
|
460
|
|
- if (!RegexHelper.RegexPwd(pwd))
|
|
461
|
|
- return Error("密码必须为6-16个字符,大、小写字母和数字的组合");
|
|
|
460
|
+ //if (!RegexHelper.RegexPwd(pwd))
|
|
|
461
|
+ // return Error("密码必须为6-16个字符,大、小写字母和数字的组合");
|
|
462
|
462
|
if (string.IsNullOrWhiteSpace(usercode))
|
|
463
|
463
|
return Error("账号错误");
|
|
464
|
464
|
var model = sysUserAccountBll.GetModel(int.Parse(usercode));
|