Commit c74ddccc by Takumi Imai

#50225 閲覧ログ

parent 74629130
......@@ -1060,6 +1060,16 @@ COMMON.operateData = function (args, strKey, returnDefaultData) {
}
}
};
/**
* UTC current Time (millisecond)
*
* @returns UTC time
*/
COMMON.currentTime = function () {
return Date.now();
};
/*
* Operations for session storage [ end ]
*/
......
......@@ -51,7 +51,7 @@ CONSTANT.URL = {
AUTH_SESSION: 'getSession/checkAuthUser',
TASK_REPORT_LIST: 'getTaskReport/index',
ENTRY_REPORT: 'getReport???', //未定
OPERATION_VIEW_LOG: 'operationViewLog/savelog',
OPERATION_VIEW_LOG: 'operationViewLog/saveLog',
};
CONSTANT.LANG = {
......
{
"1apiUrl" : "http://localhost:8080/acms/{0}/abvapi",
"1apiLoginUrl" : "http://localhost:8080/acms/nuabvapi",
"1apiResourceDlUrl" : "http://localhost:8080/acms/{0}/dl",
"apiUrl" : "https://abook189.abook.bz/acms/{0}/abvapi",
"apiLoginUrl" : "https://abook189.abook.bz/acms/nuabvapi",
"apiResourceDlUrl" : "https://abook189.abook.bz/acms/{0}/dl",
"apiUrl" : "http://localhost:8080/acms/{0}/abvapi",
"apiLoginUrl" : "http://localhost:8080/acms/nuabvapi",
"apiResourceDlUrl" : "http://localhost:8080/acms/{0}/dl",
"1apiUrl" : "https://abook189.abook.bz/acms/{0}/abvapi",
"1apiLoginUrl" : "https://abook189.abook.bz/acms/nuabvapi",
"1apiResourceDlUrl" : "https://abook189.abook.bz/acms/{0}/dl",
"bookShelfCount" : 15,
"bookListCount" : 15,
"screenlockTimeDefault" : 30,
......
......@@ -480,9 +480,8 @@ OL.saveOperationReadingLog = function (operationId, operationType, reportType) {
params.deviceType = CONSTANT.DEVICE_TYPE.WEB;
params.operationType = operationType;
params.reportType = reportType;
const date = new Date();
params.viewingStartDate = date.toLocaleString();
const url = CONSTANT.URL.BASE_CMS + ClientData.userInfo_accountPath() + CONSTANT.URL.BASE_HTML + CONSTANT.URL.OPERATION_VIEW_LOG;
params.viewingStartDate = COMMON.currentTime();
const url = CONSTANT.URL.BASE_CMS + ClientData.userInfo_accountPath() + CONSTANT.URL.BASE_CHECKAPI + CONSTANT.URL.OPERATION_VIEW_LOG;
COMMON.cmsAjax(url, params, false);
};
......
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