资源简介

利用springboot实现用户注册登录,完善个人资料,文件上传和文件下载,查看自己上传的文件,还有后台管理功能。数据库文件在压缩包中。

资源截图

代码片段和文件信息

package com.zhazhapan.efo;

import com.spring4all.swagger.EnableSwagger2Doc;
import com.zhazhapan.config.JsonParser;
import com.zhazhapan.efo.config.TokenConfig;
import com.zhazhapan.efo.modules.constant.ConfigConsts;
import com.zhazhapan.efo.modules.constant.DefaultValues;
import com.zhazhapan.util.FileExecutor;
import com.zhazhapan.util.MailSender;
import com.zhazhapan.util.ReflectUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.io.IOException;
import java.util.Hashtable;
import java.util.List;


@SpringBootApplication
@EnableSwagger2Doc
@MapperScan(“com.zhazhapan.efo.dao“)
@EnableTransactionManagement
public class EfoApplication {

    public static JsonParser settings = new JsonParser();

    public static List> controllers;

    public static Hashtable tokens;

    public static void main(String[] args) throws IOException ClassNotFoundException {
        settings.setJsonobject(FileExecutor.read(EfoApplication.class.getResourceAsStream(DefaultValues.SETTING_PATH)));
        MailSender.config(settings.getobjectUseEval(ConfigConsts.EMAIL_CONFIG_OF_SETTINGS));
        controllers = ReflectUtils.getClasses(DefaultValues.CONTROLLER_PACKAGE);
        tokens = TokenConfig.loadToken();
        SpringApplication.run(EfoApplication.class args);
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        1586  2019-05-08 10:28  efo-master\README.md
     文件       10730  2019-05-08 10:11  efo-master\efo.sql
     目录           0  2018-12-15 17:50  efo-master\
     文件        1268  2018-12-15 17:50  efo-master\.classpath
     目录           0  2018-12-15 17:39  efo-master\.gitee\
     文件          79  2018-11-17 17:29  efo-master\.gitee\ISSUE_TEMPLATE.zh-CN.md
     文件         105  2018-11-17 17:29  efo-master\.gitee\PULL_REQUEST_TEMPLATE.zh-CN.md
     文件         850  2018-11-17 17:29  efo-master\.gitignore
     目录           0  2018-12-15 17:39  efo-master\.mvn\
     目录           0  2018-12-15 17:39  efo-master\.mvn\wrapper\
     文件       47610  2018-11-17 17:29  efo-master\.mvn\wrapper\maven-wrapper.jar
     文件         110  2018-11-17 17:29  efo-master\.mvn\wrapper\maven-wrapper.properties
     文件         923  2018-12-15 17:50  efo-master\.project
     目录           0  2018-12-15 17:50  efo-master\.settings\
     文件         155  2018-12-15 17:50  efo-master\.settings\org.eclipse.core.resources.prefs
     文件         356  2018-12-15 17:50  efo-master\.settings\org.eclipse.jdt.core.prefs
     文件          90  2018-12-15 17:40  efo-master\.settings\org.eclipse.m2e.core.prefs
     文件        1075  2018-11-17 17:29  efo-master\LICENSE
     目录           0  2018-12-15 17:39  efo-master\meta-INF\
     文件          68  2018-11-17 17:29  efo-master\meta-INF\MANIFEST.MF
     文件       16173  2018-11-17 17:29  efo-master\efo.iml
     文件        6468  2018-11-17 17:29  efo-master\mvnw
     文件        4994  2018-11-17 17:29  efo-master\mvnw.cmd
     文件        6720  2018-11-17 17:29  efo-master\pom.xml
     目录           0  2018-12-15 17:39  efo-master\src\
     目录           0  2018-12-15 17:39  efo-master\src\main\
     目录           0  2018-12-15 17:39  efo-master\src\main\java\
     目录           0  2018-12-15 17:39  efo-master\src\main\java\com\
     目录           0  2018-12-15 17:39  efo-master\src\main\java\com\zhazhapan\
     目录           0  2018-12-15 17:39  efo-master\src\main\java\com\zhazhapan\efo\
     文件        1514  2019-05-08 10:12  efo-master\src\main\java\com\zhazhapan\efo\EfoApplication.java
............此处省略423个文件信息

评论

共有 条评论