• 大小: 23.88MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-06-25
  • 语言: 数据库
  • 标签: ssm  

资源简介

网上购物系统源码:sql文件+ppt开题论文+结题论文材料;ssm架构体系+MySql数据库,良好的代码规范 保证你不后悔!

资源截图

代码片段和文件信息

package com.shop.controller;

import java.io.File;
import java.util.Date;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import com.shop.Utils.PageBean;
import com.shop.Utils.UUIDUtiils;
import com.shop.po.Adminuser;
import com.shop.po.Category;
import com.shop.po.Categorysecond;
import com.shop.po.Message;
import com.shop.po.Orders;
import com.shop.po.Product;
import com.shop.po.User;
import com.shop.service.CategorySecondService;
import com.shop.service.CategoryService;
import com.shop.service.MessageService;
import com.shop.service.OrderService;
import com.shop.service.ProductService;
import com.shop.service.UserService;


@Controller
public class AdminController {
@Autowired
private UserService userService;
@Autowired
public CategoryService categoryService;
@Autowired
public CategorySecondService categorySecondService;
@Autowired
public ProductService productService;
@Autowired
private OrderService orderService;
@Autowired
private MessageService messageService;

@RequestMapping(“/admin/admin_findAll“)
public String admin_findAll(Model modelHttpServletRequest request) throws Exception {
Adminuser adminuserLogin = (Adminuser) request.getSession().getAttribute(“adminuserLogin“);
if(adminuserLogin==null){
request.getSession().setAttribute(“message““对不起您还没有登录“);
return “admin/index“;
}
List userList = userService.admin_findAll();
model.addAttribute(“userList“ userList);
return “admin/user/list“;
}

@RequestMapping(“/admin/adminCategory_findAll“)
public String adminCategory_findAll(Model model HttpServletRequest request)
throws Exception {
Adminuser adminuserLogin = (Adminuser) request.getSession().getAttribute(“adminuserLogin“);
if(adminuserLogin==null){
request.getSession().setAttribute(“message““对不起您还没有登录“);
return “admin/index“;
}
List categoryList = categoryService.adminbFindCategory();
/*for (Category category : categoryList) {
System.out.println(category.getCname());
}*/
model.addAttribute(“categoryList“ categoryList);
return “admin/category/list“;
}

@RequestMapping(“/admin/adminCategory_add“)
public String adminCategory_add(Model modelHttpServletRequest request) throws Exception {
Adminuser adminuserLogin = (Adminuser) request.getSession().getAttribute(“adminuserLogin“);
if(adminuserLogin==null){
request.getSession().setAttribute(“message““对不起您还没有登录“);
return “admin/index“;
}
// List categoryList = categoryService.adminbFindCategory();
// model.addAttribute(“categoryList“ categoryList);
return 

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

     文件    4691456  2018-04-06 18:55  网上购物系统\10863网上购物系统(SSM).ppt

     文件       1058  2018-04-08 13:43  网上购物系统\shop\.classpath

     文件        904  2018-04-03 04:53  网上购物系统\shop\.project

     文件        500  2018-04-05 20:53  网上购物系统\shop\.settings\.jsdtscope

     文件        275  2018-04-10 08:53  网上购物系统\shop\.settings\org.eclipse.core.resources.prefs

     文件         52  2018-04-06 13:06  网上购物系统\shop\.settings\org.eclipse.core.runtime.prefs

     文件        364  2018-04-02 05:13  网上购物系统\shop\.settings\org.eclipse.jdt.core.prefs

     文件        538  2018-04-03 15:03  网上购物系统\shop\.settings\org.eclipse.wst.common.component

     文件        345  2018-04-07 04:52  网上购物系统\shop\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件        153  2018-04-08 21:03  网上购物系统\shop\.settings\org.eclipse.wst.jsdt.ui.prefs

     文件         49  2018-04-02 18:45  网上购物系统\shop\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2018-04-05 15:54  网上购物系统\shop\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件      14355  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\controller\AdminController.class

     文件       2151  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\controller\ajaxController.class

     文件       3246  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\controller\cartController.class

     文件       2224  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\controller\CategorySecondController.class

     文件       3867  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\controller\checkImgController.class

     文件       1068  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\controller\converters\DateConverters.class

     文件       3569  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\controller\indexController.class

     文件       4015  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\controller\loginController.class

     文件       2943  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\controller\messageController.class

     文件       5464  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\controller\orderController.class

     文件       1291  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\controller\ProductController.class

     文件       3967  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\controller\registController.class

     文件       1954  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\exception\golbalException.class

     文件        584  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\exception\zdyException.class

     文件       1508  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\interceptor\EncodingInterceptor.class

     文件       2306  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\interceptor\PrivilageInterceptor.class

     文件        938  2018-10-10 22:11  网上购物系统\shop\build\classes\com\shop\mapper\AdminuserMapper.class

     文件       6734  2018-04-10 13:40  网上购物系统\shop\build\classes\com\shop\mapper\AdminuserMapper.xml

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

评论

共有 条评论