Ver Fonte

feat:修改方法参数

wangchuanjin há 1 ano atrás
pai
commit
e563b37a42
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      p/struct.go

+ 2 - 0
p/struct.go

@@ -225,6 +225,8 @@ func NewUserInfo(temp map[string]interface{}, tp int) *UserInfo {
 	} else if tp == 1 {
 		obj, _ := temp["o_jy"].(map[string]interface{})
 		ui.GetSubSet(true, ui.Id, obj)
+	} else {
+		ui.SubSet = &SubSet{}
 	}
 	o_pushset, _ := temp["o_pushset"].(map[string]interface{})
 	ui.GetPushSet(o_pushset)