Support SRTools web

This commit is contained in:
Naruse
2025-04-17 20:13:39 +08:00
parent 2d6462c321
commit 6208880642
12 changed files with 341 additions and 27 deletions

View File

@@ -0,0 +1,13 @@
import betterproto
from game_server.net.session import PlayerSession
from rail_proto.lib import (
GetBigDataRecommendCsReq,
GetBigDataRecommendScRsp
)
async def handle(session: PlayerSession, msg: GetBigDataRecommendCsReq) -> betterproto.Message:
return GetBigDataRecommendScRsp(
big_data_recommend_type=msg.big_data_recommend_type,
has_recommand=True,
equip_avatar=msg.equip_avatar
)