• 大小: 314KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-06
  • 语言: 数据库
  • 标签: java论坛  

资源简介

基于SSM的简单论坛,Spring+SpringMVC+Mybatis 简单的,sql文档也是包括的。

资源截图

代码片段和文件信息

package com.withstars.aop;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: withstars
 * Date: 2018-02-22
 * Time: 20:41
 * Mail: withstars@126.com
 */
@Component
@Aspect
public class LogAspect {
     private final Log log = LogFactory.getLog(getClass());

    @Before(“execution(* com.withstars.controller.UserController.signin(..))“)
    public void loginLogAspect(JoinPoint joinPoint){
        String methodName=joinPoint.getSignature().toShortString();
        String args=joinPoint.

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-03-31 07:12  Genesis-master\
     文件          29  2018-03-31 07:12  Genesis-master\.gitignore
     文件          35  2018-03-31 07:12  Genesis-master\.travis.yml
     文件       11339  2018-03-31 07:12  Genesis-master\LICENSE
     文件         937  2018-03-31 07:12  Genesis-master\README.md
     文件       24837  2018-03-31 07:12  Genesis-master\forum.sql
     文件        7743  2018-03-31 07:12  Genesis-master\pom.xml
     目录           0  2018-03-31 07:12  Genesis-master\preview\
     文件       30852  2018-03-31 07:12  Genesis-master\preview\1.PNG
     文件       97618  2018-03-31 07:12  Genesis-master\preview\2.PNG
     目录           0  2018-03-31 07:12  Genesis-master\src\
     目录           0  2018-03-31 07:12  Genesis-master\src\logs\
     文件      379891  2018-03-31 07:12  Genesis-master\src\logs\genesis.log
     目录           0  2018-03-31 07:12  Genesis-master\src\main\
     目录           0  2018-03-31 07:12  Genesis-master\src\main\java\
     目录           0  2018-03-31 07:12  Genesis-master\src\main\java\com\
     目录           0  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\
     目录           0  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\aop\
     文件         911  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\aop\LogAspect.java
     目录           0  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\controller\
     文件         352  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\controller\LoginLogController.java
     文件        2403  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\controller\MainController.java
     文件        1803  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\controller\ReplyController.java
     文件        6170  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\controller\TopicController.java
     文件        8272  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\controller\UserController.java
     目录           0  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\dao\
     文件         360  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\dao\LoginLogMapper.java
     文件         510  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\dao\ReplyMapper.java
     文件         425  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\dao\TabMapper.java
     文件         670  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\dao\TopicMapper.java
     文件         665  2018-03-31 07:12  Genesis-master\src\main\java\com\withstars\dao\UserMapper.java
............此处省略73个文件信息

评论

共有 条评论

相关资源