Commit 92549976 by 1808837298@qq.com

fix panic

parent 31f79468
......@@ -34,7 +34,7 @@ type Channel struct {
}
func (channel *Channel) GetOtherInfo() map[string]interface{} {
var otherInfo map[string]interface{}
otherInfo := make(map[string]interface{})
if channel.OtherInfo != "" {
err := json.Unmarshal([]byte(channel.OtherInfo), &otherInfo)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment