From 398213305237fe9e8a4ee84a2c052ec5f393c4f9 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期五, 28 二月 2025 17:56:45 +0800
Subject: [PATCH] 修改管理后台接口bug

---
 springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/SystemPostController.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/SystemPostController.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/SystemPostController.java
index 2ca0c24..8f64a4a 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/SystemPostController.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/SystemPostController.java
@@ -10,6 +10,7 @@
 import org.springframework.web.bind.annotation.*;
 
 import javax.annotation.Resource;
+import java.time.LocalDateTime;
 
 /**
  * @author zhibing.pu
@@ -28,6 +29,7 @@
 	@ApiOperation(value = "添加职位", tags = {"三个身边后台-职位管理"})
 	@OperLog(operModul = "三个身边后台",operType = 1,businessType = "添加职位")
 	public R add(@RequestBody SystemPost systemPost) {
+		systemPost.setCreateTime(LocalDateTime.now());
 		systemPostService.save(systemPost);
 		return R.ok();
 	}

--
Gitblit v1.7.1