资源简介

该代码完整的实现了shiyonglayui技术实现多文件的上传预览和删除功能,下载下来直接导入到开发工具中就可以使用

资源截图

代码片段和文件信息

package com.snail;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.filter.CharacterEncodingFilter;


/**
 * @author TiddlerCJ
 */
@Configuration
@EnableAutoConfiguration
@EnableScheduling
@ComponentScan
public class Application{
    public static void main(String[] args) {
     SpringApplication.run(Application.classargs);
    }
    
   /*
    * 字符编码处理
    */
    @Bean public CharacterEncodingFilter Filter() {
     CharacterEncodingFilter characterEncodingFilter =new CharacterEncodingFilter();
     characterEncodingFilter.setEncoding(“UTF-8“);
     characterEncodingFilter.setForceEncoding(true);
     return characterEncodingFilter;
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        921  2017-09-05 14:33  layui-upload\.classpath

     文件        231  2018-12-06 16:58  layui-upload\.idea\artifacts\layui_upload_war.xml

     文件        235  2018-12-06 16:58  layui-upload\.idea\artifacts\layui_upload_war_exploded.xml

     文件        651  2018-12-06 16:58  layui-upload\.idea\compiler.xml

     文件        209  2018-12-06 16:58  layui-upload\.idea\encodings.xml

     文件       1444  2018-12-06 16:33  layui-upload\.idea\inspectionProfiles\Project_Default.xml

     文件        486  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__antlr_antlr_2_7_7.xml

     文件        538  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__com_alibaba_fastjson_1_2_11.xml

     文件        546  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__com_fasterxml_classmate_1_3_3.xml

     文件        668  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml

     文件        619  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_8_7.xml

     文件        647  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_8_7.xml

     文件        486  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__dom4j_dom4j_1_6_1.xml

     文件        497  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__javax_servlet_jstl_1_2.xml

     文件        632  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__javax_transaction_javax_transaction_api_1_2.xml

     文件        635  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__javax_validation_validation_api_1_1_0_Final.xml

     文件        598  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__mysql_mysql_connector_java_5_1_41.xml

     文件        649  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_11.xml

     文件        635  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_11.xml

     文件        663  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_jasper_8_5_11.xml

     文件        684  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_11.xml

     文件        583  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_apache_tomcat_tomcat_jdbc_8_5_11.xml

     文件        583  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_apache_tomcat_tomcat_juli_8_5_11.xml

     文件        566  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_aspectj_aspectjweaver_1_8_9.xml

     文件        568  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_eclipse_jdt_core_compiler_ecj_4_5_1.xml

     文件        756  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_hibernate_common_hibernate_commons_annotations_5_0_1_Final.xml

     文件        630  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_hibernate_hibernate_core_5_0_12_Final.xml

     文件        693  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_hibernate_hibernate_entitymanager_5_0_12_Final.xml

     文件        658  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_hibernate_hibernate_validator_5_3_4_Final.xml

     文件        744  2018-12-28 10:59  layui-upload\.idea\libraries\Maven__org_hibernate_javax_persistence_hibernate_jpa_2_1_api_1_0_0_Final.xml

............此处省略695个文件信息

评论

共有 条评论