Browse Source

bug修复

zhangliang 7 hours ago
parent
commit
38dafa7c19
1 changed files with 2 additions and 2 deletions
  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
 
         # 加载环境变量配置