音频样例配置下发,源文件时长不能超过120s的错误信息提示

This commit is contained in:
shangguanyanfei
2019-04-25 17:29:31 +08:00
committed by duandongmei
parent fdb270e0ff
commit 754d82e9f4

View File

@@ -301,7 +301,8 @@ public class AvController extends BaseController {
addMessage(redirectAttributes, "error", "exceeds_duration_limit");
logger.error("The duration of uploaded files exceeds the limit(" + Constants.AV_DURATION_LIMIT
+ "s).");
throw new MultiPartNewException(this.getMsgProp().getProperty("exceeds_duration_limit"));
throw new MultiPartNewException(this.getMsgProp().getProperty("exceeds_duration_limit")+"("+ Constants.AV_DURATION_LIMIT
+ "s)");
}
}