package utils import "encoding/json" func MapToJson(param map[string]interface{}) string { jsonStr, _ := json.Marshal(param) return string(jsonStr) }