diff --git a/moehu/moehu-backend/Dockerfile b/moehu/moehu-backend/Dockerfile new file mode 100644 index 0000000..eb47245 --- /dev/null +++ b/moehu/moehu-backend/Dockerfile @@ -0,0 +1,14 @@ +# 使用官方 OpenJDK 基础镜像 +FROM eclipse-temurin:11-jdk-jammy + +# 设置工作目录 +WORKDIR /app + +# 复制打包好的 JAR 文件到容器中 +COPY target/back-0.0.1-SNAPSHOT.jar app.jar + +# 暴露应用端口(与 application.properties 中配置的端口一致) +EXPOSE 8090 + +# 启动应用 +ENTRYPOINT ["java", "-jar", "app.jar"] \ No newline at end of file diff --git a/moehu/moehu-backend/app.http b/moehu/moehu-backend/app.http index 783af02..2a3e29b 100644 --- a/moehu/moehu-backend/app.http +++ b/moehu/moehu-backend/app.http @@ -10,7 +10,7 @@ Content-Type: application/json ### 用户登录 #POST https://api.moehu.net/app/user/Login -POST http://127.0.0.1:8090/app/user/Login +POST http://[240e:362:2209:6a00:2e0:4cff:fe09:1f7f]:8090/app/user/Login Content-Type: application/json { diff --git a/moehu/moehu-backend/logs/run.log b/moehu/moehu-backend/logs/run.log index 7412a6e..f17cb2f 100644 --- a/moehu/moehu-backend/logs/run.log +++ b/moehu/moehu-backend/logs/run.log @@ -1,22 +1,209 @@ -2024-01-13 00:14:49.736 INFO 28310 --- [main] com.moehu.back.BackApplication : Starting BackApplication using Java 11.0.17 on bmydeMBP with PID 28310 (/Users/bmy/source/公司项目/moehu/moehu-backend/target/classes started by bmy in /Users/bmy/source/公司项目/moehu/moehu-backend) -2024-01-13 00:14:49.749 INFO 28310 --- [main] com.moehu.back.BackApplication : The following profiles are active: dev -2024-01-13 00:14:51.836 INFO 28310 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8090 (http) -2024-01-13 00:14:51.849 INFO 28310 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] -2024-01-13 00:14:51.850 INFO 28310 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.44] -2024-01-13 00:14:51.951 INFO 28310 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext -2024-01-13 00:14:51.952 INFO 28310 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2130 ms -2024-01-13 00:14:53.074 INFO 28310 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)] -2024-01-13 00:14:53.257 INFO 28310 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' -2024-01-13 00:14:53.704 INFO 28310 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8090 (http) with context path '' -2024-01-13 00:14:53.706 INFO 28310 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed -2024-01-13 00:14:53.725 INFO 28310 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) -2024-01-13 00:14:53.772 INFO 28310 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references -2024-01-13 00:14:54.159 INFO 28310 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: OpusInfoUsingPOST_1 -2024-01-13 00:14:54.288 INFO 28310 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: UploadFileUsingPOST_1 -2024-01-13 00:14:54.301 INFO 28310 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: EditUserInfoUsingPOST_1 -2024-01-13 00:14:54.316 INFO 28310 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: LoginUsingPOST_1 -2024-01-13 00:14:54.350 INFO 28310 --- [main] com.moehu.back.BackApplication : Started BackApplication in 5.475 seconds (JVM running for 6.641) -2024-01-13 00:15:14.296 INFO 28310 --- [http-nio-8090-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-01-13 00:15:14.299 INFO 28310 --- [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' -2024-01-13 00:15:14.308 INFO 28310 --- [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 9 ms -2024-01-13 00:20:08.189 INFO 28310 --- [SpringContextShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' +2025-04-24 00:48:10.074 INFO 24181 --- [main] com.moehu.back.BackApplication : Starting BackApplication using Java 11.0.17 on bmydeMacBookPro.local with PID 24181 (/Users/bmy/source/公司项目/moehu/moehu-backend/target/classes started by bmy in /Users/bmy/source/公司项目/moehu/moehu-backend) +2025-04-24 00:48:10.082 INFO 24181 --- [main] com.moehu.back.BackApplication : The following profiles are active: dev +2025-04-24 00:48:11.915 INFO 24181 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8090 (http) +2025-04-24 00:48:11.926 INFO 24181 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2025-04-24 00:48:11.927 INFO 24181 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.44] +2025-04-24 00:48:12.012 INFO 24181 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2025-04-24 00:48:12.012 INFO 24181 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1848 ms +2025-04-24 00:48:13.145 INFO 24181 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)] +2025-04-24 00:48:13.337 INFO 24181 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2025-04-24 00:48:13.756 INFO 24181 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8090 (http) with context path '' +2025-04-24 00:48:13.757 INFO 24181 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2025-04-24 00:48:13.775 INFO 24181 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2025-04-24 00:48:13.937 INFO 24181 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2025-04-24 00:48:14.356 INFO 24181 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: OpusInfoUsingPOST_1 +2025-04-24 00:48:14.479 INFO 24181 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: UploadFileUsingPOST_1 +2025-04-24 00:48:14.490 INFO 24181 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: EditUserInfoUsingPOST_1 +2025-04-24 00:48:14.507 INFO 24181 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: LoginUsingPOST_1 +2025-04-24 00:48:14.543 INFO 24181 --- [main] com.moehu.back.BackApplication : Started BackApplication in 5.075 seconds (JVM running for 6.114) +2025-04-24 00:48:14.595 INFO 24181 --- [SpringContextShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' +2025-04-24 00:49:17.554 INFO 24418 --- [main] com.moehu.back.BackApplication : Starting BackApplication using Java 11.0.17 on bmydeMacBookPro.local with PID 24418 (/Users/bmy/source/公司项目/moehu/moehu-backend/target/classes started by bmy in /Users/bmy/source/公司项目/moehu/moehu-backend) +2025-04-24 00:49:17.557 INFO 24418 --- [main] com.moehu.back.BackApplication : The following profiles are active: dev +2025-04-24 00:49:19.224 INFO 24418 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8090 (http) +2025-04-24 00:49:19.236 INFO 24418 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2025-04-24 00:49:19.236 INFO 24418 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.44] +2025-04-24 00:49:19.329 INFO 24418 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2025-04-24 00:49:19.330 INFO 24418 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1722 ms +2025-04-24 00:49:20.334 INFO 24418 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)] +2025-04-24 00:49:20.528 INFO 24418 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2025-04-24 00:49:20.991 INFO 24418 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8090 (http) with context path '' +2025-04-24 00:49:20.992 INFO 24418 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2025-04-24 00:49:21.010 INFO 24418 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2025-04-24 00:49:21.052 INFO 24418 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2025-04-24 00:49:21.388 INFO 24418 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: OpusInfoUsingPOST_1 +2025-04-24 00:49:21.498 INFO 24418 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: UploadFileUsingPOST_1 +2025-04-24 00:49:21.514 INFO 24418 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: EditUserInfoUsingPOST_1 +2025-04-24 00:49:21.532 INFO 24418 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: LoginUsingPOST_1 +2025-04-24 00:49:21.570 INFO 24418 --- [main] com.moehu.back.BackApplication : Started BackApplication in 4.528 seconds (JVM running for 5.335) +2025-04-24 00:49:37.677 INFO 24418 --- [http-nio-8090-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2025-04-24 00:49:37.678 INFO 24418 --- [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2025-04-24 00:49:37.679 INFO 24418 --- [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2025-04-24 00:49:37.762 INFO 24418 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : ========================================== Start ========================================== +2025-04-24 00:49:37.762 INFO 24418 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 接口地址: : http://127.0.0.1:8090/app/user/Reg +2025-04-24 00:49:37.763 INFO 24418 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 来源 IP: : 127.0.0.1 +2025-04-24 00:49:37.763 INFO 24418 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 请求方法: : POST +2025-04-24 00:49:37.770 INFO 24418 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 请求入参 : [{"user_id":0,"user_phone":"13003085265","user_nickname":"测试你好"}] +2025-04-24 00:49:37.770 INFO 24418 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : token 头: : null +2025-04-24 00:49:37.771 INFO 24418 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 控制器: : com.moehu.back.controller.app.UserController.Register +2025-04-24 00:49:37.793 INFO 24418 --- [http-nio-8090-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2025-04-24 00:49:38.009 INFO 24418 --- [http-nio-8090-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2025-04-24 00:49:38.080 INFO 24418 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 响应参数 : {"code":404,"message":"已经注册过啦~"} +2025-04-24 00:49:38.081 INFO 24418 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 请求耗时 : 319 ms +2025-04-24 00:49:38.081 INFO 24418 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : =========================================== End =========================================== +2025-04-24 00:49:40.914 INFO 24418 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : ========================================== Start ========================================== +2025-04-24 00:49:40.914 INFO 24418 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 接口地址: : http://127.0.0.1:8090/app/user/Login +2025-04-24 00:49:40.915 INFO 24418 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 来源 IP: : 127.0.0.1 +2025-04-24 00:49:40.915 INFO 24418 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 请求方法: : POST +2025-04-24 00:49:40.916 INFO 24418 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 请求入参 : [{"user_id":0,"user_phone":"13003085265"}] +2025-04-24 00:49:40.916 INFO 24418 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : token 头: : null +2025-04-24 00:49:40.916 INFO 24418 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 控制器: : com.moehu.back.controller.app.UserController.Login +2025-04-24 00:49:40.963 INFO 24418 --- [http-nio-8090-exec-2] c.m.back.service.impl.UserServiceImpl : userModel.getUser_id() ========== 2 +2025-04-24 00:49:41.003 INFO 24418 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 响应参数 : {"code":200,"data":{"user_info":{"user_id":2,"user_phone":"13003085265","user_nickname":"测试你好","user_uid":"8dfd9630d7384be0b130910295c0a419","user_reg_time":"2022-06-29 20:18:29","user_autograph":"这个人很懒,什么都没有!"},"user_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIyIiwiZXhwIjoxNzc2OTYyOTgwLCJpYXQiOjE3NDU0MjY5ODB9.0uuiYy2Zp93E1quoLqZccb-lLbKNgSp9WrG9SmQgUJk"}} +2025-04-24 00:49:41.003 INFO 24418 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 请求耗时 : 89 ms +2025-04-24 00:49:41.003 INFO 24418 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : =========================================== End =========================================== +2025-04-24 00:50:03.082 INFO 24418 --- [http-nio-8090-exec-4] com.moehu.back.config.WebLogAspect : ========================================== Start ========================================== +2025-04-24 00:50:03.082 INFO 24418 --- [http-nio-8090-exec-4] com.moehu.back.config.WebLogAspect : 接口地址: : http://127.0.0.1:8090/app/user/Login +2025-04-24 00:50:03.082 INFO 24418 --- [http-nio-8090-exec-4] com.moehu.back.config.WebLogAspect : 来源 IP: : 127.0.0.1 +2025-04-24 00:50:03.082 INFO 24418 --- [http-nio-8090-exec-4] com.moehu.back.config.WebLogAspect : 请求方法: : POST +2025-04-24 00:50:03.083 INFO 24418 --- [http-nio-8090-exec-4] com.moehu.back.config.WebLogAspect : 请求入参 : [{"user_id":0,"user_phone":"13003085265"}] +2025-04-24 00:50:03.083 INFO 24418 --- [http-nio-8090-exec-4] com.moehu.back.config.WebLogAspect : token 头: : null +2025-04-24 00:50:03.083 INFO 24418 --- [http-nio-8090-exec-4] com.moehu.back.config.WebLogAspect : 控制器: : com.moehu.back.controller.app.UserController.Login +2025-04-24 00:50:03.101 INFO 24418 --- [http-nio-8090-exec-4] com.moehu.back.config.WebLogAspect : 响应参数 : {"code":404,"message":"登录失败,用户不存在"} +2025-04-24 00:50:03.101 INFO 24418 --- [http-nio-8090-exec-4] com.moehu.back.config.WebLogAspect : 请求耗时 : 19 ms +2025-04-24 00:50:03.101 INFO 24418 --- [http-nio-8090-exec-4] com.moehu.back.config.WebLogAspect : =========================================== End =========================================== +2025-04-24 00:50:11.921 INFO 24418 --- [http-nio-8090-exec-6] com.moehu.back.config.WebLogAspect : ========================================== Start ========================================== +2025-04-24 00:50:11.921 INFO 24418 --- [http-nio-8090-exec-6] com.moehu.back.config.WebLogAspect : 接口地址: : http://127.0.0.1:8090/app/user/Login +2025-04-24 00:50:11.921 INFO 24418 --- [http-nio-8090-exec-6] com.moehu.back.config.WebLogAspect : 来源 IP: : 127.0.0.1 +2025-04-24 00:50:11.921 INFO 24418 --- [http-nio-8090-exec-6] com.moehu.back.config.WebLogAspect : 请求方法: : POST +2025-04-24 00:50:11.922 INFO 24418 --- [http-nio-8090-exec-6] com.moehu.back.config.WebLogAspect : 请求入参 : [{"user_id":0,"user_phone":"13003085265"}] +2025-04-24 00:50:11.922 INFO 24418 --- [http-nio-8090-exec-6] com.moehu.back.config.WebLogAspect : token 头: : null +2025-04-24 00:50:11.922 INFO 24418 --- [http-nio-8090-exec-6] com.moehu.back.config.WebLogAspect : 控制器: : com.moehu.back.controller.app.UserController.Login +2025-04-24 00:50:11.941 INFO 24418 --- [http-nio-8090-exec-6] c.m.back.service.impl.UserServiceImpl : userModel.getUser_id() ========== 2 +2025-04-24 00:50:11.943 INFO 24418 --- [http-nio-8090-exec-6] com.moehu.back.config.WebLogAspect : 响应参数 : {"code":200,"data":{"user_info":{"user_id":2,"user_phone":"13003085265","user_nickname":"测试你好","user_uid":"8dfd9630d7384be0b130910295c0a419","user_reg_time":"2022-06-29 20:18:29","user_autograph":"这个人很懒,什么都没有!"},"user_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIyIiwiZXhwIjoxNzc2OTYzMDExLCJpYXQiOjE3NDU0MjcwMTF9.NrYi5yuXl6mQkjZNmCTk1KzaAbxWxZKf2bZtNqeKbvU"}} +2025-04-24 00:50:11.943 INFO 24418 --- [http-nio-8090-exec-6] com.moehu.back.config.WebLogAspect : 请求耗时 : 22 ms +2025-04-24 00:50:11.943 INFO 24418 --- [http-nio-8090-exec-6] com.moehu.back.config.WebLogAspect : =========================================== End =========================================== +2025-04-24 00:50:33.222 INFO 24418 --- [SpringContextShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' +2025-04-24 00:50:33.225 INFO 24418 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2025-04-24 00:50:33.234 INFO 24418 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2025-04-24 00:56:29.908 INFO 25077 --- [main] com.moehu.back.BackApplication : Starting BackApplication using Java 11.0.17 on bmydeMacBookPro.local with PID 25077 (/Users/bmy/source/公司项目/moehu/moehu-backend/target/classes started by bmy in /Users/bmy/source/公司项目/moehu/moehu-backend) +2025-04-24 00:56:29.911 INFO 25077 --- [main] com.moehu.back.BackApplication : The following profiles are active: dev +2025-04-24 00:56:31.617 INFO 25077 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8090 (http) +2025-04-24 00:56:31.629 INFO 25077 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2025-04-24 00:56:31.629 INFO 25077 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.44] +2025-04-24 00:56:31.711 INFO 25077 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2025-04-24 00:56:31.712 INFO 25077 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1739 ms +2025-04-24 00:56:32.721 INFO 25077 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)] +2025-04-24 00:56:32.858 INFO 25077 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2025-04-24 00:56:33.298 INFO 25077 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8090 (http) with context path '' +2025-04-24 00:56:33.300 INFO 25077 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2025-04-24 00:56:33.317 INFO 25077 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2025-04-24 00:56:33.351 INFO 25077 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2025-04-24 00:56:33.708 INFO 25077 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: OpusInfoUsingPOST_1 +2025-04-24 00:56:33.845 INFO 25077 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: UploadFileUsingPOST_1 +2025-04-24 00:56:33.856 INFO 25077 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: EditUserInfoUsingPOST_1 +2025-04-24 00:56:33.875 INFO 25077 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: LoginUsingPOST_1 +2025-04-24 00:56:33.909 INFO 25077 --- [main] com.moehu.back.BackApplication : Started BackApplication in 4.568 seconds (JVM running for 5.816) +2025-04-24 00:56:58.549 INFO 25077 --- [http-nio-8090-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2025-04-24 00:56:58.550 INFO 25077 --- [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2025-04-24 00:56:58.553 INFO 25077 --- [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2025-04-24 00:56:58.632 INFO 25077 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : ========================================== Start ========================================== +2025-04-24 00:56:58.632 INFO 25077 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 接口地址: : http://127.0.0.1:8090/app/user/Login +2025-04-24 00:56:58.632 INFO 25077 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 来源 IP: : 127.0.0.1 +2025-04-24 00:56:58.632 INFO 25077 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 请求方法: : POST +2025-04-24 00:56:58.639 INFO 25077 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 请求入参 : [{"user_id":0,"user_phone":"13003085265"}] +2025-04-24 00:56:58.640 INFO 25077 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : token 头: : null +2025-04-24 00:56:58.641 INFO 25077 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 控制器: : com.moehu.back.controller.app.UserController.Login +2025-04-24 00:56:58.672 INFO 25077 --- [http-nio-8090-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2025-04-24 00:56:58.842 INFO 25077 --- [http-nio-8090-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2025-04-24 00:56:58.954 INFO 25077 --- [http-nio-8090-exec-1] c.m.back.service.impl.UserServiceImpl : userModel.getUser_id() ========== 2 +2025-04-24 00:56:59.007 INFO 25077 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 响应参数 : {"code":200,"data":{"user_info":{"user_id":2,"user_phone":"13003085265","user_nickname":"测试你好","user_uid":"8dfd9630d7384be0b130910295c0a419","user_reg_time":"2022-06-29 20:18:29","user_autograph":"这个人很懒,什么都没有!"},"user_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIyIiwiZXhwIjoxNzc2OTYzNDE4LCJpYXQiOjE3NDU0Mjc0MTh9.uIZuuso67WNbUYho7PNpMtz_5JgbifcyF0LZqHNz0vE"}} +2025-04-24 00:56:59.007 INFO 25077 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 请求耗时 : 376 ms +2025-04-24 00:56:59.007 INFO 25077 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : =========================================== End =========================================== +2025-04-24 00:57:09.407 INFO 25077 --- [SpringContextShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' +2025-04-24 00:57:09.410 INFO 25077 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2025-04-24 00:57:09.420 INFO 25077 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2025-04-24 01:02:15.268 INFO 26027 --- [main] com.moehu.back.BackApplication : Starting BackApplication v0.0.1-SNAPSHOT using Java 11.0.17 on bmydeMacBookPro.local with PID 26027 (/Users/bmy/source/公司项目/moehu/moehu-backend/target/back-0.0.1-SNAPSHOT.jar started by bmy in /Users/bmy/source/公司项目/moehu/moehu-backend) +2025-04-24 01:02:15.272 INFO 26027 --- [main] com.moehu.back.BackApplication : The following profiles are active: dev +2025-04-24 01:02:18.440 INFO 26027 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8090 (http) +2025-04-24 01:02:18.467 INFO 26027 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2025-04-24 01:02:18.467 INFO 26027 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.44] +2025-04-24 01:02:18.578 INFO 26027 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2025-04-24 01:02:18.578 INFO 26027 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3153 ms +2025-04-24 01:02:20.610 INFO 26027 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)] +2025-04-24 01:02:20.873 INFO 26027 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2025-04-24 01:02:21.516 INFO 26027 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8090 (http) with context path '' +2025-04-24 01:02:21.517 INFO 26027 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2025-04-24 01:02:21.555 INFO 26027 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2025-04-24 01:02:21.631 INFO 26027 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2025-04-24 01:02:22.094 INFO 26027 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: OpusInfoUsingPOST_1 +2025-04-24 01:02:22.241 INFO 26027 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: UploadFileUsingPOST_1 +2025-04-24 01:02:22.253 INFO 26027 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: EditUserInfoUsingPOST_1 +2025-04-24 01:02:22.275 INFO 26027 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: LoginUsingPOST_1 +2025-04-24 01:02:22.320 INFO 26027 --- [main] com.moehu.back.BackApplication : Started BackApplication in 8.237 seconds (JVM running for 9.112) +2025-04-24 01:02:24.621 INFO 26027 --- [http-nio-8090-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2025-04-24 01:02:24.623 INFO 26027 --- [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2025-04-24 01:02:24.625 INFO 26027 --- [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2025-04-24 01:02:24.762 INFO 26027 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : ========================================== Start ========================================== +2025-04-24 01:02:24.763 INFO 26027 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 接口地址: : http://127.0.0.1:8090/app/user/Login +2025-04-24 01:02:24.764 INFO 26027 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 来源 IP: : 127.0.0.1 +2025-04-24 01:02:24.764 INFO 26027 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 请求方法: : POST +2025-04-24 01:02:24.774 INFO 26027 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 请求入参 : [{"user_id":0,"user_phone":"13003085265"}] +2025-04-24 01:02:24.774 INFO 26027 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : token 头: : null +2025-04-24 01:02:24.776 INFO 26027 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 控制器: : com.moehu.back.controller.app.UserController.Login +2025-04-24 01:02:24.841 INFO 26027 --- [http-nio-8090-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2025-04-24 01:02:25.207 INFO 26027 --- [http-nio-8090-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2025-04-24 01:02:25.352 INFO 26027 --- [http-nio-8090-exec-1] c.m.back.service.impl.UserServiceImpl : userModel.getUser_id() ========== 2 +2025-04-24 01:02:25.434 INFO 26027 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 响应参数 : {"code":200,"data":{"user_info":{"user_id":2,"user_phone":"13003085265","user_nickname":"测试你好","user_uid":"8dfd9630d7384be0b130910295c0a419","user_reg_time":"2022-06-29 20:18:29","user_autograph":"这个人很懒,什么都没有!"},"user_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIyIiwiZXhwIjoxNzc2OTYzNzQ1LCJpYXQiOjE3NDU0Mjc3NDV9.fBb1p77C-FRu-XTnWdJ919vwtujMwXcJJ2F-9rxUvgA"}} +2025-04-24 01:02:25.434 INFO 26027 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 请求耗时 : 672 ms +2025-04-24 01:02:25.434 INFO 26027 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : =========================================== End =========================================== +2025-04-24 01:02:45.973 INFO 26027 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : ========================================== Start ========================================== +2025-04-24 01:02:45.974 INFO 26027 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 接口地址: : http://127.0.0.1:8090/app/user/Login +2025-04-24 01:02:45.974 INFO 26027 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 来源 IP: : 127.0.0.1 +2025-04-24 01:02:45.974 INFO 26027 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 请求方法: : POST +2025-04-24 01:02:45.975 INFO 26027 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 请求入参 : [{"user_id":0,"user_phone":"13003085265"}] +2025-04-24 01:02:45.975 INFO 26027 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : token 头: : null +2025-04-24 01:02:45.975 INFO 26027 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 控制器: : com.moehu.back.controller.app.UserController.Login +2025-04-24 01:02:45.984 INFO 26027 --- [http-nio-8090-exec-2] c.m.back.service.impl.UserServiceImpl : userModel.getUser_id() ========== 2 +2025-04-24 01:02:45.986 INFO 26027 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 响应参数 : {"code":200,"data":{"user_info":{"user_id":2,"user_phone":"13003085265","user_nickname":"测试你好","user_uid":"8dfd9630d7384be0b130910295c0a419","user_reg_time":"2022-06-29 20:18:29","user_autograph":"这个人很懒,什么都没有!"},"user_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIyIiwiZXhwIjoxNzc2OTYzNzY1LCJpYXQiOjE3NDU0Mjc3NjV9.lZyNsGBQipN2pljYIJ8mB8hsN_NXwah-U-helyo87VM"}} +2025-04-24 01:02:45.987 INFO 26027 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : 请求耗时 : 14 ms +2025-04-24 01:02:45.990 INFO 26027 --- [http-nio-8090-exec-2] com.moehu.back.config.WebLogAspect : =========================================== End =========================================== +2025-04-24 01:03:14.938 INFO 26027 --- [SpringContextShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' +2025-04-24 01:03:14.960 INFO 26027 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2025-04-24 01:03:14.994 INFO 26027 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2025-04-24 01:03:35.603 INFO 26137 --- [main] com.moehu.back.BackApplication : Starting BackApplication v0.0.1-SNAPSHOT using Java 11.0.17 on bmydeMacBookPro.local with PID 26137 (/Users/bmy/source/公司项目/moehu/moehu-backend/target/back-0.0.1-SNAPSHOT.jar started by bmy in /Users/bmy/source/公司项目/moehu/moehu-backend) +2025-04-24 01:03:35.607 INFO 26137 --- [main] com.moehu.back.BackApplication : The following profiles are active: dev +2025-04-24 01:03:38.564 INFO 26137 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8090 (http) +2025-04-24 01:03:38.587 INFO 26137 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2025-04-24 01:03:38.588 INFO 26137 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.44] +2025-04-24 01:03:38.687 INFO 26137 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2025-04-24 01:03:38.688 INFO 26137 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2962 ms +2025-04-24 01:03:40.671 INFO 26137 --- [main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)] +2025-04-24 01:03:40.962 INFO 26137 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2025-04-24 01:03:41.644 INFO 26137 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8090 (http) with context path '' +2025-04-24 01:03:41.645 INFO 26137 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed +2025-04-24 01:03:41.682 INFO 26137 --- [main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) +2025-04-24 01:03:41.778 INFO 26137 --- [main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references +2025-04-24 01:03:42.224 INFO 26137 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: OpusInfoUsingPOST_1 +2025-04-24 01:03:42.373 INFO 26137 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: UploadFileUsingPOST_1 +2025-04-24 01:03:42.387 INFO 26137 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: EditUserInfoUsingPOST_1 +2025-04-24 01:03:42.408 INFO 26137 --- [main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: LoginUsingPOST_1 +2025-04-24 01:03:42.457 INFO 26137 --- [main] com.moehu.back.BackApplication : Started BackApplication in 8.016 seconds (JVM running for 8.956) +2025-04-24 01:03:51.898 INFO 26137 --- [http-nio-8090-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2025-04-24 01:03:51.899 INFO 26137 --- [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2025-04-24 01:03:51.902 INFO 26137 --- [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2025-04-24 01:03:52.035 INFO 26137 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : ========================================== Start ========================================== +2025-04-24 01:03:52.036 INFO 26137 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 接口地址: : http://127.0.0.1:8090/app/user/Login +2025-04-24 01:03:52.037 INFO 26137 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 来源 IP: : 127.0.0.1 +2025-04-24 01:03:52.037 INFO 26137 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 请求方法: : POST +2025-04-24 01:03:52.049 INFO 26137 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 请求入参 : [{"user_id":0,"user_phone":"13003085265"}] +2025-04-24 01:03:52.050 INFO 26137 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : token 头: : null +2025-04-24 01:03:52.054 INFO 26137 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 控制器: : com.moehu.back.controller.app.UserController.Login +2025-04-24 01:03:52.132 INFO 26137 --- [http-nio-8090-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2025-04-24 01:03:52.530 INFO 26137 --- [http-nio-8090-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2025-04-24 01:03:52.675 INFO 26137 --- [http-nio-8090-exec-1] c.m.back.service.impl.UserServiceImpl : userModel.getUser_id() ========== 2 +2025-04-24 01:03:52.748 INFO 26137 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 响应参数 : {"code":200,"data":{"user_info":{"user_id":2,"user_phone":"13003085265","user_nickname":"测试你好","user_uid":"8dfd9630d7384be0b130910295c0a419","user_reg_time":"2022-06-29 20:18:29","user_autograph":"这个人很懒,什么都没有!"},"user_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIyIiwiZXhwIjoxNzc2OTYzODMyLCJpYXQiOjE3NDU0Mjc4MzJ9.GDi1SJeS403tRXuywoxbBsKE9_nmMMgOEFJt3XQ7XX4"}} +2025-04-24 01:03:52.748 INFO 26137 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : 请求耗时 : 714 ms +2025-04-24 01:03:52.748 INFO 26137 --- [http-nio-8090-exec-1] com.moehu.back.config.WebLogAspect : =========================================== End =========================================== +2025-04-24 01:04:04.050 INFO 26137 --- [SpringContextShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' +2025-04-24 01:04:04.054 INFO 26137 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2025-04-24 01:04:04.075 INFO 26137 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. diff --git a/moehu/moehu-backend/logs/run.log.2024-01-13.0.gz b/moehu/moehu-backend/logs/run.log.2024-01-13.0.gz new file mode 100644 index 0000000..15d3e5b Binary files /dev/null and b/moehu/moehu-backend/logs/run.log.2024-01-13.0.gz differ diff --git a/moehu/moehu-backend/logs/run.log.2024-10-11.0.gz b/moehu/moehu-backend/logs/run.log.2024-10-11.0.gz new file mode 100644 index 0000000..2dd8c94 Binary files /dev/null and b/moehu/moehu-backend/logs/run.log.2024-10-11.0.gz differ diff --git a/moehu/moehu-backend/logs/run.log.2024-10-12.0.gz b/moehu/moehu-backend/logs/run.log.2024-10-12.0.gz new file mode 100644 index 0000000..c70b1d7 Binary files /dev/null and b/moehu/moehu-backend/logs/run.log.2024-10-12.0.gz differ diff --git a/moehu/moehu-backend/logs/run.log.2024-10-13.0.gz b/moehu/moehu-backend/logs/run.log.2024-10-13.0.gz new file mode 100644 index 0000000..0ab3579 Binary files /dev/null and b/moehu/moehu-backend/logs/run.log.2024-10-13.0.gz differ diff --git a/moehu/moehu-backend/logs/run.log.2024-10-14.0.gz b/moehu/moehu-backend/logs/run.log.2024-10-14.0.gz new file mode 100644 index 0000000..810fa73 Binary files /dev/null and b/moehu/moehu-backend/logs/run.log.2024-10-14.0.gz differ diff --git a/moehu/moehu-backend/logs/run.log.2024-10-15.0.gz b/moehu/moehu-backend/logs/run.log.2024-10-15.0.gz new file mode 100644 index 0000000..0552f97 Binary files /dev/null and b/moehu/moehu-backend/logs/run.log.2024-10-15.0.gz differ diff --git a/moehu/moehu-backend/logs/run.log.2024-10-16.0.gz b/moehu/moehu-backend/logs/run.log.2024-10-16.0.gz new file mode 100644 index 0000000..9acc7b9 Binary files /dev/null and b/moehu/moehu-backend/logs/run.log.2024-10-16.0.gz differ diff --git a/moehu/moehu-backend/logs/run.log.2024-10-17.0.gz b/moehu/moehu-backend/logs/run.log.2024-10-17.0.gz new file mode 100644 index 0000000..f4b1367 Binary files /dev/null and b/moehu/moehu-backend/logs/run.log.2024-10-17.0.gz differ diff --git a/moehu/moehu-backend/logs/run.log.2024-10-18.0.gz b/moehu/moehu-backend/logs/run.log.2024-10-18.0.gz new file mode 100644 index 0000000..310309a Binary files /dev/null and b/moehu/moehu-backend/logs/run.log.2024-10-18.0.gz differ diff --git a/moehu/moehu-backend/logs/run.log.2025-04-23.0.gz b/moehu/moehu-backend/logs/run.log.2025-04-23.0.gz new file mode 100644 index 0000000..1b45e36 Binary files /dev/null and b/moehu/moehu-backend/logs/run.log.2025-04-23.0.gz differ diff --git a/moehu/moehu-backend/src/main/resources/application-prod.yml b/moehu/moehu-backend/src/main/resources/application-prod.yml index 3771bcf..8cd35cd 100644 --- a/moehu/moehu-backend/src/main/resources/application-prod.yml +++ b/moehu/moehu-backend/src/main/resources/application-prod.yml @@ -2,17 +2,13 @@ # port: 8091 server: - port: 443 - ssl: - enabled: true - key-store: classpath:moehu.net.pfx - key-store-password: 7zU08vUL + port: 8090 spring: datasource: - url: jdbc:mysql://localhost:3306/moehu?serverTimezone=GMT%2B8&useSSL=false&allowPublicKeyRetrieval=true + url: jdbc:mysql://192.168.31.100:3306/moehu?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true username: root - password: Lb714500. + password: lb714500 driver-class-name: com.mysql.cj.jdbc.Driver servlet: multipart: diff --git a/moehu/moehu-backend/src/main/resources/application.yml b/moehu/moehu-backend/src/main/resources/application.yml index f96e957..7a9d8fb 100644 --- a/moehu/moehu-backend/src/main/resources/application.yml +++ b/moehu/moehu-backend/src/main/resources/application.yml @@ -1,6 +1,6 @@ spring: profiles: - active: dev + active: prod servlet: multipart: max-file-size: 500MB diff --git a/moehu/moehu-backend/笔记.txt b/moehu/moehu-backend/笔记.txt new file mode 100644 index 0000000..2d72493 --- /dev/null +++ b/moehu/moehu-backend/笔记.txt @@ -0,0 +1,8 @@ + +mvn clean package +java -jar target/back-0.0.1-SNAPSHOT.jar + +docker build -t registry.buyusdt.xyz/moehu_javaback:v1.1 . +docker push registry.buyusdt.xyz/moehu_javaback:v1.1 + +docker run -p 8090:8090 registry.buyusdt.xyz/moehu_javaback:v1.1 \ No newline at end of file diff --git a/moehu/moehu_admin/src/application/logic/page/Login.logic.ts b/moehu/moehu_admin/src/application/logic/page/Login.logic.ts index d7a7374..4f083aa 100644 --- a/moehu/moehu_admin/src/application/logic/page/Login.logic.ts +++ b/moehu/moehu_admin/src/application/logic/page/Login.logic.ts @@ -15,7 +15,7 @@ export class LoginLogic extends BaseLogic implements Met public UserLoginParams: LoginParams = { admin_user_name: "moehu", - admin_user_pwd: "111", + admin_user_pwd: "lb714500", } @Autowired @@ -31,13 +31,13 @@ export class LoginLogic extends BaseLogic implements Met } public async UserLogin (): Promise { - // let res = await this.UserService.Login(this.UserLoginParams); - // this._.$setStorage('token', res.user_token); - this._.$setStorage('token', "234323erfdwerfg"); - // this._.$setStorage('user_info', res.user_info); - this._.$setStorage('user_info', { - admin_user_name: '张三' - }); + let res = await this.UserService.Login(this.UserLoginParams); + this._.$setStorage('token', res.user_token); + // this._.$setStorage('token', "234323erfdwerfg"); + this._.$setStorage('user_info', res.user_info); + // this._.$setStorage('user_info', { + // admin_user_name: '张三' + // }); await this._.$router.replace("/home") } } diff --git a/moehu/moehu_admin/src/core/config/configure.config.ts b/moehu/moehu_admin/src/core/config/configure.config.ts index af4c658..e1cbbb0 100644 --- a/moehu/moehu_admin/src/core/config/configure.config.ts +++ b/moehu/moehu_admin/src/core/config/configure.config.ts @@ -23,7 +23,8 @@ export class ConfigureConfig { ProdUrl: string, ApiList: { [ key: string ]: string } } = { - DevUrl: 'https://moehu.net/admin', + // DevUrl: 'http://[240e:362:2209:6a00:2e0:4cff:fe09:1f7f]:8090/admin', + DevUrl: 'http://192.168.31.100:8090/admin', ProdUrl: 'https://moehu.net/admin', ApiList: { Login: '/user/Login',