修改质押道具id

This commit is contained in:
lianghuanjie
2025-01-14 11:40:23 +08:00
parent d592615908
commit c089a495c6

View File

@@ -57,11 +57,11 @@ func (l *StakeNftLogic) StakeNft(req *types.StakeNftList) error {
var tarotType int8
if utils.IsBigTarot(tokenId) {
sns = []int8{1, 2}
propertyId = "402505"
propertyId = "405005"
tarotType = 1
} else {
sns = []int8{1}
propertyId = "402605"
propertyId = "405105"
}
err = l.svcCtx.StakeNftModel.StakeNft(l.ctx, uid, req.RoleId, tokenId, tarotType)
if err != nil {