From 67690e416229cf4d1feb36561652694fb350cbfd Mon Sep 17 00:00:00 2001 From: lccsw <1127794702@qq.com> Date: Wed, 6 Jul 2022 15:14:31 +0800 Subject: [PATCH] edit-common-robot --- common/libraries/Qyrobot.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/libraries/Qyrobot.php b/common/libraries/Qyrobot.php index 039d2fa6..487595bf 100644 --- a/common/libraries/Qyrobot.php +++ b/common/libraries/Qyrobot.php @@ -245,8 +245,8 @@ class Qyrobot{ 'content' => $content ] ]; - $res = $this->ci->mycurl->httpPost($url,$data,'is_json'); - $result = json_decode($res,true); + //$res = $this->ci->mycurl->httpPost($url,$data,'is_json'); + //$result = json_decode($res,true); //发送飞书 $info = [ 'biz_info' => $biz_info, @@ -259,7 +259,7 @@ class Qyrobot{ 'month_count' => $month_count ]; $send_msg = $this->fbook_formart($info,$type); - $this->send_fb($send_msg); + $result = $this->send_fb($send_msg); return $result; }