config update

This commit is contained in:
wangjinlei
2024-08-30 14:53:25 +08:00
parent 2e5d8bf24d
commit b71537af77
4 changed files with 7 additions and 4 deletions

View File

@@ -193,7 +193,7 @@ public class CourseController {
Integer videoId = Integer.valueOf(map.get("videoId").toString());
String po = map.get("position").toString();
if(Objects.equals(po, "none")){
if(Objects.equals(po, "none")||po==""){
return R.ok();
}
int position = Integer.valueOf(po);