浏览代码

测试提交

夏文涛 9 月之前
父节点
当前提交
fdfe28c091
共有 3 个文件被更改,包括 32 次插入23 次删除
  1. 8 22
      .idea/workspace.xml
  2. 23 0
      logs/smart-2025-09-16.log
  3. 1 1
      src/main/java/com/template/controller/AlumniNewsController.java

+ 8 - 22
.idea/workspace.xml

@@ -2,22 +2,8 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="a4ba97bd-69fc-4549-8407-13eeec316f0f" name="Default Changelist" comment="">
-      <change beforePath="$PROJECT_DIR$/logs/smart-2025-02-20.log" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/logs/smart-2025-02-27.log" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/logs/smart-2025-02-28.log" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/logs/smart-2025-03-03.log" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/logs/smart-2025-03-04.log" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/logs/smart-2025-03-18.log" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/logs/smart-2025-03-19.log" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/logs/smart-2025-05-06.log" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/logs/smart-2025-05-12.log" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/main/java/com/template/api/ActivityImageControllerAPI.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/template/api/ActivityImageControllerAPI.java" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/main/java/com/template/controller/ActivityImageController.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/template/controller/ActivityImageController.java" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/logs/smart-2025-09-16.log" beforeDir="false" afterPath="$PROJECT_DIR$/logs/smart-2025-09-16.log" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/src/main/java/com/template/controller/AlumniNewsController.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/template/controller/AlumniNewsController.java" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/main/java/com/template/model/pojo/AlumniNews.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/template/model/pojo/AlumniNews.java" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/main/java/com/template/model/request/insertAlumniNewsRequest.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/template/model/request/insertAlumniNewsRequest.java" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/main/java/com/template/model/request/updateAlumniNewsRequest.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/template/model/request/updateAlumniNewsRequest.java" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/main/java/com/template/model/vo/NewsPageVo.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/template/model/vo/NewsPageVo.java" afterDir="false" />
     </list>
     <ignored path="$PROJECT_DIR$/target/" />
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@@ -63,8 +49,8 @@
       <file pinned="false" current-in-tab="true">
         <entry file="file://$PROJECT_DIR$/src/main/java/com/template/controller/AlumniNewsController.java">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="261">
-              <caret line="52" column="39" selection-start-line="52" selection-start-column="39" selection-end-line="52" selection-end-column="39" />
+            <state relative-caret-position="169">
+              <caret line="48" column="2" selection-start-line="48" selection-start-column="2" selection-end-line="48" selection-end-column="2" />
               <folding>
                 <element signature="e#4343#4355#0" expanded="true" />
               </folding>
@@ -549,12 +535,12 @@
       <workItem from="1750386088005" duration="375000" />
       <workItem from="1750920267073" duration="687000" />
       <workItem from="1757901442839" duration="515000" />
-      <workItem from="1757901975995" duration="4643000" />
+      <workItem from="1757901975995" duration="5082000" />
     </task>
     <servers />
   </component>
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="406300000" />
+    <option name="totallyTimeSpent" value="406739000" />
   </component>
   <component name="TodoView">
     <todo-panel id="selected-file">
@@ -583,7 +569,7 @@
       <window_info anchor="bottom" id="Run" order="2" sideWeight="0.4989059" weight="0.4320442" />
       <window_info anchor="bottom" id="Cvs" order="3" weight="0.25" />
       <window_info anchor="bottom" id="Inspection" order="4" weight="0.4" />
-      <window_info anchor="bottom" id="Debug" order="5" sideWeight="0.4989059" visible="true" weight="0.34917128" />
+      <window_info active="true" anchor="bottom" id="Debug" order="5" sideWeight="0.4989059" visible="true" weight="0.34917128" />
       <window_info anchor="bottom" id="TODO" order="6" weight="0.32932165" />
       <window_info anchor="bottom" id="Event Log" order="7" sideWeight="0.5010661" side_tool="true" weight="0.43982494" />
       <window_info anchor="bottom" id="Terminal" order="8" weight="0.32928178" />
@@ -1000,8 +986,8 @@
     </entry>
     <entry file="file://$PROJECT_DIR$/src/main/java/com/template/controller/AlumniNewsController.java">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="261">
