浏览代码

关闭测试

xiexiaoyuan 2 年之前
父节点
当前提交
dcbeda09c7
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1 6
      controllers/english_report.go

+ 1 - 6
controllers/english_report.go

@@ -26,12 +26,7 @@ func (c *EnglishReportController) PublishNotify()  {
 		c.FailWithMessage("请输入id")
 		return
 	}
-	if utils.RunMode == "debug" {
-		go services.PullEnglishPolicyReportSingle(id)
-	} else {
-		//暂不上线,走测试环境
-		services.TestDebugEnglishPolicyReport(id)
-	}
+	go services.PullEnglishPolicyReportSingle(id)
 
 	c.Ok()
 	return