解決方法
1、先如Windows 的 iis 管理器
2、選擇所需要配置的網(wǎng)站 進(jìn)行調(diào)整
3、修改登錄有效時(shí)間
function DayFromat(dateTimeStr) local formattedDateStr ="" if (dateTimeStr == "" or dateTimeStr==nil ) then return formattedDateStr end dateTimeStr = string.gsub(dateTimeStr, "T", " ") print(dateTimeStr) -- 使用模式匹配提取日期和時(shí)間部分 local dateStr, timeStr = dateTimeStr:match("(%d+-%d+-%d+) (%d+:%d+:%d+)") if (dateStr == nil) then formattedDateStr ="Date Format Error" return formattedDateStr end -- 提取日期部分的年、月、日 local year, month, day = dateStr:match("(%d+)-(%d+)-(%d+)") -- 將提取的月、日格式化為兩位數(shù)的字符串 month = string.format("%02d", tonumber(month)) day = string.format("%02d", tonumber(day)) -- 組合格式化后的日期和原始時(shí)間部分 local formattedDateStr = string.format("%s-%s-%s", year, month, day) local formattedDateTime = string.format("%s %s", formattedDateStr, timeStr) return formattedDateStr end
— 示例使用
local date = “2024-03-25T16:00:00.000Z”
local formattedDate = DayFromat(date)
print(formattedDate) — 輸出: 2024-03-25
最近有用戶反饋MBC最新版本,文件傳輸上傳到100%后,卡住了。
最后,分析原因是因?yàn)榉?wù)端有安全軟件的測(cè)率不對(duì)
mobox3網(wǎng)頁點(diǎn)擊,切換功能點(diǎn),發(fā)現(xiàn)不會(huì)切換。
原因:后臺(tái)mobox3網(wǎng)站被更新了,需要重新刷新一下整個(gè)網(wǎng)站才能解決
]]>這個(gè)可能有2種可能
1、mobox的授權(quán)數(shù)不夠了
解決方法,找供應(yīng)商重新增加授權(quán)
2、授權(quán)數(shù)據(jù)異常
這種往往是數(shù)據(jù)表數(shù)據(jù)是有異常的,不是通過正常接口方式加的,很有可能是?手工?改過數(shù)據(jù)表的,在數(shù)據(jù)初始化時(shí),檢測(cè)到數(shù)據(jù)異常的
比如,授權(quán)是時(shí)效性授權(quán)300用戶,而數(shù)據(jù)表中卻登記了10個(gè)永久授權(quán)。這個(gè)情況下也會(huì)出現(xiàn)上圖提示
]]>
問題原因是,系統(tǒng)缺少vc環(huán)境
解決方法,運(yùn)行vc發(fā)行環(huán)境就可以(在mongod目錄下面有 vc環(huán)境安裝盤,以管理員身份運(yùn)行)
nRet, strOBJInfo = mobox.objAttrToObjJson (‘PMS001’, strRetInfo )
沒有對(duì)執(zhí)行做保護(hù)(原先理解是 絕對(duì)不會(huì)出錯(cuò)的,實(shí)際上是錯(cuò)了),執(zhí)行后報(bào)錯(cuò)
這個(gè)錯(cuò)誤爆出,我們根本無法判斷問題所在。所以在任何情況下調(diào)用函數(shù)都需要做 出錯(cuò)保護(hù),加入
?if (nRet ~= 0) then
mobox.error(strLuaDEID, “PMS001數(shù)據(jù)庫(kù)沒有對(duì)應(yīng)字段 “)
return
end
2、在Debug 函數(shù)里面不能包含表類型的變量
Debug( strLuaDEID, debug.getinfo(1), ‘keynode創(chuàng)建’,tbNote[1])
里面的 tbNote[1]是一個(gè)表類型的變量,debug 不支持這個(gè)格式
nRet, strOBJInfo = mobox.objAttrToObjJson (‘JS003’, strRetInfo )
]]>
可以設(shè)置項(xiàng)目文件夾的狀態(tài)
注意:這個(gè)狀態(tài),點(diǎn)擊后有下拉,OImoboxWebs服務(wù)要能連接,否則沒有下拉內(nèi)容
項(xiàng)目文件夾狀態(tài)是可以自定義的
mobox3的功能點(diǎn)擴(kuò)展的MBC客戶端的配置實(shí)現(xiàn)方式
需要定義 3個(gè)應(yīng)用 (應(yīng)用名稱 不能變)
MOBOX3
OIOrgSAPI
OIMoboxSAPI
OIDataSAPI
其它2個(gè)服務(wù)類似