You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
341 B

package logic
import (
"github.com/golang/protobuf/proto"
"texas-poker-bk/api"
"texas-poker-bk/internal/session"
)
// HandleReqAccountBalance 返回账户余额
func HandleReqAccountBalance(account *session.NetAccount, msg *api.ReqAccountBalance) (proto.Message, error) {
return &api.ResAccountBalance{Balance: account.Balance}, nil
}