liuxiaolong
2019-05-06 770c069996e1d2979c1170c1639c18b02d07e72f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { httpGET, httpPOST } from '../common/httpFetch'
 
export const getAttendanceList = body => {
  return httpGET('data/api-d/device/findAttendanceList', {
    body
  })
}
 
/**
 * punchTime  打卡记录时间
 * isUse  是否启用规则
 * startTime  上班时间
 * endTime  下班时间
 * sInputM  迟到时间阈值
 * eInputM  早退时间阈值
 * checked  通知App
 */
 
export const addSet = body => {
  console.log(body)
  return httpPOST('data/api-d/device/add', {
    body
  })
}