마케팅 매체 파트너 코드 조회
- 링크 인코딩 제거
This commit is contained in:
@@ -6,7 +6,6 @@ import kr.co.vividnext.sodalive.marketing.AdMediaPartnerType
|
||||
import org.springframework.data.repository.findByIdOrNull
|
||||
import org.springframework.stereotype.Service
|
||||
import org.springframework.transaction.annotation.Transactional
|
||||
import java.net.URLEncoder
|
||||
|
||||
@Service
|
||||
class AdminAdMediaPartnerService(private val repository: AdMediaPartnerRepository) {
|
||||
@@ -62,18 +61,16 @@ class AdminAdMediaPartnerService(private val repository: AdMediaPartnerRepositor
|
||||
AdMediaPartnerType.MAIN -> "main"
|
||||
}
|
||||
|
||||
val link = "$oneLinkHost?" + URLEncoder.encode(
|
||||
"af_dp=voiceon%3A%2F%2F" +
|
||||
"&deep_link_value=$deepLinkValue" +
|
||||
"&deep_link_sub1=${it.pid}" +
|
||||
"&deep_link_sub2=${it.utmSource}" +
|
||||
"&deep_link_sub3=${it.utmMedium}" +
|
||||
"&deep_link_sub4=${it.pidName}" +
|
||||
"&utm_source=${it.utmSource}" +
|
||||
"&utm_medium=${it.utmMedium}" +
|
||||
"&utm_campaign=${it.pidName}",
|
||||
"UTF-8"
|
||||
)
|
||||
val link = "$oneLinkHost?" +
|
||||
"af_dp=voiceon://" +
|
||||
"&deep_link_value=$deepLinkValue" +
|
||||
"&deep_link_sub1=${it.pid}" +
|
||||
"&deep_link_sub2=${it.utmSource}" +
|
||||
"&deep_link_sub3=${it.utmMedium}" +
|
||||
"&deep_link_sub4=${it.pidName}" +
|
||||
"&utm_source=${it.utmSource}" +
|
||||
"&utm_medium=${it.utmMedium}" +
|
||||
"&utm_campaign=${it.pidName}"
|
||||
|
||||
it.link = link
|
||||
it
|
||||
|
Reference in New Issue
Block a user