mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-18 17:48:12 +08:00
feat(work): 新增管理打卡规则相关接口
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"effective_now": true,
|
||||
"group": {
|
||||
"grouptype": 1,
|
||||
"groupname": "打卡规则1",
|
||||
"checkindate": [
|
||||
{
|
||||
"workdays": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"checkintime": [
|
||||
{
|
||||
"time_id": 1,
|
||||
"work_sec": 36000,
|
||||
"off_work_sec": 43200,
|
||||
"remind_work_sec": 35400,
|
||||
"remind_off_work_sec": 43200,
|
||||
"earliest_work_sec": 35000,
|
||||
"latest_work_sec": 37000,
|
||||
"earliest_off_work_sec": 43000,
|
||||
"latest_off_work_sec": 43400
|
||||
}
|
||||
],
|
||||
"flex_on_duty_time": 0,
|
||||
"flex_off_duty_time": 0
|
||||
}
|
||||
],
|
||||
"sync_holidays": true,
|
||||
"need_photo": true,
|
||||
"note_can_use_local_pic": false,
|
||||
"wifimac_infos": [
|
||||
{
|
||||
"wifiname": "Tencent-WiFi-1",
|
||||
"wifimac": "c0:7b:bc:37:f8:d3"
|
||||
}
|
||||
],
|
||||
"allow_checkin_offworkday": true,
|
||||
"allow_apply_offworkday": true,
|
||||
"loc_infos": [
|
||||
{
|
||||
"lat": 30547030,
|
||||
"lng": 104062890,
|
||||
"loc_title": "腾讯成都大厦",
|
||||
"loc_detail": "四川省成都市武侯区高新南区天府三街",
|
||||
"distance": 300
|
||||
}
|
||||
],
|
||||
"range": {
|
||||
"partyid": [],
|
||||
"userid": [
|
||||
"gongjuren",
|
||||
"tester"
|
||||
],
|
||||
"tagid": [
|
||||
2
|
||||
]
|
||||
},
|
||||
"white_users": [
|
||||
"canno"
|
||||
],
|
||||
"type": 0,
|
||||
"reporterinfo": {
|
||||
"reporters": [
|
||||
{
|
||||
"userid": "brant"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ot_info_v2": {
|
||||
"workdayconf": {
|
||||
"allow_ot": true,
|
||||
"type": 0
|
||||
}
|
||||
},
|
||||
"allow_apply_bk_cnt": -1,
|
||||
"option_out_range": 0,
|
||||
"use_face_detect": false,
|
||||
"allow_apply_bk_day_limit": -1,
|
||||
"open_face_live_detect": true,
|
||||
"buka_limit_next_month": -1,
|
||||
"sync_out_checkin": true,
|
||||
"buka_remind": {
|
||||
"open_remind": true,
|
||||
"buka_remind_day": 28,
|
||||
"buka_remind_month": 0
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"groupid": 1,
|
||||
"clear_field": [ 1, 2, 3 ],
|
||||
"effective_now": true
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"groupid": 1,
|
||||
"effective_now": true
|
||||
}
|
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"effective_now": true,
|
||||
"group": {
|
||||
"groupid": 1,
|
||||
"grouptype": 1,
|
||||
"groupname": "打卡规则1",
|
||||
"checkindate": [
|
||||
{
|
||||
"workdays": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"checkintime": [
|
||||
{
|
||||
"time_id": 1,
|
||||
"work_sec": 36000,
|
||||
"off_work_sec": 43200,
|
||||
"remind_work_sec": 35400,
|
||||
"remind_off_work_sec": 43200,
|
||||
"earliest_work_sec": 35000,
|
||||
"latest_work_sec": 37000,
|
||||
"earliest_off_work_sec": 43000,
|
||||
"latest_off_work_sec": 43400
|
||||
}
|
||||
],
|
||||
"flex_on_duty_time": 0,
|
||||
"flex_off_duty_time": 0
|
||||
}
|
||||
],
|
||||
"sync_holidays": true,
|
||||
"need_photo": true,
|
||||
"note_can_use_local_pic": false,
|
||||
"wifimac_infos": [
|
||||
{
|
||||
"wifiname": "Tencent-WiFi-1",
|
||||
"wifimac": "c0:7b:bc:37:f8:d3"
|
||||
}
|
||||
],
|
||||
"allow_checkin_offworkday": true,
|
||||
"allow_apply_offworkday": true,
|
||||
"loc_infos": [
|
||||
{
|
||||
"lat": 30547030,
|
||||
"lng": 104062890,
|
||||
"loc_title": "腾讯成都大厦",
|
||||
"loc_detail": "四川省成都市武侯区高新南区天府三街",
|
||||
"distance": 300
|
||||
}
|
||||
],
|
||||
"range": {
|
||||
"partyid": [],
|
||||
"userid": [
|
||||
"gongjuren",
|
||||
"tester"
|
||||
],
|
||||
"tagid": [
|
||||
2
|
||||
]
|
||||
},
|
||||
"white_users": [
|
||||
"canno"
|
||||
],
|
||||
"type": 0,
|
||||
"reporterinfo": {
|
||||
"reporters": [
|
||||
{
|
||||
"userid": "brant"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ot_info_v2": {
|
||||
"workdayconf": {
|
||||
"allow_ot": true,
|
||||
"type": 0
|
||||
}
|
||||
},
|
||||
"allow_apply_bk_cnt": -1,
|
||||
"option_out_range": 0,
|
||||
"use_face_detect": false,
|
||||
"allow_apply_bk_day_limit": -1,
|
||||
"open_face_live_detect": true,
|
||||
"buka_limit_next_month": -1,
|
||||
"sync_out_checkin": true,
|
||||
"buka_remind": {
|
||||
"open_remind": true,
|
||||
"buka_remind_day": 28,
|
||||
"buka_remind_month": 0
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user