|
@@ -44,6 +44,7 @@ func MyInfo(w http.ResponseWriter, r *http.Request) error {
|
|
|
infoMap["userId"] = gconv.Int(myInfo["base_user_id"])
|
|
|
infoMap["entDeptId"] = gconv.Int(myInfo["dept_id"])
|
|
|
infoMap["phone"] = gconv.String("phone")
|
|
|
+ infoMap["userName"] = gconv.String(myInfo["name"])
|
|
|
} else {
|
|
|
return errors.New("没有查询到数据")
|
|
|
}
|