yujian
2020-04-28 8db3c8da1693885fb22bbcaee5c3e5278c7eef29
fanli/src/main/java/com/yeshi/fanli/util/wx/WXLoginUtil.java
@@ -103,7 +103,7 @@
            }
            
            FileUploadResult result = COSManager.getInstance().uploadFile(asInputStream,
                  String.format(FilePathEnum.userPortrait.getPath() + "%s_%s.jpg", user.getUnionid(), System.currentTimeMillis() + ""));
                  String.format(FilePathEnum.userWXPortrait.getPath() + "%s_%s.jpg", user.getUnionid(), System.currentTimeMillis() + ""));
            if (result != null && !StringUtil.isNullOrEmpty(result.getUrl())) {
               user.setHeadimgurl(result.getUrl());
               // COS删除其余头像