修改音视频签名14

This commit is contained in:
wucongxing 2024-02-02 16:01:17 +08:00
parent fc3553c322
commit 4f67eb9df2
2 changed files with 6 additions and 8 deletions

View File

@ -1711,13 +1711,12 @@ class CallBackController extends AbstractController
*/
public function trtcCallBack(): ResponseInterface
{
dump(111);
try {
$request_params = $this->request->getBody()->getContents();
$SdkAppId = $this->request->header("SdkAppId");
$Sign = $this->request->header("Sign");
$Sign = stripslashes($Sign);
$request_params = $this->request->getBody()->getContents();
$SdkAppId = $this->request->header("SdkAppId");
$Sign = $this->request->header("Sign");
$Sign = stripslashes($Sign);
try {
Log::getInstance("CallBackController-trtcCallBack")->info(json_encode($request_params, JSON_UNESCAPED_UNICODE));
if (empty($SdkAppId)) {

View File

@ -39,8 +39,7 @@ class Auth
"/test/refund" => "get", // 测试退款
"/test" => "get", // 测试
"/callback/detection" => "post", // 检测所结果回调
"/callback/trtc/media" => "post", // 音视频房间回调
"/callback/trtc/room" => "post", // 音视频媒体回调
"/callback/trtc" => "post", // 音视频回调
];
}