Browse Source

feat: 调整

zhangxinlei1996 1 year ago
parent
commit
45a12ed301
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/activity/task/task.go

+ 1 - 1
services/activity/task/task.go

@@ -142,7 +142,7 @@ func (this *Task) Task() {
 			}
 			}
 		} else {
 		} else {
 			//openid是否绑定
 			//openid是否绑定
-			if mail != "" {
+			if openid != "" {
 				dataM[model.FollowWx].Status = 1
 				dataM[model.FollowWx].Status = 1
 				dataM[model.FollowWx].FinishTime = now
 				dataM[model.FollowWx].FinishTime = now
 				activity.Task(&model.Message{
 				activity.Task(&model.Message{