资源简介
BookManageSystem.rar
代码片段和文件信息
package com.java456.controller;
import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import java.util.Date;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.SortedMap;
import java.util.TreeMap;
import java.util.UUID;
import javax.annotation.Resource;
import javax.naming.spi.objectFactoryBuilder;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.commons.io.FileUtils;
import org.apache.shiro.SecurityUtils;
import org.aspectj.apache.bcel.classfile.Constant;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.converter.json.MappingJacksonValue;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.context.ContextLoader;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;
import org.springframework.web.servlet.ModelAndView;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.java456.entity.Config;
import com.java456.entity.Result;
import com.java456.entity.Tree;
import com.java456.entity.User;
import com.java456.http.HttpClient;
import com.java456.service.ConfigService;
import com.java456.service.PublicService;
import com.java456.service.TreeService;
import com.java456.service.UserService;
import com.java456.util.DateUtil;
import com.java456.util.MyUtil;
import com.java456.util.ResponseUtil;
import com.java456.util.StringUtil;
import com.java456.util.xmlUtil;
import com.mysql.fabric.xmlrpc.base.Data;
import net.sf.json.JSONArray;
import net.sf.json.JSONobject;
/**
* 主页Contrller
* 版本 2.10 更新 上去
*/
@Controller
@RequestMapping(“/“)
public class IndexContrller {
@Resource
private TreeService treeService;
@Resource
private PublicService publicService;
/**
* 请求主页
*/
@RequestMapping(“/index“)
public ModelAndView index(HttpServletResponse resHttpServletRequest req) throws Exception {
ModelAndView mav = new ModelAndView();
String UserAgent = req.getHeader(“User-Agent“);
//判断AppleWebKit 和 Firefox
if(MyUtil.checkUserAgent(UserAgent)){
mav.setViewName(“/pc/login/login“);
}else{
mav.setViewName(“/admin/common/s_mode“);
}
System.out.println(“【UserAgent】【】【】【】】【“+UserAgent);
return mav;
}
/**
* 电脑登陆
*/
@RequestMapping(“/login“)
public ModelAndView login(HttpServletResponse resHttpServletRequest req) throws Exception {
ModelAndView mav = new ModelAndVie
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1391 2018-04-22 10:44 BookManageSystem\.classpath
文件 1225 2018-06-21 21:58 BookManageSystem\.project
文件 639 2018-04-22 10:45 BookManageSystem\.settings\.jsdtscope
文件 430 2018-04-22 10:45 BookManageSystem\.settings\org.eclipse.jdt.core.prefs
文件 90 2018-04-22 10:45 BookManageSystem\.settings\org.eclipse.m2e.core.prefs
文件 749 2018-04-22 10:45 BookManageSystem\.settings\org.eclipse.wst.common.component
文件 252 2018-04-22 10:45 BookManageSystem\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 49 2018-04-22 10:45 BookManageSystem\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2018-04-22 10:45 BookManageSystem\.settings\org.eclipse.wst.jsdt.ui.superType.name
文件 50 2018-04-22 10:45 BookManageSystem\.settings\org.eclipse.wst.validation.prefs
文件 2 2018-04-22 10:44 BookManageSystem\.svn\entries
文件 2 2018-04-22 10:44 BookManageSystem\.svn\format
文件 2905 2018-04-22 10:44 BookManageSystem\.svn\pristine\00\002665d49059d62990ba2ebf834d4ecf0189a38f.svn-ba
文件 5541 2018-04-22 10:44 BookManageSystem\.svn\pristine\00\003388bc885ec19e4d4b241e8a4c44e4210c2e02.svn-ba
文件 903 2018-04-22 10:44 BookManageSystem\.svn\pristine\00\00448dfff9a135d426547b6d55f89695fac90385.svn-ba
文件 1032 2018-04-22 10:44 BookManageSystem\.svn\pristine\00\007ca4d93d393a3a7c90d76a5920e7ff70c4515b.svn-ba
文件 191 2018-04-22 10:44 BookManageSystem\.svn\pristine\00\007d2527690783a878e3ec76cce9ac7fc88d3fe7.svn-ba
文件 1128 2018-04-22 10:44 BookManageSystem\.svn\pristine\00\0085482f4a9d17ec726e91da8ea664a844e88eec.svn-ba
文件 1153 2018-04-22 10:44 BookManageSystem\.svn\pristine\00\00aebdb5d0074e36a09922e6bda84128a4ef53ea.svn-ba
文件 4212 2018-04-22 10:44 BookManageSystem\.svn\pristine\00\00b1bc2e37700761792cedee59e489d77306a74c.svn-ba
文件 2508 2018-04-22 10:44 BookManageSystem\.svn\pristine\00\00fe3a3049493919d52570956753d597fdb17dd7.svn-ba
文件 47084 2018-04-22 10:44 BookManageSystem\.svn\pristine\01\010af259088eac7b993de13e3e83c2365fe9beab.svn-ba
文件 716 2018-04-22 10:44 BookManageSystem\.svn\pristine\01\012984c34092c44cc0540e2b881394662236428e.svn-ba
文件 244 2018-04-22 10:44 BookManageSystem\.svn\pristine\01\0146248c0358eaae6a002fc7ad492483b60ff503.svn-ba
文件 12613 2018-04-22 10:44 BookManageSystem\.svn\pristine\01\016d9374beca1f7e09b4d59f9aa608a5a2642523.svn-ba
文件 1986 2018-04-22 10:44 BookManageSystem\.svn\pristine\01\016fb5a98c6ffac8252316994dbd805ec25c9892.svn-ba
文件 2416 2018-04-22 10:44 BookManageSystem\.svn\pristine\01\01f873c248464ff6134ff0a3dceae4a03ec7816d.svn-ba
文件 1279 2018-04-22 10:44 BookManageSystem\.svn\pristine\02\021cab097bbd739ad455453af433f0a3a7210b8d.svn-ba
文件 3914 2018-04-22 10:45 BookManageSystem\.svn\pristine\02\023ebba94716874ac724a77cdbb79fe766e486fb.svn-ba
文件 1609 2018-04-22 10:44 BookManageSystem\.svn\pristine\02\0240f5850e4490cace11e10374fc1a9d7ff58498.svn-ba
............此处省略3632个文件信息
- 上一篇:神策数据-大数据分析
- 下一篇:基于node+mongdb的后台管理系统
相关资源
- 第4组_乐享购物.zip
- 全新裂变红包1.64破解版.zip
- CE.7z
- 微擎商业版1.8.2.zip
- awd_platform.7z
- ShiTou_CRM.zip
- NetCameraTest5.4.zip
- SVM.rar
- Securecrt64.7z
- Eric61703中文汉化版.zip
- 矩阵分析与应用课件_张贤达_清华课件
- 百度云(1).zip
- 王红梅.rar
- 周志华机器学习.zip
- 榆落微时光1.0.39小程序前端.zip
- 智慧答题-崛企5.1.2.zip
- 信号检测与估计理论清华大学版本.
- 计算机组成原理(第2版)-唐朔飞.p
- qq_28971045_10491491.zip
- 图论及其应用课后答案[1-12章].pdf
- 微擎商业版框架2.0.4去授权一键安装源
- zhajinhuaTutorial-master.zip
- wapj.zip
- 5CBBAE958673ABD2DF1E04E7F11794DC.pdf
- SimpleMall.zip
- 康熙字典数据库.rar
- Test2.zip
- FruitShopping.rar
- 迅雷7.2.8.3572去广告优化版VIP6+高速通
- 40-A5-EF-3E-90-AA.bin
评论
共有 条评论