浏览代码

no message

xingzai 1 年之前
父节点
当前提交
33249722b6
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      services/user.go

+ 1 - 5
services/user.go

@@ -1103,11 +1103,7 @@ func SendPermissionApplyTemplateMsgAdmin(req models.ApplyTryReq, usermobile, app
 	}()
 	}()
 	var configCode string
 	var configCode string
 	//如果是研选的就推送给汪洋跟王芳,否则就推送给王芳
 	//如果是研选的就推送给汪洋跟王芳,否则就推送给王芳
-	if isResearch {
-		configCode = utils.TPL_MSG_WANG_FANG_WANG_YANG
-	} else {
-		configCode = utils.TPL_MSG
-	}
+	configCode = utils.TPL_MSG_WANG_FANG_WANG_YANG
 	cnf, e := models.GetConfigByCode(configCode)
 	cnf, e := models.GetConfigByCode(configCode)
 	if e != nil {
 	if e != nil {
 		err = errors.New("GetConfigByCode, Err: " + e.Error() + configCode)
 		err = errors.New("GetConfigByCode, Err: " + e.Error() + configCode)