From a9046a3162c7a70a92bf94fc047a335ffda637ea Mon Sep 17 00:00:00 2001 From: sanluan Date: Thu, 23 Feb 2023 20:56:07 +0800 Subject: [PATCH] remove operate log content text --- .../controller/admin/cms/CmsContentAdminController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publiccms-parent/publiccms-core/src/main/java/com/publiccms/controller/admin/cms/CmsContentAdminController.java b/publiccms-parent/publiccms-core/src/main/java/com/publiccms/controller/admin/cms/CmsContentAdminController.java index c3c800f36..b19ce02d6 100644 --- a/publiccms-parent/publiccms-core/src/main/java/com/publiccms/controller/admin/cms/CmsContentAdminController.java +++ b/publiccms-parent/publiccms-core/src/main/java/com/publiccms/controller/admin/cms/CmsContentAdminController.java @@ -179,7 +179,7 @@ public String save(@RequestAttribute SysSite site, @SessionAttribute SysUser adm if (null != entity) { logOperateService.save(new LogOperate(site.getId(), admin.getId(), admin.getDeptId(), LogLoginService.CHANNEL_WEB_MANAGER, "update.content", RequestUtils.getIpAddress(request), now, - JsonUtils.getString(new Object[] { entity, attribute, contentParameters }))); + JsonUtils.getString(new Object[] { entity, contentParameters }))); } } else { service.save(site.getId(), admin, entity); @@ -188,7 +188,7 @@ public String save(@RequestAttribute SysSite site, @SessionAttribute SysUser adm } logOperateService.save(new LogOperate(site.getId(), admin.getId(), admin.getDeptId(), LogLoginService.CHANNEL_WEB_MANAGER, "save.content", RequestUtils.getIpAddress(request), now, - JsonUtils.getString(new Object[] { entity, attribute, contentParameters }))); + JsonUtils.getString(new Object[] { entity, contentParameters }))); } entity = service.saveTagAndAttribute(site, admin.getId(), entity.getId(), contentParameters, cmsModel, category.getExtendId(), attribute);