| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import org.springblade.common.utils.SmsUtils; |
| | | import org.springblade.core.log.exception.ServiceException; |
| | | import org.springblade.core.mp.base.BaseServiceImpl; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | |
| | | import org.springblade.modules.resource.entity.Sms; |
| | | import org.springblade.modules.resource.mapper.SmsMapper; |
| | | import org.springblade.modules.resource.service.ISmsService; |
| | | import org.springblade.modules.resource.utils.SmsUtil; |
| | | import org.springblade.modules.resource.vo.SmsVO; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 短信配置表 服务实现类 |
| | |
| | | return temp1 && temp2; |
| | | } |
| | | |
| | | @Override |
| | | public boolean smsSend(String phone, String type) { |
| | | Map<String, String> params = SmsUtil.getValidateParams(); |
| | | SmsUtils.send(phone, params); |
| | | return true; |
| | | } |
| | | } |