cn.gtmap.estateplat.core.web
类 BaseController
java.lang.Object
cn.gtmap.estateplat.core.web.BaseController
@Controller
public abstract class BaseController
- extends Object
.
- 版本:
- V1.0, 16-3-15
- 作者:
- shenjian
|
字段摘要 |
protected org.slf4j.Logger |
logger
|
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.slf4j.Logger logger
BaseController
public BaseController()
getMsg
protected final String getMsg(String key)
getMsg
protected final String getMsg(String key,
Object... args)
success
protected static void success(org.springframework.web.servlet.mvc.support.RedirectAttributes ra,
String msg)
success
protected static void success(org.springframework.web.servlet.mvc.support.RedirectAttributes ra)
fail
protected static void fail(org.springframework.ui.Model model,
String msg)
fail
protected static void fail(org.springframework.ui.Model model,
Exception ex)
fail
protected static void fail(org.springframework.ui.Model model)
success
protected static Map<String,Object> success()
fail
protected static Map<String,Object> fail(String message)
fail
protected static Map<String,Object> fail(Exception ex)
Copyright © 2015–2016 cn.gtmap. All rights reserved.