package data type CopyChapter struct { Id int `json:"id"` //序号(ID) ChapterId int `json:"chapter_id"` //章节 SectionId int `json:"section_id"` //关卡 SceneId int `json:"scene_id"` //场景id UnlockType []int `json:"unlock_type"` //解锁类型 UnlockArg []int `json:"unlock_arg"` //解锁参数 } func (data *CopyChapter) id() int { return data.Id } type CopyChapterTable struct { table[int, *CopyChapter] }