Commit b150df9c authored by 金凯强's avatar 金凯强 🎨

应用修改和远程DB配置

parent 0eae11bf
Pipeline #21504 passed with stage
in 43 seconds
......@@ -224,6 +224,11 @@ values
import os
from static_file import profile_dir
if param.get('project_no') is None or param.get('db_ip') is None or param.get('db_port') is None or \
param.get('db_password') is None or param.get('mes_db_name') is None \
or param.get('tiip_db_name') is None or param.get('db_user') is None:
raise HSException('以上参数全部必填')
remote_db_info_path = os.path.join(profile_dir, 'huansi_server.sh')
# 写入
with open(remote_db_info_path, "w") as f:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment