可读的剩余/过期时间
/**
* ----------------------------------------
* @param {Number} timestamp - 时间戳
* @return {Object} {desc, isOut, dayStr}
* ----------------------------------------
*/
getExpireHuman(timestamp);
import { getExpireHuman } from "ynw/script/getHumanTimes";
getExpireHuman(1627285004383); // {desc: '过期2天', isOut:true, dayStr:"2021-07-26"}