|
@@ -140,7 +140,7 @@ public class CourseCloudServiceProvider implements CourseCloudService {
|
|
|
for (Long cur : courseIdList) {
|
|
|
CourseEntity c = GlobalHelper.getEntity(courseRepo, cur, CourseEntity.class);
|
|
|
if (null == c) {
|
|
|
- throw new StatusException("160001", "no course [id=" + cur + "]");
|
|
|
+ throw new StatusException("160001", "课程不存在!" + cur);
|
|
|
}
|
|
|
CourseBean courseBean = new CourseBean();
|
|
|
courseBean.setId(c.getId());
|