Ver código fonte

fix:积分兑换佣金

ct 9 horas atrás
pai
commit
72155cda0a

+ 4 - 0
fs-service/src/main/java/com/fs/course/vo/FsUserCourseVideoQVO.java

@@ -105,4 +105,8 @@ public class FsUserCourseVideoQVO extends BaseEntity {
 
     // 是否上架 0:上架,1:下架
     private Integer isOnPut;
+    /**
+     * 0横屏 1竖屏(默认0)
+     */
+    private Integer screenType;
 }

+ 1 - 1
fs-service/src/main/java/com/fs/his/service/impl/FsUserServiceImpl.java

@@ -1816,7 +1816,7 @@ public class FsUserServiceImpl implements IFsUserService {
         AppConfig config = JSONUtil.toBean(json, AppConfig.class);
         BigDecimal withdrawRatio = BigDecimal.valueOf(1000);
         if (config != null && config.getWithdrawRatio()!=null) {
-            withdrawRatio = BigDecimal.valueOf(config.getIsOpenWithdraw());
+            withdrawRatio = BigDecimal.valueOf(config.getWithdrawRatio());
         }
         vo.setWithdrawCash(new BigDecimal(vo.getWithdrawIntegral()).divide(withdrawRatio,2,RoundingMode.DOWN));
         return R.ok().put("data", vo);