我的也是,已经有线上交易了,还是显示90天内未产生支付行为,,,
物流-查询组件,线上已完成支付,无法接入?[图片]
2022-06-09代码里面字符串转时间要用/不要用-,用- ios显示不出来
小程序体验版在iOS上时间显示NaN?小程序体验版在iOS上时间显示NaN?,在开发工具的真机测试时间显示正确? [代码] [代码] [代码]function[代码] [代码]formatTime(date) {[代码] [代码] [代码][代码]// var time = Date.parse(date);[代码][代码] [代码][代码]// console.log(time);[代码][代码] [代码][代码]// var date = new Date(time);[代码][代码] [代码][代码]var[代码] [代码]year = date.getFullYear()[代码][代码] [代码][代码]var[代码] [代码]month = date.getMonth() + 1[代码][代码] [代码][代码]var[代码] [代码]day = date.getDate()[代码][代码] [代码][代码]var[代码] [代码]hour = date.getHours()[代码][代码] [代码][代码]var[代码] [代码]minute = date.getMinutes()[代码][代码] [代码][代码]var[代码] [代码]second = date.getSeconds()[代码][代码] [代码][代码]return[代码] [代码][year, month, day].map(formatNumber).join([代码][代码]'/'[代码][代码]);[代码][代码] [代码] [代码]}[代码] [代码] [代码] [代码]/**[代码] [代码] 时间处理[代码] [代码]*/[代码] [代码][代码] item.createTime = util.formatTime(item.createTime) item.transportationTime = util.formatTime(item.transportationTime) item.validityPeriod = util.formatTime(item.validityPeriod) item.updateTime = item.updateTime == null ? "" : util.formatTime(item.updateTime) [代码] [代码] [代码] [代码] [代码] [代码]
2019-10-09