마케팅 트래킹
- AppLaunch 트래킹에 빈 본문 추가
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package kr.co.vividnext.sodalive.marketing
|
||||
|
||||
import kr.co.vividnext.sodalive.common.ApiResponse
|
||||
import org.springframework.web.bind.annotation.PostMapping
|
||||
import org.springframework.web.bind.annotation.RequestBody
|
||||
import org.springframework.web.bind.annotation.RequestMapping
|
||||
@@ -12,12 +13,14 @@ class AdTrackingController(private val service: AdTrackingService) {
|
||||
fun trackingAppLaunch(
|
||||
@RequestBody request: AdTrackingAppLaunchRequest
|
||||
) = run {
|
||||
service.saveTrackingHistory(
|
||||
pid = request.pid,
|
||||
type = AdTrackingHistoryType.APP_LAUNCH,
|
||||
memberId = 0,
|
||||
price = null,
|
||||
locale = null
|
||||
ApiResponse.ok(
|
||||
service.saveTrackingHistory(
|
||||
pid = request.pid,
|
||||
type = AdTrackingHistoryType.APP_LAUNCH,
|
||||
memberId = 0,
|
||||
price = null,
|
||||
locale = null
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user