首页接口数据优化,订单未支付返回剩余时间

This commit is contained in:
hupeng
2020-03-06 20:33:35 +08:00
parent ec903e4cdb
commit 529fc770ee
5 changed files with 22 additions and 4 deletions

View File

@ -49,6 +49,16 @@ public interface ShopConstants {
*/
String QQ_MAP_URL = "https://apis.map.qq.com/ws/geocoder/v1/";
/**
* redis首页键
*/
String YSHOP_REDIS_INDEX_KEY = "yshop_index_data";
/**
* redis首页过期时间 单位秒
*/
long YSHOP_REDIS_INDEX_KEY_EXPIRE = 7200;
}