WANG 6 سال پیش
والد
کامیت
19ec4da9c3

+ 2 - 2
examcloud-core-basic-api-provider/src/main/java/cn/com/qmth/examcloud/core/basic/api/controller/CourseController.java

@@ -282,8 +282,8 @@ public class CourseController extends ControllerSupport {
 		if (StringUtils.isBlank(name)) {
 			throw new StatusException("B-620002", "课程名称不能为空");
 		}
-		if (name.length() > 20) {
-			throw new StatusException("B-620003", "课程名称不能超过20个字符");
+		if (name.length() > 50) {
+			throw new StatusException("B-620003", "课程名称不能超过50个字符");
 		}
 		CourseEntity course = courseRepo.findByRootOrgIdAndCode(rootOrgId, code);
 		if (null != course) {