|
|
|
@ -3,6 +3,9 @@ package org.pqh.controller; |
|
|
|
|
import org.pqh.core.util.LogManger; |
|
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.ResponseBody; |
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Created by reborn on 2017/9/14. |
|
|
|
@ -14,4 +17,11 @@ public class AdminController implements LogManger{ |
|
|
|
|
log.info("进入首页"); |
|
|
|
|
return "index"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ResponseBody |
|
|
|
|
@RequestMapping(value = "/password", produces = "text/html;charset=UTF-8") |
|
|
|
|
private String get(HttpServletResponse response){ |
|
|
|
|
response.setHeader("password","Luffy9412,rqsgdumjzcbabdgb"); |
|
|
|
|
return ""; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|