Browse Source

应用软件推送bug

bmmx 1 năm trước cách đây
mục cha
commit
939be005e6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/main/java/com/om/service/impl/AppsServiceImpl.java

+ 1 - 1
src/main/java/com/om/service/impl/AppsServiceImpl.java

@@ -121,7 +121,7 @@ public class AppsServiceImpl extends ServiceImpl<AppsMapper, Apps> implements IA
         AppInfo appInfo = new AppInfo();
         appInfo.setFileName(apps.getFileName());
         appInfo.setVersion(apps.getVersion());
-        appInfo.setFileSize((long) (Double.valueOf(apps.getFileName())*1024*1024));
+        appInfo.setFileSize((long) (Double.valueOf(apps.getFileSize())*1024*1024));
         appInfo.setUrl(apps.getSavePath());
 
         List<Describe> describeList = new ArrayList<>();