|
@@ -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("修改图片错误!");
|