SysSmsService.java 697 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * Copyright (c) 2018 Toby All rights reserved.
  3. *
  4. * https://www.scjydz.com
  5. *
  6. * 版权所有,侵权必究!
  7. */
  8. package com.wjp.modules.message.service;
  9. import com.wjp.common.service.CrudService;
  10. import com.wjp.modules.message.dto.SysSmsDTO;
  11. import com.wjp.modules.message.entity.SysSmsEntity;
  12. /**
  13. * 短信
  14. *
  15. * @author Toby javatangbin@163.com
  16. */
  17. public interface SysSmsService extends CrudService<SysSmsEntity, SysSmsDTO> {
  18. /**
  19. * 发送短信
  20. * @param smsCode 短信编码
  21. * @param mobile 手机号
  22. * @param params 短信参数
  23. */
  24. void send(String smsCode, String mobile, String params);
  25. SysSmsEntity getBySmsCode(String smsCode);
  26. }