# web-design-interface
**Repository Path**: web-design-hncj/web-design-interface
## Basic Information
- **Project Name**: web-design-interface
- **Description**: 网站设计比赛后端应用
- **Primary Language**: Java
- **License**: GPL-3.0
- **Default Branch**: dev
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2020-11-29
- **Last Updated**: 2024-03-22
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# web-design
网站设计比赛代码 - 后端接口
[TOC]
# 用户
### 用户添加
| 功能 | 用户添加 |
| :----- | ------------------------------------------------------------ |
| url | http://120.26.163.105/interface/insertUser |
| method | GET、POST |
| args | userCount(用户账号)
userName(用户名)
passwd(用户密码) |
### 删除
| 功能 | 用户删除 |
| :----- | ------------------------------------------ |
| url | http://120.26.163.105/interface/deleteUser |
| method | GET、POST |
| args | userCount(用户账号) |
# 节日
### 查询节日
| 功能 | 查询节日 |
| :----- | ------------------------------------------------------------ |
| url | http://120.26.163.105/interface/selectHolidays |
| method | GET |
| args | type:r \| null(请求类型)
length(type=r时有用,数据量) |
### 节日添加
| 功能 | 用户登录 |
| :----- | ------------------------------------------------------------ |
| url | http://120.26.163.105/interface/insertHoliday |
| method | GET、POST |
| args | holidayName(节日名称)
holidayDate(节日日期)
holidayReason(节日由来) |
### 节日删除
| 功能 | 节日删除 |
| :----- | --------------------------------------------- |
| url | http://120.26.163.105/interface/deleteHoliday |
| method | GET、POST |
| args | holidayId(节日Id) |
# 知识
### 知识查询
| 功能 | 知识查询 |
| :----- | ------------------------------------------------------------ |
| url | http://120.26.163.105/interface/selectAllKnowledge |
| method | GET |
| args | type: r \| null (查询方式)
length(type=r时有用,控制数据量) |
### 知识添加
| 功能 | 知识添加 |
| :----- | ------------------------------------------------------- |
| url | http://120.26.163.105/interface/insertKnowledge |
| method | GET、POST |
| args | knowledgeName(知识名称)
knowledgeUrl(知识链接) |
### 知识删除
| 功能 | 知识删除 |
| :----- | ----------------------------------------------- |
| url | http://120.26.163.105/interface/deleteKnowledge |
| method | GET、POST |
| args | knowledgeId(知识Id) |
# 法律
### 法律查询
| 功能 | 法律查询 |
| :----- | ------------------------------------------------------------ |
| url | http://120.26.163.105/interface/selectAllLaw |
| method | GET |
| args | type:r \| null(查询方式)
length(type=r时有用,控制数据量) |
### 法律添加
| 功能 | 法律添加 |
| :----- | ------------------------------------------- |
| host | http://120.26.163.105/interface/insertLaw |
| method | GET、POST |
| args | lawName(法律名称)
lawUrl(法律链接) |
### 法律删除
| 功能 | 法律删除 |
| :----- | ----------------------------------------- |
| host | http://120.26.163.105/interface/deleteLaw |
| method | GET、POST |
| args | lawId(法律Id) |
# 新闻
### 新闻查询
| 功能 | 新闻查询 |
| :----- | ------------------------------------------------------------ |
| host | http://120.26.163.105/interface/selectNews |
| method | GET |
| args | type:r \| null(查询方式)
length(type=r时有用,控制数据量) |
### 新闻添加
| 功能 | 新闻添加 |
| :----- | ------------------------------------------------------------ |
| host | http://120.26.163.105/interface/insertNews |
| method | GET、POST |
| args | newsName(新闻标题、可无)
newsFace(新闻封面、可无)
newsDate(新闻发布日期、可无)
newsFrom(新闻发布机构名称、可无)
newsUrl(此新闻链接、可无)
newsAgencyUrl(新闻发布机构链接、可无) |
### 新闻删除
| 功能 | 新闻删除 |
| :----- | ------------------------------------------ |
| host | http://120.26.163.105/interface/deleteNews |
| method | GET、POST |
| args | newsId(新闻Id) |
# 视频
### 视频查询
| 功能 | 视频查询 |
| :----- | ------------------------------------------------------------ |
| host | http://120.26.163.105/interface/selectAllVideo |
| method | GET |
| args | type:r \| null (查询方式)
length(type=r时有用,控制数据量) |
### 视频添加
| 功能 | 视频添加 |
| :----- | ----------------------------------------------- |
| host | http://120.26.163.105/interface/insertVideo |
| method | GET、POST |
| args | videoName(视频名称)
videoUrl(视频链接) |
### 视频删除
| 功能 | 视频删除 |
| :----- | ------------------------------------------- |
| host | http://120.26.163.105/interface/deleteVideo |
| method | GET、POST |
| args | videoId(视频Id) |
### 视频更新
| 功能 | 视频更新 |
| :----- | ------------------------------------------------------------ |
| host | http://120.26.163.105/interface/updateVideo |
| method | GET、POST |
| args | videoId(视频Id)
videoName(视频名称)
videoUrl(视频链接) |
# 监测数据
### 获取监测数据
| 功能 | 获取监测数据 |
| :----- | --------------------------------------- |
| host | http://120.26.163.105/interface/getData |
| method | GET |
| args | 无 |