瀏覽代碼

no message

xingzai 1 年之前
父節點
當前提交
03dc11e9f9
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5 4
      controllers/user.go

+ 5 - 4
controllers/user.go

@@ -706,11 +706,12 @@ func (this *UserController) ApplyTryOut() {
 		br.ErrMsg = "申请失败,Err:" + err.Error()
 		return
 	}
+	isResearch = true
 	//fmt.Println(isResearch)
-	//if isResearch {
-	//如果是研选的报告走研选的类目模版消息
-	go services.SendPermissionApplyTemplateMsgAdminByYxCategory(req, user.CompanyId, mobile, categoryApplyMethod, redirectUrlYx)
-	//}
+	if isResearch {
+		//如果是研选的报告走研选的类目模版消息
+		go services.SendPermissionApplyTemplateMsgAdminByYxCategory(req, user.CompanyId, mobile, categoryApplyMethod, redirectUrlYx)
+	}
 	if detailId > 0 {
 		applyMethod = applyMethod + "," + title
 	}