Skip to content

讲义api #42

@qcl006007

Description

@qcl006007

Teaching (讲义):
讲义题目 title: {
type : String,
},
讲义内容 content: {
type : String,
},
讲义分类(需要协商, 用数字还是字符串)
category: {
type : Number,
},
createAt: {
type : Date,
},
updateAt: {
type : Date,
},

APIS:
/api/v1/saveteaching POST
Post body:
{
title: string
content: string
}

/api/v1/teachings?category="" 分类标识 (字符串还是数字)
返回的内容(类似题解的list)

[
{title: 'hello', content: 'zhe shi shui', createAt: 日期的字符串}
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions