|
@@ -383,8 +383,8 @@ if __name__ == '__main__':
|
|
|
card_json['i18n_header']['zh_cn']['template'] = "error"
|
|
|
card_json['i18n_header']['zh_cn']["title"]['content'] = "XGB模型训练预测失败"
|
|
|
card_json['i18n_elements']['zh_cn'][0]['content'] = msg_text
|
|
|
- # 发送通知
|
|
|
- # feishu_inform_util.send_card_msg_to_feishu(
|
|
|
- # webhook=config_manager.get_vov_model_inform_feishu_webhook(),
|
|
|
- # card_json=card_json
|
|
|
- # )
|
|
|
+ # 发送通知
|
|
|
+ feishu_inform_util.send_card_msg_to_feishu(
|
|
|
+ webhook=config_manager.get_vov_model_inform_feishu_webhook(),
|
|
|
+ card_json=card_json
|
|
|
+ )
|