#feature: update AI log analysis
This commit is contained in:
@@ -33,5 +33,15 @@ class MonoClient
|
||||
{
|
||||
return $this->http->post($this->baseUrl . '/rpc/datadispatch/message/update-dispatch', $data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 手动消费指定消息(由mono从CRM获取消息并进行分发)
|
||||
*/
|
||||
public function consumeMessage(string $msgId): Response
|
||||
{
|
||||
return $this->http->post($this->baseUrl . '/rpc/datadispatch/message/consume', [
|
||||
'msg_id' => $msgId,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user