mosys
mosys
这个脚本就有问题,你吧这个脚本挂后台运行就好了。 
> > > 这个脚本就有问题,你吧这个脚本挂后台运行就好了。  > > > > > > 感谢指导,看方法实测r5s也可用 > > 请问你们的风扇都是怎么装的? USB 还是? 这个脚本该固件通用,记得把问题 close 掉吧
也遇见了相同问题,在 Redis Hash 结构中,对存储 Java List 类型数据进行解析的时候出现该异常。 测试案例如下,将 RedisTemplate value 的序列化方式修改为 Fastjson2 ```java public void setSerializer(RedisTemplate redisTemplate) { GenericFastJsonRedisSerializer fastJsonRedisSerializer = new GenericFastJsonRedisSerializer(); // 设置键(key)的序列化方式 redisTemplate.setHashKeySerializer(new StringRedisSerializer()); redisTemplate.setKeySerializer(new StringRedisSerializer()); //...
> @Mosys您可以很好地使用FastJsonRedisSerializer 来解决您的问题 > > ```java > FastJsonRedisSerializer serializer = new FastJsonRedisSerializer(List.class); > FastJsonConfig config = new FastJsonConfig(); > config.setReaderFeatures(JSONReader.Feature.SupportAutoType); > config.setWriterFeatures(JSONWriter.Feature.WriteClassName); > serializer.setFastJsonConfig(config); > ``` 使用该方式可以临时解决该类型无法转换的问题。
> 这个脚本就有问题,你吧这个脚本挂后台运行就好了。  1. 进入 /etc/init.d 查看是否有 fa-fancontrol 或者 pwm-fan 等包含fan字段的脚本,如果有选中删除。 2. 分别执行如下命令,逐行copy到命令行后回车即可; ```bash touch /etc/init.d/pwm-fan chmod 777 /etc/init.d/pwm-fan touch /usr/bin/pwm-fan.sh chmod 777 /usr/bin/pwm-fan.sh ``` 3. 将以下内容完整 copy 到 /usr/bin/pwm-fan.sh...