Commit 531a6b54 by Masaru Abe

ダイハツ対応 HTMLリンクタイプでも車両比較用パラメータを追加

parent 2f6e13b5
......@@ -336,7 +336,13 @@ function getMediaType1(iValueObj) {
var tempData = iValueObj.contentDataSub[i];
if(tempData.resourceId == resourceId){
resourceUrl = tempData.resourceUrl;
//DHカスタム
if( ClientData.serviceOpt_daihatsu() == 'Y'){
var apiUrl = getApiUrl(ClientData.userInfo_accountPath());
resourceUrl = resourceUrl + "?sid=" + ClientData.userInfo_sid() + "&apiurl=" + apiUrl ;
}
break;
}
}
......@@ -714,6 +720,11 @@ function getMediaType9(iValueObj) {
if(tempData.resourceId == resourceId){
resourceUrl = tempData.resourceUrl;
//DHカスタム
if( ClientData.serviceOpt_daihatsu() == 'Y'){
var apiUrl = getApiUrl(ClientData.userInfo_accountPath());
resourceUrl = resourceUrl + "?sid=" + ClientData.userInfo_sid() + "&apiurl=" + apiUrl ;
}
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment