From 10492bab9fd71610836431bf639dcabdb859239d Mon Sep 17 00:00:00 2001 From: jiangyong27 Date: Mon, 4 Nov 2024 18:13:17 +0800 Subject: [PATCH] staff extra2 --- qyweixin/app_hr.go | 1 + 1 file changed, 1 insertion(+) diff --git a/qyweixin/app_hr.go b/qyweixin/app_hr.go index 0ecf2df..c49744b 100644 --- a/qyweixin/app_hr.go +++ b/qyweixin/app_hr.go @@ -69,6 +69,7 @@ func (h *AppHr) GetStaffInfo(userId string) (*StaffInfo, error) { log.Errorf("GetUserInfo error:%s", err.Error()) return nil, err } + staff.Extra = make(map[string]string) for k, v := range fieldMap { staff.Extra[k] = h.getFieldValue(v) }