From d9b3415e92aa684a7cd87c3e1031092e05cdd3ba Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 2 Jan 2024 15:06:58 +0800 Subject: [PATCH] 1 --- webapp/controller/MatchController.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/controller/MatchController.class.php b/webapp/controller/MatchController.class.php index db33611a..12951990 100644 --- a/webapp/controller/MatchController.class.php +++ b/webapp/controller/MatchController.class.php @@ -230,9 +230,11 @@ class MatchController extends BaseAuthedController { array_push($teamList, $teamInfo); } } + $payload = md5(json_encode($teamList) . '520d8eAbB(8cf1^#$^&!@d833a42c820432PDAFE^^)') . + ":moba_room|" . json_encode($teamList); $matchInfo['join_msg'] = array( 'team_uuid' => $teamUuid, - 'payload' => $teamList + 'payload' => $payload ); }