list2
This commit is contained in:
parent
f05158e5bd
commit
b685c0e234
|
@ -11,6 +11,10 @@
|
||||||
{
|
{
|
||||||
"name": "公积金扣除",
|
"name": "公积金扣除",
|
||||||
"key": "house_deduct"
|
"key": "house_deduct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "绩效目标",
|
||||||
|
"key": "perft_target"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue