音频样例配置下发,源文件时长不能超过120s的错误信息提示
This commit is contained in:
committed by
duandongmei
parent
fdb270e0ff
commit
754d82e9f4
@@ -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)");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user