feat: add pricing page

This commit is contained in:
CaIon
2024-05-13 23:02:35 +08:00
parent 21839ed13b
commit 5715fcf8fb
16 changed files with 481 additions and 68 deletions

View File

@@ -250,3 +250,11 @@ func MapToJsonStr(m map[string]interface{}) string {
}
return string(bytes)
}
func MapToJsonStrFloat(m map[string]float64) string {
bytes, err := json.Marshal(m)
if err != nil {
return ""
}
return string(bytes)
}