소스 검색

no message

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 {