...
|
...
|
@@ -88,12 +88,12 @@ func (unifiedUserCenterService *UnifiedUserCenterService) SyncEmployeeCallback(s |
|
|
uids = append(uids, int64(uid.(float64)))
|
|
|
}
|
|
|
}
|
|
|
if value, ok := data["add"]; ok {
|
|
|
if value, ok := data["add"]; ok { // 添加员工
|
|
|
for _, addEmployee := range value.([]interface{}) {
|
|
|
addEmployees = append(addEmployees, addEmployee.(map[string]interface{}))
|
|
|
}
|
|
|
}
|
|
|
if value, ok := data["edit"]; ok {
|
|
|
if value, ok := data["edit"]; ok { // 编辑员工
|
|
|
for _, editEmployee := range value.([]interface{}) {
|
|
|
editEmployees = append(editEmployees, editEmployee.(map[string]interface{}))
|
|
|
}
|
...
|
...
|
|