Commit c196544c by Kang Donghun

API通信関数修正、コンスタント修正

parent 0f932207
......@@ -224,6 +224,11 @@ CHK_Common.cmsAjax = function (url, param, async = true, callback, errorCallback
dataType: 'json',
cache: false,
async: async,
crossDomain: true,
beforeSend: function(xhr) {
xhr.setRequestHeader('X-AGT-AppId', sysSettings.appName);
xhr.setRequestHeader('X-AGT-AppVersion', sysSettings.appVersion);
},
success: function (result) {
if (result.status == '200') {
if (callback) callback(result);
......
......@@ -46,10 +46,11 @@ CONSTANT.ADD_REPORT_FLG = {
};
CONSTANT.URL = {
BASE_CMS: 'https://' + location.host + '/checkapi/web/',
// BASE_CMS: 'https://' + location.host + '/checkapi/web/',
BASE_CMS: 'http://localhost:8080/acms/checkapi/web/',
BASE_WEB: 'abvw/html/',
ALL_OPERATION_LIST: 'operationLIstWeb/getOperationList',
AUTH_SESSION: 'getsession/checkAuthUser',
ALL_OPERATION_LIST: 'operationListWeb/getOperationList',
AUTH_SESSION: 'getSession/checkAuthUser',
};
CONSTANT.LANG = {
......
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