类 PushController
- 所有已实现的接口:
org.springframework.beans.factory.InitializingBean
-
嵌套类概要
从类继承的嵌套类/接口 com.iplatform.base.AbstractController
AbstractController.ResponseFormat -
字段概要
从类继承的字段 com.iplatform.base.AbstractController
DEFAULT_JS_NAME, DEFAULT_PAGER_VIEW_NAME, logger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected voidpushMailNotification(String title, String content, String userIdOrMail) 推送邮件通知,该方法无论登录都可调用。protected voidpushMessageNotification(PushData pushData) 推送平台普通消息,不包括:邮件和短信。protected void推送短信内容,登录与否都可调用。protected voidpushSmsValidateCode(String code, String userIdOrMobile) 发送短信验证码,登录与否都可调用。从类继承的方法 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
-
构造器详细资料
-
PushController
public PushController()
-
-
方法详细资料
-
pushSmsValidateCode
发送短信验证码,登录与否都可调用。- 参数:
code- 发送的验证码userIdOrMobile- 用户ID 或者 手机号
-
pushSmsNotification
protected void pushSmsNotification(String templateCode, Map<String, String> param, String userIdOrMobile) 推送短信内容,登录与否都可调用。- 参数:
templateCode- 短信模板代码param- 参数userIdOrMobile- 用户ID 或者 手机号
-
pushMailNotification
推送邮件通知,该方法无论登录都可调用。不登录的话,userIdOrMail 必须是邮件地址
- 参数:
title- 标题content- 内容userIdOrMail- 用户ID(或邮件地址)
-
pushMessageNotification
推送平台普通消息,不包括:邮件和短信。这些通知会保存到数据库中,一般为操作业务的各种通知,如:待办事项等。
- 参数:
pushData- 业务传递的数据
-