From ea1cda25bd4b238b012e6d27d4cd8e4c6b687735 Mon Sep 17 00:00:00 2001 From: zhaolongfei <2651195677@qq.com> Date: Thu, 24 Oct 2024 16:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=8A=A5=E5=90=8D=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=B7=BB=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xboe/school/study/service/impl/StudyCourseServiceImpl.java | 1 + .../src/main/resources/application-dev.properties | 2 +- .../src/main/resources/application-pre.properties | 2 +- .../src/main/resources/application-pro.properties | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/servers/boe-server-all/src/main/java/com/xboe/school/study/service/impl/StudyCourseServiceImpl.java b/servers/boe-server-all/src/main/java/com/xboe/school/study/service/impl/StudyCourseServiceImpl.java index a7c0d7f6..663dea31 100644 --- a/servers/boe-server-all/src/main/java/com/xboe/school/study/service/impl/StudyCourseServiceImpl.java +++ b/servers/boe-server-all/src/main/java/com/xboe/school/study/service/impl/StudyCourseServiceImpl.java @@ -265,6 +265,7 @@ public class StudyCourseServiceImpl implements IStudyCourseService{ } @Override public void deleteSignUp(String id,String courseId,String aid) { + log.info("参数id:"+id+"参数课程id:"+courseId+"参数用户id:"+aid); //删除课程学习记录主表 studyCourseDao.deleteById(id); //删除学习课程的评估测试结果 diff --git a/servers/boe-server-all/src/main/resources/application-dev.properties b/servers/boe-server-all/src/main/resources/application-dev.properties index cedf2932..4a0a4523 100644 --- a/servers/boe-server-all/src/main/resources/application-dev.properties +++ b/servers/boe-server-all/src/main/resources/application-dev.properties @@ -26,7 +26,7 @@ logging.level.org.hibernate.SQL=DEBUG logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE # 设置logback.xml位置 -logging.config=classpath:log/logback-dev.xml +logging.config=classpath:log/logback-@profileActive@.xml ## 静态文件目录,默认是在static下面,以后独立到nginx下面配置 spring.web.resources.static-locations=file:E:/Projects/BOE/10/static diff --git a/servers/boe-server-all/src/main/resources/application-pre.properties b/servers/boe-server-all/src/main/resources/application-pre.properties index 18426195..ddea8ece 100644 --- a/servers/boe-server-all/src/main/resources/application-pre.properties +++ b/servers/boe-server-all/src/main/resources/application-pre.properties @@ -23,7 +23,7 @@ logging.level.org.hibernate.SQL=ERROR #logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE # 设置logback.xml位置 -logging.config=classpath:log/logback-dev.xml +logging.config=classpath:log/logback-@profileActive@.xml ## 静态文件目录,默认是在static下面,以后独立到nginx下面配置 spring.web.resources.static-locations=file:E:/Projects/BOE/java/static diff --git a/servers/boe-server-all/src/main/resources/application-pro.properties b/servers/boe-server-all/src/main/resources/application-pro.properties index 6c34e8bb..21371d27 100644 --- a/servers/boe-server-all/src/main/resources/application-pro.properties +++ b/servers/boe-server-all/src/main/resources/application-pro.properties @@ -34,7 +34,7 @@ logging.level.org.hibernate.SQL=ERROR # logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE # 设置logback.xml位置 -logging.config=classpath:log/logback-dev.xml +logging.config=classpath:log/logback-@profileActive@.xml ## ???????????static????????nginx???? spring.web.resources.static-locations=file:E:/Projects/BOE/java/static