优化录像下载。 支持八倍速(设备支持的最高速度)下载
This commit is contained in:
@@ -33,6 +33,9 @@ public final class JsonUtil {
|
||||
}
|
||||
|
||||
public static <T> T redisHashJsonToObject(RedisTemplate<Object, Object> redisTemplate, String key, String objKey, Class<T> clazz) {
|
||||
// if (key == null || objKey == null) {
|
||||
// return null;
|
||||
// }
|
||||
Object jsonObject = redisTemplate.opsForHash().get(key, objKey);
|
||||
if (Objects.isNull(jsonObject)) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user