File tree Expand file tree Collapse file tree
intern/src/main/java/com/terning/feature/intern
main/src/main/java/com/terning/feature/main Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,9 +79,13 @@ class InternViewModel @Inject constructor(
7979 " PERIOD" to internInfo.workingPeriod,
8080 " A_E" to " kakaolink" ,
8181 " A_E_D" to " intern" ,
82+ " I_E" to " kakaolink" ,
83+ " I_E_D" to " jobDetail" ,
8284 " redirect" to " intern" ,
8385 " internId" to announcementId,
84- )
86+ " action" to " jobDetail" ,
87+ " JOB_ID" to announcementId
88+ )
8589 kakaoUtil.shareToKakaoTalk(templateArgs)
8690 }
8791}
Original file line number Diff line number Diff line change @@ -54,8 +54,9 @@ class MainActivity : ComponentActivity() {
5454 if (uriString.isNullOrEmpty()) return Triple (null , null , null )
5555
5656 val host = uri.host
57- val redirect = uri.getQueryParameter(REDIRECT )
58- val internId = uri.getQueryParameter(INTERN_ID )
57+ val redirect = uri.getQueryParameter(" redirect" ) ? : uri.getQueryParameter(" action" )
58+ val id = uri.getQueryParameter(" internId" ) ? : uri.getQueryParameter(" id" )
59+
5960
6061 if (! intent.getBooleanExtra(ALREADY_TRACKED , false )
6162 && intent.getBooleanExtra(FROM_NOTIFICATION , false )
@@ -68,7 +69,7 @@ class MainActivity : ComponentActivity() {
6869
6970 intent.putExtra(ALREADY_TRACKED , true )
7071
71- return Triple (host, redirect, internId )
72+ return Triple (host, redirect, id )
7273 }
7374
7475 companion object {
You can’t perform that action at this time.
0 commit comments