正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -796,7 +796,7 @@ func (srv StaffAssessServeice) ListTargetUserInviteAssess(param *query.ListTarge | @@ -796,7 +796,7 @@ func (srv StaffAssessServeice) ListTargetUserInviteAssess(param *query.ListTarge | ||
796 | if err := transactionContext.CommitTransaction(); err != nil { | 796 | if err := transactionContext.CommitTransaction(); err != nil { |
797 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 797 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
798 | } | 798 | } |
799 | - var resultList []map[string]interface{} | 799 | + resultList := []map[string]interface{}{} |
800 | for _, v := range assessList { | 800 | for _, v := range assessList { |
801 | item := map[string]interface{}{ | 801 | item := map[string]interface{}{ |
802 | "id": v.Id, | 802 | "id": v.Id, |
-
请 注册 或 登录 后发表评论