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