Skip to content

Commit 18420db

Browse files
committed
fix: api proto list req lack params
1 parent 9872443 commit 18420db

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

api/gogen/proto/gen.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,7 @@ func GenApiData(ctx *GenLogicByProtoContext, p *parser.Proto) (string, error) {
436436
jsonTag,
437437
optionalStr)
438438

439-
if protox.ProtoField.Type == "string" {
440-
listData.WriteString(structData)
441-
}
439+
listData.WriteString(structData)
442440
}
443441
}
444442
}

0 commit comments

Comments
 (0)