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