This website works better with JavaScript.
Home
Explore
Help
Sign In
go_rely_warehouse
/
zyos_go_third_party_api
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
30
Wiki
Activity
Browse Source
test
master
huangjiajun
1 year ago
parent
307d812b0a
commit
7c881955cd
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save