移除ApprovedTime赋值语句,存储过程内部已经赋值
This commit is contained in:
parent
0bfee14844
commit
80c606f09e
|
@ -65,7 +65,6 @@ namespace Bootstrap.Admin.Controllers
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public bool Post([FromBody]User value)
|
public bool Post([FromBody]User value)
|
||||||
{
|
{
|
||||||
value.ApprovedTime = DateTime.Now;
|
|
||||||
value.Description = string.Format("管理员{0}创建用户", User.Identity.Name);
|
value.Description = string.Format("管理员{0}创建用户", User.Identity.Name);
|
||||||
value.ApprovedBy = User.Identity.Name;
|
value.ApprovedBy = User.Identity.Name;
|
||||||
return UserHelper.SaveUser(value);
|
return UserHelper.SaveUser(value);
|
||||||
|
|
Loading…
Reference in New Issue