获取朝代列表及信息 websocket测试 GET /calligraphy/dynasty/list 响应参数 参数名 类型 描述 必填 code int 返回状态码 必填 msg string 返回描述 必填 data array 返回数据 必填 title 朝代名称 必填 authers 作者 必填 author_name 作者名称 必填 infomations 作者图片 必填 fonts 字体 必填 infos 朝代图片 必填 color 颜色 必填 说明 / 示例 { "code": 200, "msg": "操作成功", "data": [ { "id": "1", "title": "秦", "sort": "1", "update_time": "1700809090", "color": "rgb(75,135,203)", "authers": [ { "id": "1", "author_name": "李斯", "update_time": "1700809090", "dynasty_id": "1", "infomations": [ "https://alioss.castlearn.com.cn/calligraphy/dynasty/author/2.png", "https://alioss.castlearn.com.cn/calligraphy/dynasty/author/3.png" ] } ], "fonts": [ "篆书" ], "infos": [ "https://alioss.castlearn.com.cn/calligraphy/dynasty/info/1.png" ] } ] }
{ "code": 200, "msg": "操作成功", "data": [ { "id": "1", "title": "秦", "sort": "1", "update_time": "1700809090", "color": "rgb(75,135,203)", "authers": [ { "id": "1", "author_name": "李斯", "update_time": "1700809090", "dynasty_id": "1", "infomations": [ "https://alioss.castlearn.com.cn/calligraphy/dynasty/author/2.png", "https://alioss.castlearn.com.cn/calligraphy/dynasty/author/3.png" ] } ], "fonts": [ "篆书" ], "infos": [ "https://alioss.castlearn.com.cn/calligraphy/dynasty/info/1.png" ] } ] }