Commit 34b214d4 by Hayato Kamimura

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

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