liuxiaolong
2019-05-06 acc45d2ece02563964d7b8a22ff0c40bd8358889
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// 字典、公共接口
 
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'
    }
  })
}