...
|
...
|
@@ -115,7 +115,7 @@ func (c *StaffAssessController) GetAssessMeInviteUser() { |
|
|
c.Response(data, err)
|
|
|
}
|
|
|
|
|
|
// 保持我邀请的员工
|
|
|
// 保存我邀请的员工
|
|
|
func (c *StaffAssessController) SaveAssessMeInviteUser() {
|
|
|
srv := service.NewStaffAssessServeice()
|
|
|
paramReq := &command.SaveAssessInvite{}
|
...
|
...
|
@@ -128,6 +128,8 @@ func (c *StaffAssessController) SaveAssessMeInviteUser() { |
|
|
//TODO 获取当前用户信息
|
|
|
// paramReq.CompanyId = 1
|
|
|
// paramReq.UserId = 1
|
|
|
userReq := middlewares.GetUser(c.Ctx)
|
|
|
paramReq.TargetUserId = int(userReq.UserId)
|
|
|
data, err := srv.SaveAssessInviteUser(paramReq)
|
|
|
c.Response(data, err)
|
|
|
}
|
...
|
...
|
|