Эх сурвалжийг харах

Merge branch 'cygx_3.2' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 1 жил өмнө
parent
commit
720b19af21

+ 2 - 1
controllers/activity_sign.go

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