修改质押道具id
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user