Commit 6ba06fb54bef2f66a2ac3ad485949802011ae5fd
1 parent
5e7266ed33
Exists in
master
Base
Showing 1 changed file with 3 additions and 2 deletions
core.sdk/src/main/java/com/lyms/web/controller/BaseController.java
View file @
6ba06fb
| ... | ... | @@ -12,6 +12,7 @@ |
| 12 | 12 | |
| 13 | 13 | import org.slf4j.Logger; |
| 14 | 14 | import org.slf4j.LoggerFactory; |
| 15 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 15 | 16 | import org.springframework.beans.propertyeditors.CustomDateEditor; |
| 16 | 17 | import org.springframework.util.StringUtils; |
| 17 | 18 | import org.springframework.web.bind.ServletRequestDataBinder; |
| 18 | 19 | |
| ... | ... | @@ -32,10 +33,10 @@ |
| 32 | 33 | |
| 33 | 34 | protected Logger logger = LoggerFactory.getLogger(this.getClass()); |
| 34 | 35 | |
| 35 | - // @Autowired | |
| 36 | + @Autowired | |
| 36 | 37 | protected HttpServletRequest request; |
| 37 | 38 | |
| 38 | - // @Autowired | |
| 39 | + @Autowired | |
| 39 | 40 | protected HttpServletResponse response; |
| 40 | 41 | |
| 41 | 42 | @InitBinder |