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