update sms 3.1.0 => 3.1.1

This commit is contained in:
AprilWind
2024-01-18 10:52:47 +08:00
parent a6932f8c0a
commit b0046a2cac
3 changed files with 38 additions and 1 deletions

View File

@@ -48,6 +48,19 @@ public class PlusSmsDao implements SmsDao {
return RedisUtils.getCacheObject(GlobalConstants.GLOBAL_REDIS_KEY + key);
}
/**
* remove
* <p> 根据key移除缓存
*
* @param key 缓存键
* @return 被删除的value
* @author :Wind
*/
@Override
public Object remove(String key) {
return RedisUtils.deleteObject(GlobalConstants.GLOBAL_REDIS_KEY + key);
}
/**
* 清空
*/