类 SettingController
java.lang.Object
plus.hiver.module.system.controller.SettingController
基础配置接口
尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负
- 作者:
- Yazhi Li
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明plus.hiver.common.api.Result<EmailSetting>email()plus.hiver.common.api.ResultemailSet(EmailSetting emailSetting) plus.hiver.common.api.Result<NoticeSetting>notice()plus.hiver.common.api.ResultnoticeSet(NoticeSetting noticeSetting) plus.hiver.common.api.Result<OssSetting>plus.hiver.common.api.ResultossCheck()plus.hiver.common.api.ResultossSet(OssSetting ossSetting) plus.hiver.common.api.Result<plus.hiver.common.vo.OtherSetting>other()plus.hiver.common.api.ResultotherSet(plus.hiver.common.vo.OtherSetting otherSetting) plus.hiver.common.api.Resultplus.hiver.common.api.Result<SmsSetting>plus.hiver.common.api.ResultsmsCheck()plus.hiver.common.api.ResultsmsSet(SmsSetting smsSetting) plus.hiver.common.api.ResultsmsTemplateCode(String serviceName) plus.hiver.common.api.Result
-
构造器详细资料
-
SettingController
public SettingController()
-
-
方法详细资料
-
seeSecret
@GetMapping("/seeSecret/{settingName}") public plus.hiver.common.api.Result seeSecret(@PathVariable String settingName) -
ossCheck
@GetMapping("/oss/check") public plus.hiver.common.api.Result ossCheck() -
smsCheck
@GetMapping("/sms/check") public plus.hiver.common.api.Result smsCheck() -
oss
@GetMapping("/oss/{serviceName}") public plus.hiver.common.api.Result<OssSetting> oss(@PathVariable String serviceName) -
sms
@GetMapping("/sms/{serviceName}") public plus.hiver.common.api.Result<SmsSetting> sms(@PathVariable String serviceName) -
smsTemplateCode
@GetMapping("/sms/templateCodes/{serviceName}") public plus.hiver.common.api.Result smsTemplateCode(@PathVariable String serviceName) -
email
-
other
@GetMapping("/other") public plus.hiver.common.api.Result<plus.hiver.common.vo.OtherSetting> other() -
notice
-
ossSet
-
smsSet
-
smsTemplateCodeSet
@PostMapping("/sms/templateCode/set") public plus.hiver.common.api.Result smsTemplateCodeSet(SmsSetting sms) -
emailSet
-
otherSet
@PostMapping("/other/set") public plus.hiver.common.api.Result otherSet(plus.hiver.common.vo.OtherSetting otherSetting) -
noticeSet
@PostMapping("/notice/set") public plus.hiver.common.api.Result noticeSet(NoticeSetting noticeSetting)
-