|
@@ -1473,7 +1473,7 @@ namespace OASystem.API.Controllers
|
|
|
adds.Add(new Sys_JobPostAuthority
|
|
|
{
|
|
|
CreateTime = DateTime.Now,
|
|
|
- CreateUserId = 245,
|
|
|
+ CreateUserId = dto.UserId,
|
|
|
FId = fid,
|
|
|
JpId = dto.Jpid,
|
|
|
SmId = item.SmId
|
|
@@ -1518,7 +1518,7 @@ namespace OASystem.API.Controllers
|
|
|
userAuth = adds.Select(x=> new Sys_UserAuthority
|
|
|
{
|
|
|
CreateTime = DateTime.Now,
|
|
|
- CreateUserId = 235,
|
|
|
+ CreateUserId = dto.UserId,
|
|
|
FId = x.FId,
|
|
|
SmId = x.SmId,
|
|
|
UId = user.Id,
|
|
@@ -1624,7 +1624,7 @@ namespace OASystem.API.Controllers
|
|
|
adds.Add(new Sys_UserAuthority
|
|
|
{
|
|
|
CreateTime = DateTime.Now,
|
|
|
- CreateUserId = 235,
|
|
|
+ CreateUserId = dto.UserId,
|
|
|
FId = fid,
|
|
|
UId = dto.uid,
|
|
|
SmId = item.SmId,
|
|
@@ -1644,7 +1644,7 @@ namespace OASystem.API.Controllers
|
|
|
userAuth = adds.Select(x => new Sys_UserAuthority
|
|
|
{
|
|
|
CreateTime = DateTime.Now,
|
|
|
- CreateUserId = 235,
|
|
|
+ CreateUserId = dto.UserId,
|
|
|
FId = x.FId,
|
|
|
SmId = x.SmId,
|
|
|
UId = dto.uid,
|
|
@@ -1694,7 +1694,7 @@ namespace OASystem.API.Controllers
|
|
|
|
|
|
[HttpPost]
|
|
|
[ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
|
|
|
- public async Task<IActionResult> EditPageInfo(SetDataAndPageInfoView dto)
|
|
|
+ public async Task<IActionResult> EditPageInfo(SetDataAndPageInfoDto dto)
|
|
|
{
|
|
|
JsonView view = null;
|
|
|
_SystemMenuPermissionRepository.BeginTran();
|
|
@@ -1707,7 +1707,7 @@ namespace OASystem.API.Controllers
|
|
|
IosUrl = dto.IosUrl,
|
|
|
Name = dto.PageName,
|
|
|
PhoneIsEnable = dto.PagePhoneIsEnable,
|
|
|
- CreateUserId = 235,
|
|
|
+ CreateUserId = dto.UserId,
|
|
|
IsDel = 0,
|
|
|
IsEnable = dto.PageIsEnable,
|
|
|
Mid = dto.Modulid,
|
|
@@ -1729,7 +1729,7 @@ namespace OASystem.API.Controllers
|
|
|
binFun.Add(new Sys_SystemMenuAndFunction
|
|
|
{
|
|
|
CreateTime = DateTime.Now,
|
|
|
- CreateUserId = 235,
|
|
|
+ CreateUserId = dto.UserId,
|
|
|
FId = item,
|
|
|
SmId = dto.Pageid,
|
|
|
IsDel = 0,
|
|
@@ -1756,7 +1756,7 @@ namespace OASystem.API.Controllers
|
|
|
/// <returns></returns>
|
|
|
[HttpPost]
|
|
|
[ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
|
|
|
- public async Task<IActionResult> AddPageInfo(SetDataAndPageInfoView dto)
|
|
|
+ public async Task<IActionResult> AddPageInfo(SetDataAndPageInfoDto dto)
|
|
|
{
|
|
|
JsonView view = null;
|
|
|
|
|
@@ -1770,7 +1770,7 @@ namespace OASystem.API.Controllers
|
|
|
IosUrl = dto.IosUrl,
|
|
|
Name = dto.PageName,
|
|
|
PhoneIsEnable = dto.PagePhoneIsEnable,
|
|
|
- CreateUserId = 235,
|
|
|
+ CreateUserId = dto.UserId,
|
|
|
IsDel = 0,
|
|
|
IsEnable = dto.PageIsEnable,
|
|
|
Mid = dto.Modulid,
|
|
@@ -1786,7 +1786,7 @@ namespace OASystem.API.Controllers
|
|
|
binFun.Add(new Sys_SystemMenuAndFunction
|
|
|
{
|
|
|
CreateTime = DateTime.Now,
|
|
|
- CreateUserId = 235,
|
|
|
+ CreateUserId = dto.UserId,
|
|
|
FId = item,
|
|
|
SmId = number,
|
|
|
IsDel = 0,
|