@Service public class SysSmsInfoServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysSmsMapper,SysSms> implements SysSmsInfoService
| 构造器和说明 |
|---|
SysSmsInfoServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult<SysSms> |
page(SysSmsInfoParam sysSmsInfoParam)
短信发送记录查询
|
Long |
saveSmsInfo(SysSmsSendParam sysSmsSendParam,
String validateCode)
存储短信验证信息
|
boolean |
sendShortMessage(SysSmsSendParam sysSmsSendParam)
发送短信
|
void |
updateSmsInfo(Long smsId,
SmsSendStatusEnum smsSendStatusEnum)
更新短息发送状态
|
void |
validateSmsInfo(SysSmsVerifyParam sysSmsVerifyParam)
校验验证码是否正确
如果校验失败,或者短信超时,则会抛出异常
|
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateById@Transactional(rollbackFor=java.lang.Exception.class) public boolean sendShortMessage(SysSmsSendParam sysSmsSendParam)
SysSmsInfoServicesendShortMessage 在接口中 SysSmsInfoServicesysSmsSendParam - 短信发送参数public Long saveSmsInfo(SysSmsSendParam sysSmsSendParam, String validateCode)
SysSmsInfoServicesaveSmsInfo 在接口中 SysSmsInfoServicesysSmsSendParam - 发送参数validateCode - 验证码public void updateSmsInfo(Long smsId, SmsSendStatusEnum smsSendStatusEnum)
SysSmsInfoServiceupdateSmsInfo 在接口中 SysSmsInfoServicesmsId - 短信记录idsmsSendStatusEnum - 发送状态枚举@Transactional(rollbackFor=java.lang.Exception.class) public void validateSmsInfo(SysSmsVerifyParam sysSmsVerifyParam)
SysSmsInfoService如果校验失败,或者短信超时,则会抛出异常
validateSmsInfo 在接口中 SysSmsInfoServicesysSmsVerifyParam - 短信校验参数public cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult<SysSms> page(SysSmsInfoParam sysSmsInfoParam)
SysSmsInfoServicepage 在接口中 SysSmsInfoServicesysSmsInfoParam - 查询参数Copyright © 2024. All rights reserved.