AspectWebConfiguration.java 467 B

123456789101112131415161718192021222324
  1. package com.emato.ccnet.wx.config;
  2. import com.emato.ccnet.wx.aop.AspectWebLog;
  3. import org.springframework.context.annotation.Bean;
  4. import org.springframework.context.annotation.Configuration;
  5. /**
  6. * @author Scott Chen
  7. * @version 1.0
  8. * 2017-10-23 02:27
  9. */
  10. @Configuration
  11. public class AspectWebConfiguration {
  12. /**
  13. * 日志处理
  14. * @return
  15. */
  16. @Bean
  17. public static AspectWebLog webLogAspect() {
  18. return new AspectWebLog();
  19. }
  20. }