This commit is contained in:
jiangyong27 2025-03-14 14:53:05 +08:00
parent f05158e5bd
commit b685c0e234
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,10 @@
{ {
"name": "公积金扣除", "name": "公积金扣除",
"key": "house_deduct" "key": "house_deduct"
},
{
"name": "绩效目标",
"key": "perft_target"
} }
] ]
} }

View File

@ -37,7 +37,7 @@ func (s *Staff) Suggest(ctx *gin.Context) {
mp := make(map[string]interface{}) mp := make(map[string]interface{})
mp["userid"] = cast.ToString(st.Id) mp["userid"] = cast.ToString(st.Id)
mp["username"] = cast.ToString(st.Username) mp["username"] = cast.ToString(st.Username)
mp["realnae"] = cast.ToString(st.Realname) mp["realname"] = cast.ToString(st.Realname)
items = append(items, mp) items = append(items, mp)
} }
ctx.JSON(http.StatusOK, session.NewRsp(items)) ctx.JSON(http.StatusOK, session.NewRsp(items))