feat: 添加视频源管理页,支持修改路径与启用状态 (#369)
This commit is contained in:
@@ -80,3 +80,10 @@ pub struct UpsertSubmissionRequest {
|
||||
pub struct ImageProxyParams {
|
||||
pub url: String,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, ToSchema, Validate)]
|
||||
pub struct UpdateVideoSourceRequest {
|
||||
#[validate(custom(function = "crate::utils::validation::validate_path"))]
|
||||
pub path: String,
|
||||
pub enabled: bool,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user