上传接口

This commit is contained in:
liwei1dao 2023-05-08 20:04:09 +08:00
parent 953f158445
commit f1c0979c1a
2 changed files with 1 additions and 2 deletions

View File

@ -56,7 +56,7 @@ type (
///刷新恢复入场券
RecoverTicket(session IUserSession) (code pb.ErrorCode)
//出售道具
SellItem(session IUserSession, items map[string]int32) (code pb.ErrorCode, atno []*pb.UserAtno)
SellItem(session IUserSession, items map[string]int32, bPush bool) (code pb.ErrorCode, atno []*pb.UserAtno)
}
//英雄

View File

@ -244,7 +244,6 @@ func (this *Items) SellItem(session comm.IUserSession, items map[string]int32, b
code = pb.ErrorCode_ItemsNoFoundGird
return
}
}
if code, atno = this.DispenseAtno(session, sale, bPush); code != pb.ErrorCode_Success {