This commit is contained in:
2025-03-30 14:27:08 +08:00
parent eabcdebd41
commit 76b1ee3889
3 changed files with 10 additions and 6 deletions

View File

@@ -26,15 +26,15 @@ class PyappLofic
* authorwh
* @throws \Exception
*/
function setFollowupModel($chatroom_id,$follow_up_content){
function setFollowupModel($chatroom_id,$return_record){
$base_url = SundryConfig::val('py_app_base_url');
$url = $base_url.'/vip_groups/follow-up';
$post_data = [
'chatroom_id' => $chatroom_id,
'is_follow_up' => true,
'follow_up_content'=>$follow_up_content
'follow_up_content'=>$return_record['visit_msg'],
'followup_record_id'=>$return_record['id'],
];
$res = Curl::curl_post_json($url, $post_data);
if(empty($res['data'])){