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