💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 发布作业 ```json { "result": [{ "title": "2018年6月12日", "content": "下面是今天的作业,请各位同学认真完成。也请个人家长认真督促。", "img": "1,2,3", "read_record": "1" }, { "title": "英语", "content": "背诵第二单元的单词,明天默写", "img": "4,5,6" }, { "title": "生物", "content": "明天带一条小鱼来", "img": "7,8,9" }] } ``` | 字段 | 描述 | | --- | --- | | title | 置顶帖标题 | | content | 置顶帖内容 | | img | 图片ID列表(通过上传图片接口返回的ID) | | read_record | 是否开启强制已读回复,值:0或1 | ~~~[api] post:/api/article/add *string:result#作业数据 <<< success { "code": 1, "msg": "发布成功", "result": { "user_id": 1, "class_id": 1, "title": "作业标题", "content": "下面是今天的作业,请各位同学认真完成。也请个人家长认真督促。", "top_start": "2000-01-01 00:00:00", "top_end": "2000-01-01 00:00:00", "create_time": "2018-06-12 17:37:07", "update_time": "2018-06-12 17:37:07", "id": "3" } } <<< error { "code": 0, "msg": "班级不存在" } <<< error { "code": 0, "msg": "您不是本班班主任" } ~~~