diff --git a/chain_transfer/svc/svc_turnchain.go b/chain_transfer/svc/svc_turnchain.go index f8938db..07752d6 100644 --- a/chain_transfer/svc/svc_turnchain.go +++ b/chain_transfer/svc/svc_turnchain.go @@ -93,6 +93,9 @@ func TBOrTmTurnChain(eg *xorm.Engine, dbName string, args map[string]string) (*m if err != nil { return nil, nil } + if urls.ItemUrl == "" { + urls.ItemUrl = urls.URL + } if zhios_third_party_utils.StrToFloat64(itemInfo.CouponAmount) == 0 && zhios_third_party_utils.StrToFloat64(hdkItemInfo.CouponAmount) == 0 { urls.ShortenURL = urls.ItemUrl urls.URL = urls.ItemUrl