staff extra2
This commit is contained in:
parent
e4f39d38cf
commit
10492bab9f
|
@ -69,6 +69,7 @@ func (h *AppHr) GetStaffInfo(userId string) (*StaffInfo, error) {
|
||||||
log.Errorf("GetUserInfo error:%s", err.Error())
|
log.Errorf("GetUserInfo error:%s", err.Error())
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
staff.Extra = make(map[string]string)
|
||||||
for k, v := range fieldMap {
|
for k, v := range fieldMap {
|
||||||
staff.Extra[k] = h.getFieldValue(v)
|
staff.Extra[k] = h.getFieldValue(v)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue