商城模块 微信模块优化

This commit is contained in:
hupeng
2020-02-24 16:28:51 +08:00
parent 4e3caff398
commit 38cc78b3e7
46 changed files with 408 additions and 404 deletions

View File

@ -49,6 +49,15 @@ public class OrderUtil {
return res;
}
/*
* 将时间戳转换为date
*/
public static Date stampToDateObj(String s){
long lt = new Long(s) * 1000;
Date date = new Date(lt);
return date;
}
/**
* 获取精确到秒的时间戳