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

This commit is contained in:
shangguanyanfei
2019-04-25 17:29:31 +08:00
parent 65d3f5013f
commit 724eeef0f5

View File

@@ -302,7 +302,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)");
}
}