增加:查询castile代币余额

This commit is contained in:
yuming88
2025-05-06 20:34:01 +08:00
parent 95a4337ab3
commit 9809981fef
5 changed files with 103 additions and 0 deletions

View File

@@ -239,6 +239,12 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
server.AddRoutes(
[]rest.Route{
{
// 查询castile代币余额
Method: http.MethodPost,
Path: "/getBalance",
Handler: transfercastile.GetCastileBalanceHandler(serverCtx),
},
{
// 获取提取castile到游戏的记录
Method: http.MethodPost,