Ver Fonte

测试环境的uuid update

liyuyi@c-top.com.cn há 3 anos atrás
pai
commit
640c20a07e
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      config/config.yaml
  2. 1 1
      config/url_and_db.py

+ 1 - 1
config/config.yaml

@@ -17,7 +17,7 @@ mac_ip_config:
   '5254003fa716':
       url: "http://139.186.165.84:31013/"
   # 测试环境
-  '00163e9162d9':
+  '52540003f5dd':
       url: "http://192.168.0.195:31013/"
   # 生产环境
   '525400c98142':

+ 1 - 1
config/url_and_db.py

@@ -22,7 +22,7 @@ with open('/data/pythonProject/video_to_word/config/config.yaml', mode='r', enco
     mac_ip_config = config['mac_ip_config']
 
 mac = uuid.UUID(int=uuid.getnode()).hex[-12:]
-if mac in ['5254003fa716', '00163e9162d9']:
+if mac in ['5254003fa716', '52540003f5dd']:
     ai_word_engine = get_db_engine(config['ai_word_dev_db'])
     jeecg_engine = get_db_engine(config['jeecg_boot_dev_db'])
 else: