소스 검색

拼多多联盟

master
huangjiajun 7 달 전
부모
커밋
fcc52222cf
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. +4
    -0
      pdd_union/extend_url.go

+ 4
- 0
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"] != "" {


불러오는 중...
취소
저장