-          <caret line="52" column="39" selection-start-line="52" selection-start-column="39" selection-end-line="52" selection-end-column="39" />
+        <state relative-caret-position="169">
+          <caret line="48" column="2" selection-start-line="48" selection-start-column="2" selection-end-line="48" selection-end-column="2" />
           <folding>
             <element signature="e#4343#4355#0" expanded="true" />
           </folding>

+ 23 - 0
logs/smart-2025-09-16.log

@@ -98,3 +98,26 @@
 2025-09-16 10:45:37.394 [SpringContextShutdownHook] INFO  o.s.s.c.ThreadPoolTaskExecutor - Shutting down ExecutorService 'applicationTaskExecutor'
 2025-09-16 10:45:37.395 [SpringContextShutdownHook] INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
 2025-09-16 10:45:37.398 [SpringContextShutdownHook] INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.
+2025-09-16 10:46:09.349 [background-preinit] INFO  o.h.validator.internal.util.Version - HV000001: Hibernate Validator 6.1.5.Final
+2025-09-16 10:46:09.363 [main] INFO  com.template.MybatisPlusApplication - Starting MybatisPlusApplication using Java 1.8.0_181 on DESKTOP-4B4LOJM with PID 16964 (D:\Bingo\Desktop\工作内容\校友生态\school_ecology_houtai\target\classes started by Bingo in D:\Bingo\Desktop\工作内容\校友生态\school_ecology_houtai)
+2025-09-16 10:46:09.363 [main] INFO  com.template.MybatisPlusApplication - The following profiles are active: prod
+2025-09-16 10:46:09.919 [main] WARN  o.m.s.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.template]' package. Please check your configuration.
+2025-09-16 10:46:09.955 [main] INFO  o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
+2025-09-16 10:46:09.956 [main] INFO  o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
+2025-09-16 10:46:09.988 [main] INFO  o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 23 ms. Found 0 Redis repository interfaces.
+2025-09-16 10:46:10.765 [main] INFO  o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8687 (http)
+2025-09-16 10:46:10.770 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8687"]
+2025-09-16 10:46:10.771 [main] INFO  o.a.catalina.core.StandardService - Starting service [Tomcat]
+2025-09-16 10:46:10.771 [main] INFO  o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.39]
+2025-09-16 10:46:10.850 [main] INFO  o.a.c.c.C.[.[localhost].[/alumni] - Initializing Spring embedded WebApplicationContext
+2025-09-16 10:46:10.850 [main] INFO  o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1451 ms
+2025-09-16 10:46:11.139 [main] INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
+2025-09-16 10:46:11.596 [main] INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
+2025-09-16 10:46:12.869 [main] WARN  o.s.w.s.r.ResourceHttpRequestHandler - Locations list is empty. No resources will be served unless a custom ResourceResolver is configured as an alternative to PathResourceResolver.
+2025-09-16 10:46:14.638 [main] INFO  o.s.s.c.ThreadPoolTaskExecutor - Initializing ExecutorService 'applicationTaskExecutor'
+2025-09-16 10:46:15.866 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8687"]
+2025-09-16 10:46:15.903 [main] INFO  o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8687 (http) with context path '/alumni'
+2025-09-16 10:46:15.909 [main] INFO  com.template.MybatisPlusApplication - Started MybatisPlusApplication in 6.911 seconds (JVM running for 7.498)
+2025-09-16 10:53:09.989 [SpringContextShutdownHook] INFO  o.s.s.c.ThreadPoolTaskExecutor - Shutting down ExecutorService 'applicationTaskExecutor'
+2025-09-16 10:53:09.990 [SpringContextShutdownHook] INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
+2025-09-16 10:53:09.993 [SpringContextShutdownHook] INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.

+ 1 - 1
src/main/java/com/template/controller/AlumniNewsController.java

@@ -46,7 +46,7 @@ public class AlumniNewsController implements AlumniNewsControllerAPI {
             String st = paramUtils.getParamError(bindingResult);
             return CommonResult.fail(st);
         }
-
+  
         AlumniNews an = new AlumniNews();
         an.setTheme(ianr.getTheme());
         //String content = StringEscapeUtils.escapeHtml4(ianr.getContent());