From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComStreetServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComStreetServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComStreetServiceImpl.java index 96b920d..6041455 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComStreetServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComStreetServiceImpl.java @@ -332,15 +332,15 @@ screenStatics.setDayUser(wxDataUtil.getDayUser()); }else { Object obj = stringRedisTemplate.opsForValue().get("WxDataUtil_Day"); - screenStatics.setDayUser((Integer)obj); + screenStatics.setDayUser(Integer.valueOf((String)obj)); } //月 活跃 if(null != wxDataUtil.getMonthUser()){ stringRedisTemplate.opsForValue().set("WxDataUtil_Month",String.valueOf(wxDataUtil.getMonthUser())); screenStatics.setCountUser(wxDataUtil.getMonthUser()); }else { - Object obj = stringRedisTemplate.opsForValue().get("WxDataUtil_Day"); - screenStatics.setCountUser((Integer) obj); + Object obj = stringRedisTemplate.opsForValue().get("WxDataUtil_Month"); + screenStatics.setCountUser(Integer.valueOf((String)obj)); } return R.ok(screenStatics); } -- Gitblit v1.7.1