wangzhibo
2026-10-08 220e4fab27b7f419b3e89e2f2d28ae789aac09d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package xiaozhi.modules.task.dto;
 
import java.util.List;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
@Data
@Schema(description = "xiaozhi-server 请求向设备一次性同步课文 MP3")
public class LessonSyncDTO {
    @Schema(description = "设备 MAC")
    private String macAddress;
 
    @Schema(description = "固件 course_id,仅字母数字_-")
    private String courseId;
 
    @Schema(description = "机构 id,空则 default_org")
    private String orgId;
 
    @Schema(description = "设备可访问的 HTTP 根,含 /lesson-audio/{org}")
    private String baseUrl;
 
    @Schema(description = "SD 相对路径,如 /english_learning/repeater/lessons/l1/001/cn/01.mp3")
    private List<String> files;
}