Skip to content

Tadelhanataris/jiaowu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

教务系统后端接口

/upload

[POST]

<input type='file' name='name' accept-encoding='utf-8' />

return

{message:'上传成功',code:0}

====

/download

[GET]

/download/aaaa.html
aaaa.html是文件名

return 文件流

====

/filelist

[GET]

return

[{id:{bson},date:Time,filename:String,uuid:String}]

===

/image

[GET]

/image/x
x是uuid

return 文件流

===

/notice

[GET]

return

{id:id,image:image.uuid}

===

notice

[POST]

<input name='title' />
<input name='content' />
<input type='file' name='file' />

return

{message:'创建通知成功',code:0}

===

/notice/view

[GET]

/notice/view/:uid

return

{id:id,date:Time,title:String,content:String}

===

/schedule

[POST]

<input name='classname' />
<input type='file' name='file' />

return

{message:'上传成功',code:0}

===

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages