Bläddra i källkod

拼多多

master
huangjiajun 3 månader sedan
förälder
incheckning
4c293c1ef1
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. +3
    -3
      pdd_union/extend_url.go

+ 3
- 3
pdd_union/extend_url.go Visa fil

@@ -185,13 +185,13 @@ func PromUrl(keyArr map[string]string, param map[string]interface{}) map[string]
tmp["short_open_url"] = v.MobileShortUrl
tmp["app_id"] = v.WeAppInfo.AppId
tmp["schema_url"] = v.SchemaUrl
if param["open_app"] == "" && param["link_type"] != "" {
if param["open_app"] == "" && param["link_type"] != "" && v.Url != "" {
tmp["url"] = v.Url
}
if param["open_app"] != "" {
if param["open_app"] != "" && v.MobileShortUrl != "" {
tmp["url"] = v.MobileShortUrl
}
if param["open_app"] != "" && param["link_type"] != "" {
if param["open_app"] != "" && param["link_type"] != "" && v.MobileUrl != "" {
tmp["url"] = v.MobileUrl
}
}


Laddar…
Avbryt
Spara