2
This commit is contained in:
@@ -4,6 +4,7 @@ namespace Extend\TencentIm;
|
||||
|
||||
use App\Constants\HttpEnumCode;
|
||||
use App\Exception\BusinessException;
|
||||
use App\Utils\Log;
|
||||
use GuzzleHttp\Exception\GuzzleException;
|
||||
use Hyperf\Snowflake\IdGeneratorInterface;
|
||||
use Hyperf\Utils\ApplicationContext;
|
||||
@@ -88,7 +89,7 @@ class Message extends Base
|
||||
try {
|
||||
// 合并发送参数
|
||||
$arg = array_merge($this->arg,$arg);
|
||||
|
||||
Log::getInstance()->info(json_encode($arg,JSON_UNESCAPED_UNICODE));
|
||||
$options = [
|
||||
"json"=> $arg
|
||||
];
|
||||
|
||||
@@ -9,6 +9,18 @@ class RecentContact extends Base
|
||||
{
|
||||
// 分页拉取会话列表
|
||||
public function getRecentContactPage(){
|
||||
$options = [
|
||||
"json"=> [
|
||||
"Operator_Account"=>"491925054435950592",
|
||||
"Peer_Account"=>"492404831991414785",
|
||||
"MaxCnt"=>50,
|
||||
"MinTime"=> 1678872105,
|
||||
"MaxTime"=> time(),
|
||||
]
|
||||
];
|
||||
|
||||
$path = $this->config['base_url'] . "v4/openim/admin_getroammsg?" . $this->buildRequestParams();
|
||||
$result = $this->postRequest($path,$options);
|
||||
dump($result);die;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user