This commit is contained in:
2025-03-29 14:54:17 +08:00
parent 54e1e0c937
commit 42e6be89f0
2 changed files with 4 additions and 8 deletions

View File

@@ -31,9 +31,7 @@ class MessageWechatLogic extends BaseWechatLogic
//@的好友,多个英文逗号分隔。群主或管理员@全部的人,则填写'notify@all'
'ats'=>$data['ats'],
];
Tools::log_to_write_txt(['发送文字消息,入参:$post_data'=>$post_data]);
$res = $this->curl_post_json($url, $post_data);
Tools::log_to_write_txt(['发送文字消息,出参:$res'=>$res]);
return $res;
}
@@ -53,9 +51,7 @@ class MessageWechatLogic extends BaseWechatLogic
//@的好友,多个英文逗号分隔。群主或管理员@全部的人,则填写'notify@all'
'ats'=>$data['ats'],
];
Tools::log_to_write_txt(['发送文字消息,入参:$post_data'=>$post_data]);
$res = $this->curl_post_json($url, $post_data);
Tools::log_to_write_txt(['发送文字消息,出参:$res'=>$res]);
return $res;
}
}