Jianghan 1 rok temu
rodzic
commit
c16f601520
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      api/internal/service/owner.go

+ 1 - 1
api/internal/service/owner.go

@@ -610,7 +610,7 @@ func ProcessingStatusInit(positionId int64, dataMap *map[string]map[string]inter
 		"type":        1,
 		"position id": positionId,
 	}, "relate_id,is_handle,is_ignore,is_create", "", -1, -1)
-	if len(*processingArr) > 0 {
+	if processingArr != nil && len(*processingArr) > 0 {
 		for _, v := range *processingArr {
 			entId := gconv.String(v["relate_id"])
 			handle := gconv.Int64(v["is_handle"])