Skip to content

Commit

Permalink
Merge pull request #169 from karldoenitz/feature-v2.0.2
Browse files Browse the repository at this point in the history
bug fix #141
  • Loading branch information
karldoenitz authored Dec 13, 2024
2 parents 3f675bb + 1288279 commit 683e90d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ func (jsonParam *ReqParams) ToString() string {
return "true"
}
return "false"
default:
return fmt.Sprintf("%v", jsonParam.Value)
}
logger.Warning.Println("format to string failed")
return ""
}

// ToBool 将json中的参数值转换为bool
Expand Down

0 comments on commit 683e90d

Please sign in to comment.