diff --git a/Config/common.ini b/Config/common.ini index 11656ac..e6eda2c 100644 --- a/Config/common.ini +++ b/Config/common.ini @@ -25,11 +25,17 @@ sender = fecribd@fecr.com.cn jwt_key = MADASDZXC255f [mongo] -host = 127.0.0.1 +;host = 127.0.0.1 +;port = 27017 +;db = 城投调研 +;user = fecr +;password = fecr1988.wcq + +host = 116.63.159.166 port = 27017 -db = 城投调研 -user = fecr -password = fecr1988.wcq +db = 深度调研 +user = root +password = 123456 [hw_msg] # 华为短信配置 url = https://smsapi.cn-north-4.myhuaweicloud.com:443/sms/batchSendSms/v1 diff --git a/Context/common.py b/Context/common.py index 6f81d39..4ab7544 100644 --- a/Context/common.py +++ b/Context/common.py @@ -25,10 +25,15 @@ redis_pool.connect() # 共用mysql数据库 common_db_base = declarative_base() -common_db = SqlalchemyConnect(common_db_base, host=conf['mysql']['host'], - user=conf['mysql']['user'], - password=conf['mysql']['password'], - db=conf['mysql']['db']) +# common_db = SqlalchemyConnect(common_db_base, host=conf['mysql']['host'], +# user=conf['mysql']['user'], +# password=conf['mysql']['password'], +# db=conf['mysql']['db']) + +common_db = SqlalchemyConnect(common_db_base, host=conf['remote_mysql']['host'], + user=conf['remote_mysql']['user'], + password=conf['remote_mysql']['password'], + db=conf['remote_mysql']['db']) # mongo db mg_db = MongoConnect(conf["mongo"]["host"], int(conf["mongo"]["port"]), diff --git a/Mods/IndepthResearch/Mods/CompanyReport/File/generate/前期研究报告.docx b/Mods/IndepthResearch/Mods/CompanyReport/File/generate/前期研究报告.docx new file mode 100644 index 0000000..c2f5da9 Binary files /dev/null and b/Mods/IndepthResearch/Mods/CompanyReport/File/generate/前期研究报告.docx differ diff --git a/Mods/IndepthResearch/Mods/CompanyReport/File/template/前期研究报告(城投模板).docx b/Mods/IndepthResearch/Mods/CompanyReport/File/template/前期研究报告(城投模板).docx new file mode 100644 index 0000000..aaf1ced Binary files /dev/null and b/Mods/IndepthResearch/Mods/CompanyReport/File/template/前期研究报告(城投模板).docx differ