Explorar o código

fix:兼容mongo配置

Roc hai 10 meses
pai
achega
636c1b6b73
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/base_from_python.go

+ 1 - 1
controllers/base_from_python.go

@@ -52,7 +52,7 @@ func (this *PythonController) ExcePython() {
 		br.Msg = "获取数据失败"
 		br.ErrMsg = "python代码获取数据失败,err:" + err.Error()
 		if errMsg != "" {
-			br.ErrMsg = errMsg
+			br.Msg = errMsg
 		}
 		return
 	}