package com.library.controller;

import com.library.respcode.ServerResponse;
import com.library.service.AdminService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;

/**
 * 管理员操作
 * @author Administrator
 *
 */
@Controller
@RequestMapping("AdminManage")
public class AdminController {

	@Resource
	private AdminService adminService;
	
	 //管理员登陆
    @ResponseBody
    @RequestMapping("adminOpear")
    private ServerResponse adminOpear() {
        return adminService.adminOpear();
    }


}
