he2802 1 рік тому
батько
коміт
fcd8f0e917

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/user/service/impl/UserSubscribeServiceImpl.java

@@ -3046,7 +3046,7 @@ public class UserSubscribeServiceImpl extends ServiceImpl<UserSubscribeMapper, U
     @Override
     public void updateStudentImageSpin(UpdateStudentImageBo bo) {
         try {
-            ossService.processObject(bo.getImageUrl(), bo.getImageUrl(), String.format("image/rotate,%s", 180));
+            ossService.processObject(bo.getImageUrl(), bo.getImageUrl(), String.format("image/rotate,%s", bo.getDegree()));
         } catch (Exception e) {
             e.printStackTrace();
             throw new CustomException("修改图片错误!");