public class BaseController extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
com.ptteng.wealth.finance.service.account.AccountRecordService |
accountRecordService |
com.ptteng.wealth.finance.service.account.AccountService |
accountService |
static Long |
adminUserId |
com.ptteng.wealth.consign.service.ConsignmentService |
consignmentService |
com.ptteng.wealth.admin.service.ConstantService |
constantService |
CookieUtil |
cookieUtil |
com.ptteng.wealth.finance.service.CreditApplyService |
creditApplyService |
com.ptteng.wealth.finance.service.DebtApplyService |
debtApplyService |
Environment |
environment |
com.ptteng.wealth.finance.service.FundService |
fundService |
static String |
Img_Module_Common |
com.ptteng.wealth.finance.service.LoanApplyService |
loanApplyService |
com.ptteng.wealth.finance.service.LoanProductService |
loanProductService |
protected org.apache.commons.logging.Log |
log |
com.ptteng.wealth.admin.service.ManagerService |
managerService |
com.ptteng.wealth.finance.service.OrderService |
orderService |
com.ptteng.wealth.user.service.OrganizationService |
organizationService |
com.ptteng.wealth.user.service.PersonService |
personService |
static String |
SPLITER_X |
static String |
SPLITTER_REGEX |
static String |
USER_ID |
static String |
UserKey |
com.ptteng.wealth.user.service.UserOpenidRelationService |
userOpenidRelationService |
com.ptteng.wealth.user.service.UserService |
userService |
static String |
WriterKey |
| 构造器和说明 |
|---|
BaseController() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Object> |
checkAndGetWriter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String |
getErrorCode(Long errorId) |
String |
getErrorInfo(Long errorId) |
static org.codehaus.jackson.map.ObjectMapper |
getJsonCallBackTemplate() |
Long |
getUserId(javax.servlet.http.HttpServletRequest request) |
String |
handleResult(Boolean bSucess,
int statusCode,
PrintWriter writer,
javax.servlet.http.HttpServletResponse httpServletResponse) |
String |
handleResult(PrintWriter writer,
javax.servlet.http.HttpServletResponse httpServletResponse,
boolean bSuccess,
int statusCode,
Map<String,String> stringInfoMap,
Map<String,Long> numberInfoMap,
Map<String,Object> objInfoMap) |
Integer |
totalPage(Integer size,
Integer totalSize) |
String |
writeConent(PrintWriter writer,
javax.servlet.http.HttpServletResponse httpServletResponse,
boolean bSuccess,
int statusCode,
Map<String,String> stringInfoMap,
Map<String,Long> numberInfoMap,
Map<String,Object> objInfoMap,
Map<String,String> errorMap) |
public static final String SPLITER_X
public static Long adminUserId
public static String SPLITTER_REGEX
public com.ptteng.wealth.admin.service.ManagerService managerService
public com.ptteng.wealth.user.service.UserService userService
public com.ptteng.wealth.consign.service.ConsignmentService consignmentService
public com.ptteng.wealth.finance.service.FundService fundService
public CookieUtil cookieUtil
public com.ptteng.wealth.user.service.PersonService personService
public Environment environment
public com.ptteng.wealth.user.service.UserOpenidRelationService userOpenidRelationService
public com.ptteng.wealth.finance.service.account.AccountRecordService accountRecordService
public com.ptteng.wealth.finance.service.account.AccountService accountService
public com.ptteng.wealth.finance.service.OrderService orderService
public com.ptteng.wealth.finance.service.DebtApplyService debtApplyService
public com.ptteng.wealth.admin.service.ConstantService constantService
public com.ptteng.wealth.finance.service.CreditApplyService creditApplyService
public com.ptteng.wealth.user.service.OrganizationService organizationService
public com.ptteng.wealth.finance.service.LoanApplyService loanApplyService
public com.ptteng.wealth.finance.service.LoanProductService loanProductService
protected org.apache.commons.logging.Log log
public static org.codehaus.jackson.map.ObjectMapper getJsonCallBackTemplate()
public Map<String,Object> checkAndGetWriter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public String handleResult(Boolean bSucess, int statusCode, PrintWriter writer, javax.servlet.http.HttpServletResponse httpServletResponse)
public String handleResult(PrintWriter writer, javax.servlet.http.HttpServletResponse httpServletResponse, boolean bSuccess, int statusCode, Map<String,String> stringInfoMap, Map<String,Long> numberInfoMap, Map<String,Object> objInfoMap)
public String writeConent(PrintWriter writer, javax.servlet.http.HttpServletResponse httpServletResponse, boolean bSuccess, int statusCode, Map<String,String> stringInfoMap, Map<String,Long> numberInfoMap, Map<String,Object> objInfoMap, Map<String,String> errorMap)
public Long getUserId(javax.servlet.http.HttpServletRequest request)
Copyright © 2017. All rights reserved.