|
@@ -198,12 +198,11 @@ func (u *UserInfo) GetPushSet(obj map[string]interface{}) {
|
|
|
entInfo, _ := obj["o_entinfo"].(map[string]interface{})
|
|
|
followProject, _ := obj["o_follow_project"].(map[string]interface{})
|
|
|
followEnt, _ := obj["o_follow_ent"].(map[string]interface{})
|
|
|
-
|
|
|
u.PushSet = &PushSet{
|
|
|
Email: strings.TrimSpace(util.ObjToString(obj["s_email"])),
|
|
|
SubSet: &PushSetChild{
|
|
|
WxPush: util.IntAllDef(subSet["i_wxpush"], 1),
|
|
|
- AppPush: util.IntAllDef(subSet["i_apppush"], 1),
|
|
|
+ AppPush: util.IntAllDef(subSet["i_apppush"], 0),
|
|
|
MailPush: util.IntAll(subSet["i_mailpush"]),
|
|
|
RateMode: util.IntAll(subSet["i_ratemode"]),
|
|
|
Times: util.ObjArrToStringArr(times),
|