类 BaseController
- 所有已实现的接口:
org.springframework.beans.factory.InitializingBean
- 直接已知子类:
ArticleCategoryController,ArticleController,MerchantCategoryController,MerchantController,MerchantCouponController,MerchantInfoController,MerchantMenuController,MerchantOrderController,MerchantProductCategoryController,MerchantProductController,MerchantTypeController,MerchantUserController,MerProdGuaranteeGroupController,MerProductRuleController,PlatformOrderController,ProductBrandController,ProductCategoryController,ProductController,ProductGuaranteeController,ProductInfoController,ShippingTemplateController,TagController,UserRegisterController
商户模块基础控制器。
- 作者:
- 时克英
-
嵌套类概要
从类继承的嵌套类/接口 com.iplatform.base.AbstractController
AbstractController.ResponseFormat -
字段概要
从类继承的字段 com.iplatform.base.AbstractController
DEFAULT_JS_NAME, DEFAULT_PAGER_VIEW_NAME, logger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected com.walker.web.ResponseValue返回文章详细内容。protected PlatformOrderDetailVoacquireCommonOrderDetail(EbOrder order, String orderNo) 获取通用平台订单详情信息,平台和商户都使用。protected List<PlatformOrderVo>acquireCommonOrderList(List<EbOrder> data) 获取公共订单列表,目前后台和商户都可以使用该方法。protected List<OrderInvoiceVo>acquireOrderInvoiceList(String orderNo) 获取订单发货单列表,平台、商户都可以用。protected voidbatchUpdateEbUserCache(List<Long> userIds) 批量更新电商用户缓存。protected ArticleCategoryCacheprotected ArticleServiceImplprotected CityCacheProviderprotected CityServiceImplprotected CouponServiceImplprotected CouponUserServiceImplprotected EbUser返回当前电商注册用户(C端)protected ExpressCacheprotected ExpressServiceImplprotected LevelCacheprotected MerchantApplyServiceImplprotected MerchantCacheprotected MerCategoryCacheProviderprotected StringgetMerchantCategoryName(int categoryId) protected MerchantProductCategoryServiceImplprotected MerchantServiceImpl返回商户定义数据库服务protected MerTypeCacheProviderprotected StringgetMerchantTypeName(int typeId) protected MerProductCategoryCacheprotected OrderInvoiceServiceImplprotected OrderServiceImplprotected PayServiceImplprotected ProductAttrCacheprotected ProductAttrValueServiceImplprotected ProductBrandCacheprotected ProductBrandServiceImplprotected ProductCacheprotected ProductCategoryCacheprotected ProductCategoryServiceImplprotected ProductDescriptionServiceImplprotected ProductGuaranteeServiceImplprotected ProductRelationServiceImplprotected ProductRuleServiceImplprotected ProductServiceImplprotected ShippingTemplateServiceImplprotected UserAddressServiceImplprotected UserBalanceServiceImplprotected UserBrokerageServiceImplprotected UserRechargeServiceImplprotected UserRegCacheprotected UserRegConfigCacheprotected UserRegConfigServiceImplprotected StringgetUserRegisterName(long id) 根据注册用户ID,返回其名字(昵称)protected UserRegisterServiceImplprotected boolean当前登录用户是否商户。protected boolean当前登录用户是否超管(平台商户超管)从类继承的方法 com.iplatform.base.WechatBaseController
acquireMiniAccessToken, acquirePublicAccessToken, getWechatCache, pushNotificationWithTemplate从类继承的方法 com.iplatform.base.PlatformAdapterController
acquireGroupDataConfigList, acquireGroupDataList, acquireGroupDataNormal, getSystemGroupCache从类继承的方法 com.iplatform.base.SystemController
afterPropertiesSet, downloadLocalImportTemplate, getCaptchaCacheProvider, getCurrentOrgMenuScope, getCurrentWebUserAgent, getDataImportEngine, getDept, getDeptCacheProvider, getDeptName, getDictCacheProvider, getDictName, getLoginStrategyManager, getNotificationTemplateCache, getOrgListScope, getOwner, getPushManager, getRootOrgIdByDept, getSmsCaptchaProvider, getUser, getUserCacheProvider, getUserLoginCache, getUserRootOrgId, getUserService, getWebAgentService, sendSmsCodeValidation, setCaptchaCacheProvider, setDeptCacheProvider, setDictCacheProvider, setPlatformDataImportEngine, setPushManager, setSmsCaptchaProvider, setUserCacheProvider, systemLogError, systemLogSuccess, validateSmsCode从类继承的方法 com.iplatform.base.AbstractFileOperateSpiController
acquireFileOperateSpi, clearCdnPrefix, getCdnUrl, getFileInfo, getFileInfoList, getLocalFileData, uploadFileToLocal, uploadFileToLocal, uploadFileToLocal, uploadFileToLocal, uploadFileToLocal, uploadFileToRemote, uploadFileToRemote, uploadFileToRemote, uploadFileToRemote, uploadFileToRemote, uploadFileToRemote, uploadFileToRemote从类继承的方法 com.iplatform.base.AbstractSecurityController
acquireSecurityUserProperties, encryptPassword, getCurrentDataScope, getCurrentUser, getCurrentUserId, getCurrentUserPrincipal, getCurrentUserRoleIdList, isSupervisor, loginAsWorkflowRole, matchesPassword, validatePasswordRule从类继承的方法 com.iplatform.base.AbstractController
acquireTablePage, ajaxOutputFileStream, ajaxOutputFileStream, ajaxOutPutHtml, ajaxOutPutJson, ajaxOutPutText, ajaxOutPutXml, downloadSimpleFile, getArgumentManager, getArgumentVariable, getAttribute, getContextPath, getDoubleParameter, getFloatParameter, getIntParameter, getLongParameter, getParameter, getParameterUTF8, getParameterValues, getParamsDateTime, getPlatformCallback, getRequest, getResponse, getServerDomain, getThirdPartyManager, preparePageSearch, print, setAttribute, setDefaultContentType
-
构造器详细资料
-
BaseController
public BaseController()
-
-
方法详细资料
-
batchUpdateEbUserCache
批量更新电商用户缓存。- 参数:
userIds-
-
acquireOrderInvoiceList
获取订单发货单列表,平台、商户都可以用。- 参数:
orderNo-- 返回:
-
acquireCommonOrderDetail
获取通用平台订单详情信息,平台和商户都使用。- 参数:
order-orderNo-- 返回:
-
acquireCommonOrderList
获取公共订单列表,目前后台和商户都可以使用该方法。- 参数:
data-- 返回:
-
acquireArticleDetailVo
返回文章详细内容。- 参数:
id- 文字id- 返回:
-
isPlatformSuper
protected boolean isPlatformSuper()当前登录用户是否超管(平台商户超管)- 返回:
-
isMerchant
protected boolean isMerchant()当前登录用户是否商户。- 返回:
-
getMerchantService
返回商户定义数据库服务- 返回:
-
getMerchantApplyService
-
getMerchantCategoryCache
-
getMerchantTypeCache
-
getMerchantCategoryName
-
getMerchantTypeName
-
getProductCategoryService
-
getProductCategoryCache
-
getProductBrandService
-
getProductBrandCache
-
getProductService
-
getMerchantCache
-
getProductAttrCache
-
getProductAttrValueService
-
getProductDescriptionService
-
getMerchantProductCategoryService
-
getMerProductCategoryCache
-
getUserRegisterService
-
getUserRegCache
-
getUserRegisterName
根据注册用户ID,返回其名字(昵称)- 参数:
id-- 返回:
-
getShippingTemplateService
-
getProductGuaranteeService
-
getCouponService
-
getArticleService
-
getCityCache
-
getCityService
-
getProductRelationService
-
getCouponUserService
-
getLevelCache
-
getOrderService
-
getUserAddressService
-
getPayService
-
getArticleCategoryCache
-
getOrderInvoiceService
-
getProductCache
-
getProductRuleService
-
getUserRegConfigService
-
getUserRegConfigCache
-
getExpressCache
-
getExpressService
-
getUserBalanceService
-
getUserRechargeService
-
getUserBrokerageService
-
getCurrentEbUser
返回当前电商注册用户(C端)- 返回:
-