|
|
@@ -5554,11 +5554,16 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
{
|
|
|
return "创客" + MakerCode + "不存在或不满足恢复条件";
|
|
|
}
|
|
|
+ else if (user.LogOutDate.Value.ToString("yyyyMMdd") != DateTime.Now.ToString("yyyyMMdd"))
|
|
|
+ {
|
|
|
+ return "创客" + MakerCode + "注销时间和当前时间存在月份跨度,不满足恢复条件";
|
|
|
+ }
|
|
|
else
|
|
|
{
|
|
|
user.Status = 0;
|
|
|
user.LogOutDate = null;
|
|
|
user.Mobile = user.Mobile.TrimEnd('d');
|
|
|
+ user.CertId = user.CertId.TrimEnd('d');
|
|
|
db.UserForMobile.Add(new UserForMobile()
|
|
|
{
|
|
|
Mobile = user.Mobile,
|