作者 tangxvhui

修正 json中的 list null值

@@ -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,