Procházet zdrojové kódy

feat:修改方法名

wangchuanjin před 1 rokem
rodič
revize
4fae6fc965
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      p/struct.go

+ 2 - 2
p/struct.go

@@ -102,7 +102,7 @@ type PushSet struct {
 	FollowEnt          *PushSetChild //企业情报监控-企业中标动态推送设置
 }
 
-func (p *PushSet) ResetSubSet() {
+func (p *PushSet) Reset() {
 	if p.SubSet == nil {
 		return
 	}
@@ -329,7 +329,7 @@ func (u *UserInfo) GetPushSet(obj map[string]interface{}) {
 			Times:    util.ObjArrToStringArr(followEnt_times),
 		},
 	}
-	u.PushSet.ResetSubSet()
+	u.PushSet.Reset()
 }
 
 // 解析用户的推送设置