浏览代码

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

xingzai 1 年之前
父节点
当前提交
b43560fad7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/activity_sign.go

+ 1 - 1
controllers/activity_sign.go

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