You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
156 lines
4.0 KiB
156 lines
4.0 KiB
// 健康上报api
|
|
import service from '@/utils/request'
|
|
|
|
// @Tags api
|
|
// @Summary 获取文档栏目分类 不分页
|
|
// @Security ApiKeyAuth
|
|
// @accept application/json
|
|
// @Produce application/json
|
|
// @Param data body modelInterface.PageInfo true "分页获取用户列表"
|
|
// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}"
|
|
// @Router /api/getApiList [post]
|
|
// {
|
|
// page int
|
|
// pageSize int
|
|
// }
|
|
export const archivetypelist = (data) => {
|
|
return service({
|
|
url: 'archive/archivetypelist',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// @Tags api
|
|
// @Summary 新建栏目
|
|
// @Security ApiKeyAuth
|
|
// @accept application/json
|
|
// @Produce application/json
|
|
// @Param data body modelInterface.PageInfo true "分页获取用户列表"
|
|
// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}"
|
|
// @Router /api/getApiList [post]
|
|
// {
|
|
// page int
|
|
// pageSize int
|
|
// }
|
|
export const addarchivetype = (data) => {
|
|
return service({
|
|
url: '/archive/addarchivetype',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// @Tags api
|
|
// @Summary 获取单个栏目详细信息
|
|
// @Security ApiKeyAuth
|
|
// @accept application/json
|
|
// @Produce application/json
|
|
// @Param data body modelInterface.PageInfo true "分页获取用户列表"
|
|
// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}"
|
|
// @Router /api/getApiList [post]
|
|
// {
|
|
// page int
|
|
// pageSize int
|
|
// }
|
|
export const getarchiveinfo = (data) => {
|
|
return service({
|
|
url: '/archive/getarchiveinfo',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// @Tags api
|
|
// @Summary 改变栏目状态
|
|
// @Security ApiKeyAuth
|
|
// @accept application/json
|
|
// @Produce application/json
|
|
// @Param data body modelInterface.PageInfo true "分页获取用户列表"
|
|
// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}"
|
|
// @Router /api/getApiList [post]
|
|
// {
|
|
// page int
|
|
// pageSize int
|
|
// }
|
|
export const eitearchivestate = (data) => {
|
|
return service({
|
|
url: '/archive/eitearchivestate',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// @Tags api
|
|
// @Summary 修改栏目信息
|
|
// @Security ApiKeyAuth
|
|
// @accept application/json
|
|
// @Produce application/json
|
|
// @Param data body modelInterface.PageInfo true "分页获取用户列表"
|
|
// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}"
|
|
// @Router /api/getApiList [post]
|
|
// {
|
|
// page int
|
|
// pageSize int
|
|
// }
|
|
export const eitearchiveinfo = (data) => {
|
|
return service({
|
|
url: '/archive/eitearchiveinfo',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// @Tags api
|
|
// @Summary 添加被通知人信息
|
|
// @Security ApiKeyAuth
|
|
// @accept application/json
|
|
// @Produce application/json
|
|
// @Param data body modelInterface.PageInfo true "分页获取用户列表"
|
|
// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}"
|
|
// @Router /api/getApiList [post]
|
|
// {
|
|
// page int
|
|
// pageSize int
|
|
// }
|
|
export const addnoticeuser = (data) => {
|
|
return service({
|
|
url: '/wechathealth/addnoticeuser',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// @Tags api
|
|
// @Summary 修改被通知人信息
|
|
// @Security ApiKeyAuth
|
|
// @accept application/json
|
|
// @Produce application/json
|
|
// @Param data body modelInterface.PageInfo true "分页获取用户列表"
|
|
// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}"
|
|
// @Router /api/getApiList [post]
|
|
// {
|
|
// page int
|
|
// pageSize int
|
|
// }
|
|
export const eitenoticeuser = (data) => {
|
|
return service({
|
|
url: '/wechathealth/eitenoticeuser',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// @Tags api
|
|
// @Summary 删除被通知人信息
|
|
// @Security ApiKeyAuth
|
|
// @accept application/json
|
|
// @Produce application/json
|
|
// @Param data body modelInterface.PageInfo true "分页获取用户列表"
|
|
// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}"
|
|
// @Router /api/getApiList [post]
|
|
// {
|
|
// page int
|
|
// pageSize int
|
|
// }
|
|
export const delnoticeuser = (data) => {
|
|
return service({
|
|
url: '/wechathealth/delnoticeuser',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
|