update 根据rid生成企业主页数据接口修改调用esg接口地址

This commit is contained in:
P3ngSaM 2022-03-09 09:50:37 +08:00
parent 300cc73324
commit 617a3e449e
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ def generate_rid_information_script(rid, types):
# 打分模型
def general_model():
url = "http://api.fecribd.com/esg_rating/rating/esg_model"
url = "http://api.fecribd.com/tfse_rating/esg/esg_model"
token = "X0gSlC!YE8jmr2jJr&ilcjS83j!tsoh5"
headers = {'token': token, "Content-Type": "application/json;charset=UTF-8"}
data = json.dumps({"input_data": rating_inputs})