移除ApprovedTime赋值语句,存储过程内部已经赋值

This commit is contained in:
Argo-Lenovo 2016-11-12 10:34:42 +08:00
parent 0bfee14844
commit 80c606f09e
1 changed files with 0 additions and 1 deletions

View File

@ -65,7 +65,6 @@ namespace Bootstrap.Admin.Controllers
[HttpPost]
public bool Post([FromBody]User value)
{
value.ApprovedTime = DateTime.Now;
value.Description = string.Format("管理员{0}创建用户", User.Identity.Name);
value.ApprovedBy = User.Identity.Name;
return UserHelper.SaveUser(value);