mirror of
https://github.com/astaxie/beego.git
synced 2025-07-06 16:30:18 +00:00
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