xingzai пре 2 година
родитељ
комит
17201e94d7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      controllers/activity_sign.go

+ 1 - 1
controllers/activity_sign.go

@@ -122,7 +122,7 @@ func (this *ActivitySignCoAntroller) Detail() {
 	//把报名信息写入签到到会表
 	go services.AddCygxActivityOfflineMeetingDetail(activityId)
 
-	if user.Mobile != "" {
+	if user.Mobile != "" || total > 0 {
 		resp.IsBindingMobile = true
 	}
 	if user.CompanyId == 1 {