格式化时间戳为自定义时间的方法 调用格式如下 formatTime(number, string) fomatTime(1234567891011, 'Y/M/D h:m:s') fomatTime(1234567891011, 'Y-M-D h:m:s') fomatTime(1234567891011, 'Y/M/D') fomatTime(1234567891011, 'h:m:s')