zhangliang hai 3 meses
pai
achega
38dafa7c19
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      services/async_mysql_service.py

+ 2 - 2
services/async_mysql_service.py

@@ -43,8 +43,8 @@ class AsyncMysqlService:
         if self._client is not None:
             return
 
-        self._platform = platform or "system"
-        self._mode = mode or "crawler"
+        self.platform = platform or "system"
+        self.mode = mode or "crawler"
         self.trace_id = trace_id
 
         # 加载环境变量配置