mall fixes
This commit is contained in:
@@ -19,7 +19,7 @@ var InBody MethodParamOption = func(p *MethodParam) {
|
||||
func Default(defValue interface{}) MethodParamOption {
|
||||
return func(p *MethodParam) {
|
||||
if defValue != nil {
|
||||
p.defValue = fmt.Sprintf("%v", defValue)
|
||||
p.defValue = fmt.Sprint(defValue)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user