mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-10 20:04:06 +08:00
added: 禁止拖拽播放配置
This commit is contained in:
parent
ac809ff3bb
commit
2ad4105ea7
@ -154,6 +154,15 @@ public class AppConfigCheck implements ApplicationRunner {
|
||||
setKeyValue("1");
|
||||
}
|
||||
},
|
||||
new AppConfig() {
|
||||
{
|
||||
setName("禁止拖拽播放");
|
||||
setSort(60);
|
||||
setFieldType(BackendConstant.APP_CONFIG_FIELD_TYPE_SWITCH);
|
||||
setKeyName("player.disabled_drag");
|
||||
setKeyValue("0");
|
||||
}
|
||||
},
|
||||
});
|
||||
put(
|
||||
"学员配置",
|
||||
|
@ -61,6 +61,7 @@ public class SystemController {
|
||||
data.put("player-bullet-secret-text", configs.get("player.bullet_secret_text"));
|
||||
data.put("player-bullet-secret-color", configs.get("player.bullet_secret_color"));
|
||||
data.put("player-bullet-secret-opacity", configs.get("player.bullet_secret_opacity"));
|
||||
data.put("player-disabled-drag", configs.get("player.disabled_drag"));
|
||||
|
||||
return JsonResponse.data(data);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user