From 7c881955cdf6eba29f6518755d2f54bee342d368 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 4 Dec 2023 14:24:39 +0800 Subject: [PATCH] test --- chain_transfer/svc/svc_turnchain.go | 3 +++ 1 file changed, 3 insertions(+) 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