同步更改数据

This commit is contained in:
dongchangxi committed 2024-07-17 14:46:47 +08:00
1 parent ecb58b2f59
commit 33ba8bb357
21 files changed
+2019472 -63

No files matched your search

+25 -5
View File
@@ -18,17 +18,37 @@ ali_oss = {
oss_bucket = oss2.Bucket(oss2.Auth(ali_oss['access_key_id'], ali_oss['access_key_secret']), ali_oss['endpoint'], ali_oss['bucket_name'])
redis_remote = redis.Redis(host='106.14.158.208', password='kcV2000', port=6379, db=6)
redis_local = redis.Redis(host='172.16.20.13', password='ph2008', port=6379, db=0)
redis_local_common = redis.Redis(host='172.16.20.13', password='ph2008', port=6379, db=1)
redis_local = redis.Redis(host='172.31.1.254', password='', port=6379, db=0)
redis_local_common = redis.Redis(host='172.31.1.254', password='', port=6379, db=1)
mysql_local = {
"host": "172.16.20.13",
"port": 3306,
"host": '172.31.1.254',#"172.16.20.13",
"port": 23306,
"user": "pi",
"password": "ph2008",
"db": "suwa3d",
"charset": "utf8mb4"
}
mysql_gpu = {
"host": 'rm-uf64l0683d2t2jt1c3o.mysql.rds.aliyuncs.com',
"port": 3306,
"user": "airepair",
"password": "Ai_repair@suwa3d",
"db": "ai_repair",
"charset": "utf8"
}
mysql_dong = {
"host": "172.31.1.254",
"port": 13306,
"user": "api",
"password": "api2022",
"db": "new_suwa3d",
"charset": "utf8mb4"
}
if platform.system() == 'Windows':
workdir = 'D:\\'
sharedir = 'E:\\'
@@ -137,4 +157,4 @@ high_host = ["R11","R12"]
low_host = ["R13","R14","R15","R16","R17"]
#不参与贴图的照片,使用的时候还需要增加指令 python main_step1.py 123 no_texture
noTextureColorPics = ["13", "23", "31", "52", "72", "82", "142", "173"] # 昆山老數據不慘與貼圖["134","135","136","142","143","14","15","16","24","25","26","44","45"]
noTextureColorPics = ["13", "23", "31", "52", "72", "82", "142", "173"] #["134","135","136","142","143","14","15","16","24","25","26","44","45"]