xingzai il y a 1 an
Parent
commit
d99bd9a7b3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      controllers/activity_sign.go

+ 1 - 1
controllers/activity_sign.go

@@ -141,7 +141,7 @@ func (this *ActivitySignCoAntroller) Detail() {
 	}
 	//1,没有签到记录不为潜在客户
 	//2,没有签到记录,手机号不为空,没有申请记录
-	if total == 0 && user.CompanyId > 1 || (user.Mobile != "" && applyCount == 0 && total == 0) {
+	if total == 0 && user.CompanyId > 1 || (user.Mobile != "" && applyCount >= 0) || total > 0 {
 		resp.IsBindingMobile = true
 	}
 	if user.CompanyId == 1 {