Simplify SetBodyParams -> SetBody
This commit is contained in:
parent
f490fa9c04
commit
f27a538639
|
@ -173,8 +173,8 @@ func (wf *Workflow) SetURLRawPath(path string) *Workflow {
|
||||||
return wf
|
return wf
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetBodyParams 参数设置
|
// SetBody 参数设置
|
||||||
func (wf *Workflow) SetBodyParams(params ...interface{}) *Workflow {
|
func (wf *Workflow) SetBody(params ...interface{}) *Workflow {
|
||||||
if params != nil {
|
if params != nil {
|
||||||
|
|
||||||
plen := len(params)
|
plen := len(params)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user