diff --git a/conf/corp/1002.json b/conf/corp/1002.json index 79a6913..a4426d5 100644 --- a/conf/corp/1002.json +++ b/conf/corp/1002.json @@ -11,6 +11,10 @@ { "name": "公积金扣除", "key": "house_deduct" + }, + { + "name": "绩效目标", + "key": "perft_target" } ] } diff --git a/server/controller/staff.go b/server/controller/staff.go index 9587a1f..8b5a9ab 100644 --- a/server/controller/staff.go +++ b/server/controller/staff.go @@ -37,7 +37,7 @@ func (s *Staff) Suggest(ctx *gin.Context) { mp := make(map[string]interface{}) mp["userid"] = cast.ToString(st.Id) mp["username"] = cast.ToString(st.Username) - mp["realnae"] = cast.ToString(st.Realname) + mp["realname"] = cast.ToString(st.Realname) items = append(items, mp) } ctx.JSON(http.StatusOK, session.NewRsp(items))