wangchuanjin hace 2 años
padre
commit
cf4568140e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      p/struct.go

+ 1 - 1
p/struct.go

@@ -207,7 +207,7 @@ func (u *UserInfo) GetPushSet(obj map[string]interface{}) {
 			MailPush: util.IntAll(subSet["i_mailpush"]),
 			RateMode: util.IntAll(subSet["i_ratemode"]),
 			Times:    util.ObjArrToStringArr(times),
-			Nomsgtip: util.IntAllDef(obj["i_nomsgtip"], 1), //默认开启
+			Nomsgtip: util.IntAllDef(subSet["i_nomsgtip"], 1), //默认开启
 		},
 		WeekReport: &PushSetChild{
 			WxPush:   util.IntAllDef(weekReport["i_wxpush"], 1),