add nil check
This commit is contained in:
parent
8d9d57803e
commit
f623894d7a
|
@ -211,7 +211,10 @@ func (b *Builder) parseRequestParams() error {
|
|||
dst[i] = *(fieldValue[i])
|
||||
}
|
||||
}
|
||||
requestParams[tagKey] = strings.Join(dst, ",")
|
||||
if len(dst) != 0 {
|
||||
requestParams[tagKey] = strings.Join(dst, ",")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue