瀏覽代碼

feat:请求日志

Joburgess 4 年之前
父節點
當前提交
736092717f

+ 1 - 1
mec-student/src/main/java/com/ym/mec/student/StudentApplication.java

@@ -26,7 +26,7 @@ import com.ym.mec.common.filters.EmojiEncodingFilter;
 @EnableDiscoveryClient
 @EnableFeignClients("com.ym.mec")
 @MapperScan("com.ym.mec.biz.dal.dao")
-@ComponentScan(basePackages = "com.ym.mec")
+@ComponentScan(basePackages = {"com.ym.mec", "com.yonge.log"})
 @Configuration
 @EnableSwagger2Doc
 @EnableAsync

+ 1 - 1
mec-teacher/src/main/java/com/ym/mec/teacher/TeacherApplication.java

@@ -22,7 +22,7 @@ import com.ym.mec.common.filters.EmojiEncodingFilter;
 @EnableDiscoveryClient
 @EnableFeignClients("com.ym.mec")
 @MapperScan("com.ym.mec.biz.dal.dao")
-@ComponentScan(basePackages = { "com.ym.mec", "org.snaker.engine" })
+@ComponentScan(basePackages = { "com.ym.mec", "org.snaker.engine", "com.yonge.log"})
 @Configuration
 @EnableSwagger2Doc
 @EnableAsync