winter hace 1 año
padre
commit
edd6b46a77
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      suimangCApi/src/main/java/com/iformall/controller/VoiceMouldController.java
  2. +1
    -1
      suimangService/src/main/java/com/iformall/service/sm/impl/VoiceInfoServiceImpl.java

+ 1
- 1
suimangCApi/src/main/java/com/iformall/controller/VoiceMouldController.java Ver fichero

@@ -209,7 +209,7 @@ public class VoiceMouldController extends BaseController {
Integer paidCount = productOrderService.findPaidCount(po); Integer paidCount = productOrderService.findPaidCount(po);
if (null == paidCount || paidCount <= 0 ) { if (null == paidCount || paidCount <= 0 ) {
if (time > 60) { if (time > 60) {
return new ResultData(ErrorCode.MEMBER_NO_POINTS.getCode(),"视频最大时长为60秒,当前时长为"+time+"秒","video max times is 60 seconds. current is"+time+" seconds");
return new ResultData(Result.ERROR,"视频最大时长为60秒,当前时长为"+time+"秒","video max times is 60 seconds. current is"+time+" seconds");
} }
} }
return new ResultData(pv); return new ResultData(pv);


+ 1
- 1
suimangService/src/main/java/com/iformall/service/sm/impl/VoiceInfoServiceImpl.java Ver fichero

@@ -128,7 +128,7 @@ public class VoiceInfoServiceImpl implements VoiceInfoService {
vo.setUrl(result.getUrl()); vo.setUrl(result.getUrl());
return vo; return vo;
} }
throw new BizException(ErrorCode.MEMBER_NO_POINTS.getCode(), result.getMsg());
throw new BizException(ErrorCode.SYS_SERVER_ERROR.getCode(), result.getMsg());
} }


} }

Cargando…
Cancelar
Guardar