• 2024-09-19js 时间搓计算
    exportfunctioncompareTimestamp(timestamp){constcurrentTime=newDate().getTime();consttimeDiff=currentTime-timestamp;if(timeDiff<60000){return'1分钟内';}elseif(timeDiff<3600000){returnMath.floor(