Commit 171e350b by 宋鹏博

Merge branch 'master' of ssh://begitlab.chubanyun.me:12122/songpengbo/wsmonitor_sql into test

 Conflicts:
	common/cutils.py
	config.py
parents 10f31ab2 bd28e37e
......@@ -66,5 +66,4 @@ if __name__ == '__main__':
if "true" or "false" in data[0][1]:
dirt = data[0][1].replace("true", "True").replace("false", "False")
d = ast.literal_eval(dirt)
print(d.get("msgContentList")[1].get("data"))
print(d.get("msgContentList")[1].get("data").get("reviewReportRecordId"))
import os
# 测试环境数据库
host = "122.112.227.235"
user = "userop"
database_pwd = "0#ztXqUzECGen8E"
database = "aireview"
port = 3306
# host = "122.112.227.235"
# user = "userop"
# database_pwd = "0#ztXqUzECGen8E"
# database = "aireview"
# port = 3306
# 生产环境aireview数据库
# host = "192.168.8.234"
# user = "aireview110"
......@@ -13,21 +11,18 @@ port = 3306
# database = "aireview"
# port = 3306
# 生产环境aicaption数据库
# host = "192.168.8.234"
# user = "aicaptain110"
# database_pwd = "ABs4B79c"
# database = "aicaptain"
# port = 3306
host = "192.168.8.234"
user = "aicaptain110"
database_pwd = "ABs4B79c"
database = "aicaptain"
port = 3306
# 微信机器人url
wechaturl = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5a4fa3ba-9974-44d3-9c1e-2428f77f8087"
# 问题词
error_answer = ["无法回答此类问题,请换个话题吧", "二维码创建失败", "意图下发失败", "文件处理失败", "生成失败",
"润色任务失败", "网络异常", "获取书评助理结果失败", "审校失败", "图书生成报告失败",
"对不起,我暂时无法回答这个问题"]
error_answer = ["无法回答此类问题,请换个话题吧","二维码创建失败","意图下发失败","文件处理失败","生成失败","润色任务失败","网络异常","获取书评助理结果失败","审校失败","图书生成报告失败","对不起,我暂时无法回答这个问题"]
# 文件路径设置
file_path = os.path.dirname(__file__)
\ No newline at end of file
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