Commit 34b214d4 by Hayato Kamimura

【規約同意】API送信時のurl修正

parent c5eefe89
//サービスオプション「規約同意」 //サービスオプション「規約同意」
var agreementToTerms = {}; var agreementToTerms = {};
agreementToTerms.baseApiUrl = COMMON.format(ClientData.conf_apiUrl(), ClientData.userInfo_accountPath());
//言語、規約情報読み込み //言語、規約情報読み込み
agreementToTerms.initagreement = function(){ agreementToTerms.initagreement = function(){
...@@ -38,7 +37,7 @@ agreementToTerms.requireTerms = function(){ ...@@ -38,7 +37,7 @@ agreementToTerms.requireTerms = function(){
sid: COMMON.getSid(), sid: COMMON.getSid(),
}; };
const url = agreementToTerms.baseApiUrl + "/requireTerms/"; const url = COMMON.format(ClientData.conf_apiUrl(), ClientData.userInfo_accountPath()) + "/requireTerms/";
COMMON.cmsAjax( COMMON.cmsAjax(
url, url,
params, params,
...@@ -64,7 +63,7 @@ agreementToTerms.sendAgreeTerms = function(){ ...@@ -64,7 +63,7 @@ agreementToTerms.sendAgreeTerms = function(){
sid: COMMON.getSid(), sid: COMMON.getSid(),
termsVersion: apiData.termsVersion, termsVersion: apiData.termsVersion,
}; };
const url = agreementToTerms.baseApiUrl + "/agreeTerms/"; const url = COMMON.format(ClientData.conf_apiUrl(), ClientData.userInfo_accountPath()) + "/agreeTerms/";
COMMON.cmsAjax( COMMON.cmsAjax(
url, url,
params, params,
......
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