修改质押道具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 var tarotType int8
if utils.IsBigTarot(tokenId) { if utils.IsBigTarot(tokenId) {
sns = []int8{1, 2} sns = []int8{1, 2}
propertyId = "402505" propertyId = "405005"
tarotType = 1 tarotType = 1
} else { } else {
sns = []int8{1} sns = []int8{1}
propertyId = "402605" propertyId = "405105"
} }
err = l.svcCtx.StakeNftModel.StakeNft(l.ctx, uid, req.RoleId, tokenId, tarotType) err = l.svcCtx.StakeNftModel.StakeNft(l.ctx, uid, req.RoleId, tokenId, tarotType)
if err != nil { if err != nil {