@RestController @RequestMapping(value="system") @Feature(cls=SYSTEM_EMAIL) @SystemPermission public class SystemMailConfigController extends BaseServerController
NODE_ID, nodeService
Constructor and Description |
---|
SystemMailConfigController(SystemParametersServer systemParametersServer) |
Modifier and Type | Method and Description |
---|---|
String |
listData(MailAccountModel mailAccountModel) |
String |
mailConfigData()
load mail config data
加载邮件配置
|
checkCron, getNode, getUser, getUserByThreadLocal, getUserModel, removeAll, removeEmpty, resetInfo, resetInfo, tryGetNode
checkPathSafe, pathSafe
clearResources, createMultipart, getCookieValue, getHeader, getHeaders, getIp, getMultiRequest, getObject, getParameter, getParameter, getParameterInt, getParameterInt, getParameterLong, getParameterLong, getParameters, getParametersMap, getRefererParameter, getUnescapeParameter, getUnescapeParameter, getUnescapeParameters, getXssParameter, getXssParameter, getXssParameters, hasFile
getApplication, getAttribute, getClientIP, getHeaderMapValues, getRequest, getRequestAttributes, getResponse, getSession, getSessionAttribute, getSessionAttributeObj, removeSessionAttribute, setAttribute, setSessionAttribute, tryGetRequestAttributes
public SystemMailConfigController(SystemParametersServer systemParametersServer)
@PostMapping(value="mail-config-data", produces="application/json") @Feature(method=LIST) public String mailConfigData()
@PostMapping(value="mailConfig_save.json", produces="application/json") @Feature(method=EDIT) @SystemPermission(superUser=true) public String listData(MailAccountModel mailAccountModel) throws Exception
Exception
Copyright © 2017–2022. All rights reserved.