|
@@ -93,6 +93,9 @@ func TBOrTmTurnChain(eg *xorm.Engine, dbName string, args map[string]string) (*m |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return nil, 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 { |
|
|
if zhios_third_party_utils.StrToFloat64(itemInfo.CouponAmount) == 0 && zhios_third_party_utils.StrToFloat64(hdkItemInfo.CouponAmount) == 0 { |
|
|
urls.ShortenURL = urls.ItemUrl |
|
|
urls.ShortenURL = urls.ItemUrl |
|
|
urls.URL = urls.ItemUrl |
|
|
urls.URL = urls.ItemUrl |
|
|