diff --git a/pdd_union/extend_url.go b/pdd_union/extend_url.go index 99f08a1..46b7f2f 100644 --- a/pdd_union/extend_url.go +++ b/pdd_union/extend_url.go @@ -50,6 +50,7 @@ func MainThemeUrl(keyArr map[string]string, param map[string]interface{}) map[st } tmp["url"] = res.ResourceUrlResponse.SingleUrlList.ShortUrl tmp["open_app_url"] = res.ResourceUrlResponse.SingleUrlList.MobileUrl + tmp["short_open_url"] = res.ResourceUrlResponse.SingleUrlList.MobileShortUrl tmp["no_open_app_url"] = res.ResourceUrlResponse.SingleUrlList.ShortUrl tmp["page_path"] = res.ResourceUrlResponse.WeAppInfo.PagePath tmp["schema_url"] = res.ResourceUrlResponse.SingleUrlList.SchemaUrl @@ -82,6 +83,7 @@ func WnMainThemeUrl(keyArr map[string]string, param map[string]interface{}) map[ } tmp["url"] = res.GoodsZsUnitGenerateResponse.ShortUrl tmp["open_app_url"] = res.GoodsZsUnitGenerateResponse.MobileUrl + tmp["short_open_url"] = res.GoodsZsUnitGenerateResponse.MobileShortUrl tmp["no_open_app_url"] = res.GoodsZsUnitGenerateResponse.ShortUrl tmp["page_path"] = res.GoodsZsUnitGenerateResponse.WeAppInfo.PagePath tmp["schema_url"] = res.GoodsZsUnitGenerateResponse.SchemaUrl @@ -118,6 +120,7 @@ func RpUrl(keyArr map[string]string, param map[string]interface{}) map[string]st tmp["url"] = v.ShortUrl tmp["open_app_url"] = v.MobileUrl tmp["no_open_app_url"] = v.ShortUrl + tmp["short_open_url"] = v.MobileShortUrl tmp["page_path"] = v.WeAppInfo.PagePath tmp["user_name"] = v.WeAppInfo.UserName tmp["app_id"] = v.WeAppInfo.AppId @@ -155,6 +158,7 @@ func PromUrl(keyArr map[string]string, param map[string]interface{}) map[string] tmp["no_open_app_url"] = v.ShortUrl tmp["page_path"] = v.WeAppInfo.PagePath tmp["user_name"] = v.WeAppInfo.UserName + tmp["short_open_url"] = v.MobileShortUrl tmp["app_id"] = v.WeAppInfo.AppId tmp["schema_url"] = v.SchemaUrl if param["open_app"] == "" && param["link_type"] != "" {