package com.wjh.controller;
import java.io.IOException;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
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.ResponseBody;
import org.springframework.web.multipart.MultipartFile;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.wjh.dao.CommodityMapper;
import com.wjh.dao.UserMapper;
import com.wjh.dao.model.Commodity;
import com.wjh.dao.model.CommodityExample;
import com.wjh.dao.model.CommodityExample.Criteria;
import com.wjh.dao.model.User;
import com.wjh.untl.FileUtils;
@