需求 屏蔽铁匠铺任务红点
This commit is contained in:
parent
3f26279a89
commit
be4b752590
@ -71,16 +71,16 @@ func (this *modelTask) updateTaskRecord(uid string, taskId int32) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// 红点检测
|
||||
// 红点检测 2023/9/25需求 屏蔽铁匠铺任务红点
|
||||
func (this *modelTask) checkReddot17107(uid string) bool {
|
||||
dt, err := this.getTaskRecord(uid)
|
||||
if err != nil {
|
||||
return false
|
||||
}
|
||||
for _, v := range dt.Tasks {
|
||||
if v.Received == 1 {
|
||||
return true
|
||||
}
|
||||
}
|
||||
// dt, err := this.getTaskRecord(uid)
|
||||
// if err != nil {
|
||||
// return false
|
||||
// }
|
||||
// for _, v := range dt.Tasks {
|
||||
// if v.Received == 1 {
|
||||
// return true
|
||||
// }
|
||||
// }
|
||||
return false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user