// 字典、公共接口
|
|
import {
|
httpGET, httpPOST
|
} from './common/httpFetch'
|
|
/**
|
* @description 获取模版类型 数据字典
|
* @param { obj } params 参数对象
|
* @param { string } type 模版类型 默认值 TEMPLATE
|
*/
|
export const getTemplateTypes = body => {
|
return httpGET('data/api-u/dict/getSysDictByType', {
|
body
|
})
|
}
|
|
/**
|
* @description 获取学区下的所有学校
|
* @param { string } currentId 登陆人学区id(orgId)
|
*/
|
export const getDistrictAllSchoolById = body => {
|
return httpGET('data/api-u/org/findCheckSchool', {
|
body
|
})
|
}
|
/**
|
* @description 查询文件信息
|
* @param { string } fileIds 文件id
|
*/
|
export const findByIds = body => {
|
return httpPOST('data/api-f/files/findByIds', {
|
body,
|
header: {
|
'Content-Type': 'application/x-www-form-urlencoded'
|
}
|
})
|
}
|