Browse Source

feat:修改方法参数

wangchuanjin 1 năm trước cách đây
mục cha
commit
e563b37a42
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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)