Browse Source

test

master
huangjiajun 1 year ago
parent
commit
7c881955cd
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      chain_transfer/svc/svc_turnchain.go

+ 3
- 0
chain_transfer/svc/svc_turnchain.go View File

@@ -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


Loading…
Cancel
Save